public class SampleEntity implements IntOpenRange
public 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)