Package ai.tock.nlp.model
Class IntentContext
-
- All Implemented Interfaces:
-
ai.tock.nlp.model.ClassifierContext
public final class IntentContext implements ClassifierContext<IntentContext.IntentContextKey>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classIntentContext.IntentContextKey
-
Field Summary
Fields Modifier and Type Field Description private final Applicationapplicationprivate final Localelanguageprivate final NlpEngineTypeengineTypeprivate final StringapplicationName
-
Constructor Summary
Constructors Constructor Description IntentContext(CallContext callContext)IntentContext(TestContext testContext)IntentContext(BuildContext buildContext)IntentContext(Application application, Locale language, NlpEngineType engineType, String applicationName)
-
Method Summary
Modifier and Type Method Description final ApplicationgetApplication()LocalegetLanguage()NlpEngineTypegetEngineType()StringgetApplicationName()IntentContext.IntentContextKeykey()-
-
Method Detail
-
getApplication
final Application getApplication()
-
getLanguage
Locale getLanguage()
-
getEngineType
NlpEngineType getEngineType()
-
getApplicationName
String getApplicationName()
-
-
-
-