-
- 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 IntentContext.IntentContextKeykey()final Applicationcomponent1()final Localecomponent2()final NlpEngineTypecomponent3()final Stringcomponent4()final IntentContextcopy(Application application, Locale language, NlpEngineType engineType, String applicationName)final ApplicationgetApplication()LocalegetLanguage()NlpEngineTypegetEngineType()StringgetApplicationName()-
-
Method Detail
-
component1
final Application component1()
-
component2
final Locale component2()
-
component3
final NlpEngineType component3()
-
component4
final String component4()
-
copy
final IntentContext copy(Application application, Locale language, NlpEngineType engineType, String applicationName)
-
getApplication
final Application getApplication()
-
getLanguage
Locale getLanguage()
-
getEngineType
NlpEngineType getEngineType()
-
getApplicationName
String getApplicationName()
-
-
-
-