public class EntityDefinition
An entity is an class EntityTypeDefinition with a role.
class EntityTypeDefinitionpublic EntityDefinition(@NotNull
java.lang.String entityTypeName,
@NotNull
java.lang.String role,
@Nullable
java.lang.Boolean atStartOfDay)
An entity is an class EntityTypeDefinition with a role.
entityTypeName - The qualified name of the entity type.role - The role.atStartOfDay - To evaluate time for entity date types.class EntityTypeDefinitionpublic EntityDefinition(@NotNull
ai.tock.nlp.core.Entity entity)
@NotNull public java.lang.String getEntityTypeName()
The qualified name of the entity type.
@NotNull public java.lang.String getRole()
The role.
@Nullable public java.lang.Boolean getAtStartOfDay()
To evaluate time for entity date types.
@NotNull public java.lang.String component1()
The qualified name of the entity type.
@NotNull public java.lang.String component2()
The role.
@Nullable public java.lang.Boolean component3()
To evaluate time for entity date types.
@NotNull public EntityDefinition copy(@NotNull java.lang.String entityTypeName, @NotNull java.lang.String role, @Nullable java.lang.Boolean atStartOfDay)
An entity is an class EntityTypeDefinition with a role.
class EntityTypeDefinition@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)