public class IntentQualifier
Each allowed intent if ParseQuery.intentsSubset is set.
| Constructor and Description |
|---|
IntentQualifier(java.lang.String intent,
double modifier)
Each allowed intent if ParseQuery.intentsSubset is set.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The intent.
|
double |
component2()
The probability modifier.
|
IntentQualifier |
copy(java.lang.String intent,
double modifier)
Each allowed intent if ParseQuery.intentsSubset is set.
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getIntent()
The intent.
|
double |
getModifier()
The probability modifier.
|
int |
hashCode() |
java.lang.String |
toString() |
public IntentQualifier(@NotNull
java.lang.String intent,
double modifier)
Each allowed intent if ParseQuery.intentsSubset is set.
intent - The intent.modifier - The probability modifier.If positive, the probability of the intent is increased.If negative, the probability of the intent is decreased.@NotNull public java.lang.String getIntent()
The intent.
public double getModifier()
The probability modifier.
If positive, the probability of the intent is increased.If negative, the probability of the intent is decreased.
@NotNull public java.lang.String component1()
The intent.
public double component2()
The probability modifier.
If positive, the probability of the intent is increased.If negative, the probability of the intent is decreased.
@NotNull public IntentQualifier copy(@NotNull java.lang.String intent, double modifier)
Each allowed intent if ParseQuery.intentsSubset is set.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)