Configuration : Appendix - Semantic Resources Reference : FloatingPointEntity
 
FloatingPointEntity
com.exalead.mot.components.semanticextractor.FloatingPointEntity
Matches floating-point numbers
Parent elements:
com.exalead.mot.components.semanticextractor.SemanticExtractorConfig (as SemanticExtractorConfig)
Attributes:
Name
Type
Default value
Description
unit
string
An optional condition on right context
rightContext
string
Alias for unit
trigger
string
An optional left context triggering the match
leftContext
string
Alias for trigger
annotation
string
The annotation set in case of a match
display
string
The annotation value in case of a match
matchMode
string
normalized
Match level
name
string
Unique entity reference. Only used by the GUI.
modifiedBy
string
modifiedAt
nullablelong
step
double
If defined, normalizes the value to the nearest step
min
double
-2147483648
Minimum value for a match
max
double
2147483647
Maximum value for a match
coefficient
double
1
The normalization coefficient used to multiply the matched value
precision
int
2
The floating-point precision in output
handleOutOfBoundValues
boolean
True
If false, ignores values lower than min or greater than max
addExactValue
boolean
If true, adds the original value (before normalization) in an extra annotation TAG.exact
truncateTrailingZeros
boolean
If true, removes the trailing zeros after point
Nested elements:
Name
Type
Description
units
exa.bee.StringValue*
An optional list of conditions on right context
rightContexts
exa.bee.StringValue*
Alias for units
triggers
exa.bee.StringValue*
An optional list of left contexts triggering the match
leftContexts
exa.bee.StringValue*
Alias for triggers