See: Description
Interface | Description |
---|---|
NCCustomElement |
Object returning from
NCCustomParser.parse(List) method indicating detected model element. |
NCCustomParser |
Custom user-defined model element parser.
|
NCCustomWord |
Custom token used in
NCCustomParser.parse(List) method. |
NCModel.getParser()
method.
By default the semantic data model detects its elements by their synonyms declared in the model. However, in some cases the synonyms (or the regular expressions) are simply not expressive enough. In such cases, a user-defined custom parser can be defined for the model that would allow the user to define its own logic to detect the model elements in the user input programmatically. Note that there can be only one custom parser per model and it can detect any number of model elements.
Copyright © 2013-2019 NLPCraft Project. All rights reserved.