Package ai.tock.nlp.core
Class Entity
-
- All Implemented Interfaces:
public final class EntityAn entity definition.
-
-
Field Summary
Fields Modifier and Type Field Description private final EntityTypeentityTypeprivate final Stringrole
-
Constructor Summary
Constructors Constructor Description Entity(EntityType entityType, String role)
-
Method Summary
Modifier and Type Method Description final EntityTypegetEntityType()Entity type definition. final StringgetRole()Role of the entity. -
-
Constructor Detail
-
Entity
Entity(EntityType entityType, String role)
-
-
Method Detail
-
getEntityType
final EntityType getEntityType()
Entity type definition.
-
-
-
-