Interface Span

All Superinterfaces:
Cloneable, Marking
All Known Subinterfaces:
MeaningSpan, ScoredSpan, TypedSpan
All Known Implementing Classes:
NamedEntity, ScoredNamedEntity, ScoredSpanImpl, ScoredTypedNamedEntity, SpanImpl, TypedNamedEntity, TypedSpanImpl

public interface Span extends Marking
A Span marks a position inside a text.
Author:
Michael Röder (roeder@informatik.uni-leipzig.de)
  • Method Details

    • getStartPosition

      int getStartPosition()
    • setStartPosition

      void setStartPosition(int startPosition)
    • getLength

      int getLength()
    • setLength

      void setLength(int length)
    • setIsWord

      void setIsWord(boolean isWord)
    • getIsWord

      boolean getIsWord()