Package ai.tock.nlp.core.sample
Class SampleEntity
-
- All Implemented Interfaces:
-
ai.tock.nlp.core.IntOpenRange,kotlin.Comparable
public final class SampleEntity implements IntOpenRange
-
-
Field Summary
Fields Modifier and Type Field Description private final Entitydefinitionprivate final List<SampleEntity>subEntitiesprivate final Integerstartprivate final Integerend
-
Constructor Summary
Constructors Constructor Description SampleEntity(Entity definition, List<SampleEntity> subEntities, Integer start, Integer end)
-
Method Summary
Modifier and Type Method Description final EntitygetDefinition()final List<SampleEntity>getSubEntities()IntegergetStart()IntegergetEnd()final BooleanisType(EntityType entityType)-
-
Constructor Detail
-
SampleEntity
SampleEntity(Entity definition, List<SampleEntity> subEntities, Integer start, Integer end)
-
-
Method Detail
-
getDefinition
final Entity getDefinition()
-
getSubEntities
final List<SampleEntity> getSubEntities()
-
isType
final Boolean isType(EntityType entityType)
-
-
-
-