Skip navigation links
NLPCraft 0.7.2

Package org.nlpcraft.model.parsing

Contains custom user-defined model element parser.

See: Description

Package org.nlpcraft.model.parsing Description

Contains custom user-defined model element parser. Optional custom parser is available in the model via 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.

Skip navigation links
NLPCraft 0.7.2 Examples Star Fork

Copyright © 2013-2019 NLPCraft Project. All rights reserved.