Klasse MascWord

java.lang.Object
opennlp.tools.util.Span
opennlp.tools.formats.masc.MascWord
Alle implementierten Schnittstellen:
Serializable, Comparable<Span>

public class MascWord extends Span
Siehe auch:
  • Konstruktordetails

    • MascWord

      public MascWord(int s, int e, int id)
      Holds one of MASC's quarks, that is: basic-level units (may be sub-word).
      Parameter:
      s - The beginning of the word in the corpus file. Must be equal to or greater than 0.
      e - The end of the word in the corpus file. Must be equal to or greater than 0 and be greater than s.
      id - The id as assigned by the stand-off annotation.
      Löst aus:
      IllegalArgumentException - Thrown if one of the parameters are invalid.
  • Methodendetails

    • getId

      public int getId()