Package opennlp.tools.parser
Class Constituent
java.lang.Object
opennlp.tools.parser.Constituent
Holds constituents when reading
parses
.- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Constituent
-
-
Method Details
-
getLabel
Returns the label of the constituent.- Returns:
- the label of the constituent.
-
setLabel
Assigns the label to the constituent.- Parameters:
label
- The label to set.
-
getSpan
Returns the span of the constituent.- Returns:
- the span of the constituent.
-