Process text into intent and entities using Natural Language Understanding techniques. More...
Public Member Functions | |
| virtual | ~Parser ()=default |
| auto | name () const -> std::string const & |
| Name of this particular Parser instance. More... | |
| virtual void | process (std::string const &text)=0 |
Parse text into an intent / entities result. More... | |
Protected Member Functions | |
| Parser (std::string name) noexcept | |
| virtual void | configure (nlohmann::json const &) |
| void | dispatchEvent (EventCode code, std::string message, std::chrono::milliseconds time) |
| void | dispatchError (ErrorType type, ErrorCode code, std::string message=std::string()) |
Protected Attributes | |
| std::string | _name |
Process text into intent and entities using Natural Language Understanding techniques.
|
explicitprotectednoexcept |
|
virtualdefault |
| auto Parser::name | ( | ) | const -> std::string const & |
Name of this particular Parser instance.
|
pure virtual |
Parse text into an intent / entities result.
| text | The text you want to process |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |