edu.stanford.nlp.trees
Class LabeledScoredConstituentFactory
java.lang.Object
|
+--edu.stanford.nlp.trees.LabeledScoredConstituentFactory
- All Implemented Interfaces:
- ConstituentFactory
- public class LabeledScoredConstituentFactory
- extends Object
- implements ConstituentFactory
A LabeledScoredConstituentFactory
acts as a factory for
creating objects of class LabeledScoredConstituent
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LabeledScoredConstituentFactory
public LabeledScoredConstituentFactory()
newConstituent
public Constituent newConstituent(int start,
int end)
- Specified by:
newConstituent
in interface ConstituentFactory
newConstituent
public Constituent newConstituent(int start,
int end,
Label label,
double score)
- Specified by:
newConstituent
in interface ConstituentFactory
Stanford NLP Group