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