public class MarkAsUnknownQuery
Informs the nlp model that a sentence has not been understood.
| Constructor and Description |
|---|
MarkAsUnknownQuery(java.lang.String namespace,
java.lang.String applicationName,
java.util.Locale language,
java.lang.String text)
Informs the nlp model that a sentence has not been understood.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The namespace of the application.
|
java.lang.String |
component2()
The name of the application.
|
java.util.Locale |
component3()
The language of the query.
|
java.lang.String |
component4()
The sentence to mark
|
MarkAsUnknownQuery |
copy(java.lang.String namespace,
java.lang.String applicationName,
java.util.Locale language,
java.lang.String text)
Informs the nlp model that a sentence has not been understood.
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getApplicationName()
The name of the application.
|
java.util.Locale |
getLanguage()
The language of the query.
|
java.lang.String |
getNamespace()
The namespace of the application.
|
java.lang.String |
getText()
The sentence to mark
|
int |
hashCode() |
java.lang.String |
toString() |
public MarkAsUnknownQuery(@NotNull
java.lang.String namespace,
@NotNull
java.lang.String applicationName,
@NotNull
java.util.Locale language,
@NotNull
java.lang.String text)
Informs the nlp model that a sentence has not been understood.
namespace - The namespace of the application.applicationName - The name of the application.language - The language of the query.text - The sentence to mark@NotNull public java.lang.String getNamespace()
The namespace of the application.
@NotNull public java.lang.String getApplicationName()
The name of the application.
@NotNull public java.util.Locale getLanguage()
The language of the query.
@NotNull public java.lang.String getText()
The sentence to mark
@NotNull public java.lang.String component1()
The namespace of the application.
@NotNull public java.lang.String component2()
The name of the application.
@NotNull public java.util.Locale component3()
The language of the query.
@NotNull public java.lang.String component4()
The sentence to mark
@NotNull public MarkAsUnknownQuery copy(@NotNull java.lang.String namespace, @NotNull java.lang.String applicationName, @NotNull java.util.Locale language, @NotNull java.lang.String text)
Informs the nlp model that a sentence has not been understood.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)