Klasse Constituent

java.lang.Object
opennlp.tools.parser.Constituent

public class Constituent extends Object
Holds constituents when reading parses.
Siehe auch:
  • Konstruktordetails

    • Constituent

      public Constituent(String label, Span span)
  • Methodendetails

    • getLabel

      public String getLabel()
      Returns the label of the constituent.
      Gibt zurück:
      the label of the constituent.
    • setLabel

      public void setLabel(String label)
      Assigns the label to the constituent.
      Parameter:
      label - The label to set.
    • getSpan

      public Span getSpan()
      Returns the span of the constituent.
      Gibt zurück:
      the span of the constituent.