public class Intent
An intent is defined by an unique name.
@NotNull public static java.lang.String UNKNOWN_INTENT_NAME
public static ai.tock.nlp.core.Intent.Companion Companion
public Intent(@NotNull
java.lang.String name,
@NotNull
java.util.List<ai.tock.nlp.core.Entity> entities,
@NotNull
java.util.Map<java.util.Locale,? extends java.util.LinkedHashSet<ai.tock.nlp.core.EntitiesRegexp>> entitiesRegexp)
An intent is defined by an unique name.
public boolean hasEntity(@NotNull
EntityType entityType,
@NotNull
java.lang.String role)
@NotNull public Entity getEntity(@NotNull java.lang.String role)
public boolean equals(@Nullable
java.lang.Object other)
public int hashCode()
@NotNull public java.lang.String getName()
@NotNull public java.util.List<ai.tock.nlp.core.Entity> getEntities()
@NotNull public java.util.Map<java.util.Locale,java.util.LinkedHashSet> getEntitiesRegexp()
@NotNull public java.lang.String component1()
@NotNull public java.util.List<ai.tock.nlp.core.Entity> component2()
@NotNull public java.util.Map<java.util.Locale,java.util.LinkedHashSet> component3()
@NotNull public Intent copy(@NotNull java.lang.String name, @NotNull java.util.List<ai.tock.nlp.core.Entity> entities, @NotNull java.util.Map<java.util.Locale,? extends java.util.LinkedHashSet<ai.tock.nlp.core.EntitiesRegexp>> entitiesRegexp)
An intent is defined by an unique name.
@NotNull public java.lang.String toString()
An intent is defined by an unique name.