public class SampleEntity implements IntOpenRange
IntOpenRange.DefaultImpls| Constructor and Description |
|---|
SampleEntity(Entity definition,
java.util.List<ai.tock.nlp.core.sample.SampleEntity> subEntities,
int start,
int end) |
| Modifier and Type | Method and Description |
|---|---|
Entity |
component1() |
java.util.List<ai.tock.nlp.core.sample.SampleEntity> |
component2() |
int |
component3() |
int |
component4() |
SampleEntity |
copy(Entity definition,
java.util.List<ai.tock.nlp.core.sample.SampleEntity> subEntities,
int start,
int end) |
boolean |
equals(java.lang.Object p) |
Entity |
getDefinition() |
int |
getEnd() |
int |
getStart() |
java.util.List<ai.tock.nlp.core.sample.SampleEntity> |
getSubEntities() |
int |
hashCode() |
boolean |
isType(EntityType entityType) |
java.lang.String |
toString() |
compareTo, getEnd, getStart, isSameRange, overlap, overlap, size, textValuepublic SampleEntity(@NotNull
Entity definition,
@NotNull
java.util.List<ai.tock.nlp.core.sample.SampleEntity> subEntities,
int start,
int end)
public boolean isType(@NotNull
EntityType entityType)
@NotNull public Entity getDefinition()
@NotNull public java.util.List<ai.tock.nlp.core.sample.SampleEntity> getSubEntities()
public int getStart()
public int getEnd()
@NotNull public Entity component1()
@NotNull public java.util.List<ai.tock.nlp.core.sample.SampleEntity> component2()
public int component3()
public int component4()
@NotNull public SampleEntity copy(@NotNull Entity definition, @NotNull java.util.List<ai.tock.nlp.core.sample.SampleEntity> subEntities, int start, int end)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)