-
- All Implemented Interfaces:
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>intentsSubsetprivate final Stringconfiguration
-
Constructor Summary
Constructors Constructor Description NlpQuery(List<String> queries, String namespace, String applicationName, NlpQueryContext context, NlpQueryState state, Set<NlpIntentQualifier> intentsSubset, String configuration)
-
Method Summary
Modifier and Type Method Description 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. final StringgetConfiguration()Returns the result only for sentences of this configuration. -
-
Constructor Detail
-
NlpQuery
NlpQuery(List<String> queries, String namespace, String applicationName, NlpQueryContext context, NlpQueryState state, Set<NlpIntentQualifier> intentsSubset, String configuration)
-
-
Method Detail
-
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.
-
getConfiguration
final String getConfiguration()
Returns the result only for sentences of this configuration.
-
-
-
-