public class SentenceDump
public SentenceDump(@NotNull
java.lang.String text,
@NotNull
java.lang.String intent,
@NotNull
java.util.List<ai.tock.nlp.api.client.model.dump.SentenceEntityDump> entities,
@Nullable
java.util.Locale language,
@NotNull
ClassifiedSentenceStatus status)
language - If null and if SentencesDump.language is also null, an error will be thrown.@NotNull public java.lang.String getText()
@NotNull public java.lang.String getIntent()
@NotNull public java.util.List<ai.tock.nlp.api.client.model.dump.SentenceEntityDump> getEntities()
@Nullable public java.util.Locale getLanguage()
If null and if
SentencesDump.language is also null, an error will be thrown.
@NotNull public ClassifiedSentenceStatus getStatus()
@NotNull public java.lang.String component1()
@NotNull public java.lang.String component2()
@NotNull public java.util.List<ai.tock.nlp.api.client.model.dump.SentenceEntityDump> component3()
@Nullable public java.util.Locale component4()
If null and if
SentencesDump.language is also null, an error will be thrown.
@NotNull public ClassifiedSentenceStatus component5()
@NotNull public SentenceDump copy(@NotNull java.lang.String text, @NotNull java.lang.String intent, @NotNull java.util.List<ai.tock.nlp.api.client.model.dump.SentenceEntityDump> entities, @Nullable java.util.Locale language, @NotNull ClassifiedSentenceStatus status)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)