-
public final class NlpQueryA NLP parse query.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<String>queriesprivate final Stringnamespaceprivate final StringapplicationNameprivate final NlpQueryContextcontextprivate final NlpQueryStatestateprivate final Set<NlpIntentQualifier>intentsSubset
-
Constructor Summary
Constructors Constructor Description NlpQuery(List<String> queries, String namespace, String applicationName, NlpQueryContext context, NlpQueryState state, Set<NlpIntentQualifier> intentsSubset)
-
Method Summary
Modifier and Type Method Description final List<String>component1()final Stringcomponent2()final Stringcomponent3()final NlpQueryContextcomponent4()final NlpQueryStatecomponent5()final Set<NlpIntentQualifier>component6()final NlpQuerycopy(List<String> queries, String namespace, String applicationName, NlpQueryContext context, NlpQueryState state, Set<NlpIntentQualifier> intentsSubset)final List<String>getQueries()A list of queries to parse. final StringgetNamespace()The namespace of the application. final StringgetApplicationName()The name of the application. final NlpQueryContextgetContext()The context of the query. final NlpQueryStategetState()The state of the query. final Set<NlpIntentQualifier>getIntentsSubset()The query is restricted to the specified intents only. -
-
Constructor Detail
-
NlpQuery
NlpQuery(List<String> queries, String namespace, String applicationName, NlpQueryContext context, NlpQueryState state, Set<NlpIntentQualifier> intentsSubset)
-
-
Method Detail
-
component1
final List<String> component1()
-
component2
final String component2()
-
component3
final String component3()
-
component4
final NlpQueryContext component4()
-
component5
final NlpQueryState component5()
-
component6
final Set<NlpIntentQualifier> component6()
-
copy
final NlpQuery copy(List<String> queries, String namespace, String applicationName, NlpQueryContext context, NlpQueryState state, Set<NlpIntentQualifier> intentsSubset)
-
getQueries
final List<String> getQueries()
A list of queries to parse. Usually there is only one element in the list, but some STT engines provides alternatives.
-
getNamespace
final String getNamespace()
The namespace of the application.
-
getApplicationName
final String getApplicationName()
The name of the application.
-
getContext
final NlpQueryContext getContext()
The context of the query.
-
getState
final NlpQueryState getState()
The state of the query.
-
getIntentsSubset
final Set<NlpIntentQualifier> getIntentsSubset()
The query is restricted to the specified intents only. If the set is empty all intents of the application are allowed.
-
-
-
-