public class ParseQuery
A NLP parse query.
public ParseQuery(@NotNull
java.util.List<java.lang.String> queries,
@NotNull
java.lang.String namespace,
@NotNull
java.lang.String applicationName,
@NotNull
QueryContext context,
@NotNull
QueryState state,
@NotNull
java.util.Set<ai.tock.nlp.front.shared.parser.IntentQualifier> intentsSubset)
A NLP parse query.
queries - A list of queries to parse.Usually there is only one element in the list, but some STT engines provides alternatives.namespace - The namespace of the application.applicationName - The name of the application.context - The context of the query.state - The state of the query.intentsSubset - The query is restricted to the specified intents only.If the set is empty, all intents of the application are allowed.@NotNull public java.util.List<java.lang.String> getQueries()
A list of queries to parse.
Usually there is only one element in the list, but some STT engines provides alternatives.
@NotNull public java.lang.String getNamespace()
The namespace of the application.
@NotNull public java.lang.String getApplicationName()
The name of the application.
@NotNull public QueryContext getContext()
The context of the query.
@NotNull public QueryState getState()
The state of the query.
@NotNull public java.util.Set<ai.tock.nlp.front.shared.parser.IntentQualifier> getIntentsSubset()
The query is restricted to the specified intents only.
If the set is empty, all intents of the application are allowed.
@NotNull public java.util.List<java.lang.String> component1()
A list of queries to parse.
Usually there is only one element in the list, but some STT engines provides alternatives.
@NotNull public java.lang.String component2()
The namespace of the application.
@NotNull public java.lang.String component3()
The name of the application.
@NotNull public QueryContext component4()
The context of the query.
@NotNull public QueryState component5()
The state of the query.
@NotNull public java.util.Set<ai.tock.nlp.front.shared.parser.IntentQualifier> component6()
The query is restricted to the specified intents only.
If the set is empty, all intents of the application are allowed.
@NotNull public ParseQuery copy(@NotNull java.util.List<java.lang.String> queries, @NotNull java.lang.String namespace, @NotNull java.lang.String applicationName, @NotNull QueryContext context, @NotNull QueryState state, @NotNull java.util.Set<ai.tock.nlp.front.shared.parser.IntentQualifier> intentsSubset)
A NLP parse query.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)