-
- All Implemented Interfaces:
public final class ParseQueryA NLP parse query.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<String>queriesprivate final Stringnamespaceprivate final StringapplicationNameprivate final QueryContextcontextprivate final QueryStatestateprivate final Set<IntentQualifier>intentsSubset
-
Constructor Summary
Constructors Constructor Description ParseQuery(List<String> queries, String namespace, String applicationName, QueryContext context, QueryState state, Set<IntentQualifier> intentsSubset)
-
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 QueryContextgetContext()The context of the query. final QueryStategetState()The state of the query. final Set<IntentQualifier>getIntentsSubset()The query is restricted to the specified intents only. -
-
Constructor Detail
-
ParseQuery
ParseQuery(List<String> queries, String namespace, String applicationName, QueryContext context, QueryState state, Set<IntentQualifier> intentsSubset)
-
-
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 QueryContext getContext()
The context of the query.
-
getState
final QueryState getState()
The state of the query.
-
getIntentsSubset
final Set<IntentQualifier> getIntentsSubset()
The query is restricted to the specified intents only. If the set is empty, all intents of the application are allowed.
-
-
-
-