edu.stanford.nlp.trees
Interface ConstituentFactory

All Known Implementing Classes:
LabeledScoredConstituentFactory, SimpleConstituentFactory

public interface ConstituentFactory

A ConstituentFactory is a factory for creating objects of class Constituent, or some descendent class. An interface.


Method Summary
 Constituent newConstituent(int start, int end)
           
 Constituent newConstituent(int start, int end, Label label, double score)
           
 

Method Detail

newConstituent

public Constituent newConstituent(int start,
                                  int end)

newConstituent

public Constituent newConstituent(int start,
                                  int end,
                                  Label label,
                                  double score)


Stanford NLP Group