Operates On: Lexical Items with TOKEN or SEMANTIC_TAG and other possible flags as specified below, but not on TEXT_BLOCK.
In version 1.2.2 this parameter was added:
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
No vertices are created in this stage
The resource data is a database of fragmented patterns, and the resulting semantic tags they produce.
The only required file is the entity dictionary. It is a series of JSON records, typically indexed by entity ID.
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
"_id" : "KGAAJGsBemSwA0nZTLXA", "tag":["recipe"], "pattern": "{number} {ingredient}", "options": { "minTokens": 3, "maxTokens": 2, "combination": true } "confAdjust":0.95 . . . additional fields as needed go here . . .
These will all be added to the interpretation graph with the SEMANTIC_TAG flag.
Tags are hierarchical representations of the same intent. For example, {city} → {administrative-area} → {geographical-area}
pattern ( type=string | required ) - Pattern to match in the content
_id ( type=string | required ) - Identifies the entity by unique ID. This identifier must be unique across all entries (across all dictionaries).
confAdjust ( type=boolean | required ) - Adjustment factor to apply to the confidence value of 0.0 to 2.0