Package ai.tock.nlp.core
Class EntityType
-
- All Implemented Interfaces:
public final class EntityTypeA type of entity.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final List<Entity>subEntitiesprivate final Booleandictionaryprivate final Booleanobfuscated
-
Method Summary
Modifier and Type Method Description final StringgetName()The qualified name of the entity (ie namespace:name) final List<Entity>getSubEntities()The sub entities of this entity if any. final BooleangetDictionary()Is the entity based on a dictionary (predefined set of data)? final BooleangetObfuscated()Is the entity has to be systematically obfuscated? final BooleanhasSubEntities()final EntityfindSubEntity(String role)Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
getSubEntities
final List<Entity> getSubEntities()
The sub entities of this entity if any.
-
getDictionary
final Boolean getDictionary()
Is the entity based on a dictionary (predefined set of data)?
-
getObfuscated
final Boolean getObfuscated()
Is the entity has to be systematically obfuscated?
-
hasSubEntities
final Boolean hasSubEntities()
-
findSubEntity
final Entity findSubEntity(String role)
-
-
-
-