Classes | |
class | Engine |
Responsible for creation of Parser instances. More... | |
struct | Entity |
struct | Intent |
class | Parser |
Process text into intent and entities using Natural Language Understanding techniques. More... | |
struct | Result |
Typedefs | |
using | EnginePtr = std::shared_ptr< Engine > |
using | ParserPtr = std::shared_ptr< Parser > |
using | EntityVector = std::vector< Entity > |
Enumerations | |
enum | ParserEventCode |
enum | ParserErrorCode { ParserErrorCode::UNEXPECTED_ERROR, ParserErrorCode::ALREADY_IN_PROGRESS } |
Functions | |
void | to_json (nlohmann::json &j, Intent const &intent) |
Serializes an Intent to a JSON format. More... | |
void | to_json (nlohmann::json &j, Entity const &entity) |
Serializes an Entity to a JSON format. More... | |
void | to_json (nlohmann::json &j, Result const &result) |
Serializes a Result to a JSON format. More... | |
void | from_json (nlohmann::json const &j, Intent &intent) |
Deserializes an Intent from a JSON format. More... | |
void | from_json (nlohmann::json const &j, Entity &entity) |
Deserializes an Entity from a JSON format. More... | |
void | from_json (nlohmann::json const &j, Result &result) |
Deserializes a Result from a JSON format. More... | |
using Vsdk::Nlu::EnginePtr = typedef std::shared_ptr<Engine> |
using Vsdk::Nlu::ParserPtr = typedef std::shared_ptr<Parser> |
using Vsdk::Nlu::EntityVector = typedef std::vector<Entity> |
|
strong |
|
strong |
void Vsdk::Nlu::to_json | ( | nlohmann::json & | j, |
Intent const & | intent | ||
) |
Serializes an Intent
to a JSON format.
void Vsdk::Nlu::to_json | ( | nlohmann::json & | j, |
Entity const & | entity | ||
) |
Serializes an Entity
to a JSON format.
void Vsdk::Nlu::to_json | ( | nlohmann::json & | j, |
Result const & | result | ||
) |
Serializes a Result
to a JSON format.
void Vsdk::Nlu::from_json | ( | nlohmann::json const & | j, |
Intent & | intent | ||
) |
Deserializes an Intent
from a JSON format.
void Vsdk::Nlu::from_json | ( | nlohmann::json const & | j, |
Entity & | entity | ||
) |
Deserializes an Entity
from a JSON format.