Package com.vivoka.vsdk.nlu.result
Class Result
java.lang.Object
com.vivoka.vsdk.nlu.result.Result
Represents the NLU (Natural Language Understanding) result.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Result
-
-
Method Details
-
toString
-
toJson
- Returns:
- The JSON object representation of the NLU result.
- Throws:
Exception- If failed to convert the NLU result to a JSON object.
-
getLang
- Returns:
- The language of the NLU result.
-
getOriginalSentence
- Returns:
- The original sentence of the NLU result.
-
getIntent
- Returns:
- The intent of the NLU result.
-
getEntities
- Returns:
- The entities of the NLU result.
-