Configuration : Appendix - Semantic Resources Reference : Rule
 
Rule
com.exalead.mot.components.semanticextractor.Rule
A semantic extraction rule.
Parent elements:
com.exalead.mot.components.semanticextractor.SemanticExtractorConfig (as SemanticExtractorConfig)
Attributes:
Name
Type
Default value
Description
modifiedBy
string
modifiedAt
nullablelong
id
string
Unique rule reference. Only used by the GUI.
name
string
Rule name.
mode
enum(match, filter)
match
Rule mode.
pattern
string
Rule pattern
output
string
Rule output name.
unusedWordPolicy
string
Unused query word policy. If defined, overrides general value when this rule fires
trustLevel
int
100
Rule trust level. A percentage showing this rule's relevance compared to others.
language
string
Which language the rule must be applied to.
value
string
Rule value.