vsdk 7.3.2
 
Loading...
Searching...
No Matches
Vsdk::Nlu::Entity

#include <Result.hpp>

Public Attributes

std::string name
 Name of the entity has specified during training.
 
std::string value
 Value associated with this entity.
 
float confidence = 0.f
 Confidence score for this entity between 0 and 1.
 
std::size_t startIndex = 0
 Character index at which the entity starts in the sentence.
 
std::size_t endIndex = 0
 Character index at which the entity stops in the sentence.
 

Member Data Documentation

◆ name

std::string Vsdk::Nlu::Entity::name

Name of the entity has specified during training.

◆ value

std::string Vsdk::Nlu::Entity::value

Value associated with this entity.

◆ confidence

float Vsdk::Nlu::Entity::confidence = 0.f

Confidence score for this entity between 0 and 1.

◆ startIndex

std::size_t Vsdk::Nlu::Entity::startIndex = 0

Character index at which the entity starts in the sentence.

◆ endIndex

std::size_t Vsdk::Nlu::Entity::endIndex = 0

Character index at which the entity stops in the sentence.