edu.stanford.nlp.parser.lexparser
Class BinaryGrammarExtractor
java.lang.Object
edu.stanford.nlp.parser.lexparser.AbstractTreeExtractor
edu.stanford.nlp.parser.lexparser.BinaryGrammarExtractor
- All Implemented Interfaces:
- Extractor
public class BinaryGrammarExtractor
- extends AbstractTreeExtractor
Methods inherited from class edu.stanford.nlp.parser.lexparser.AbstractTreeExtractor |
extract, extract, extract, extract, tallyLeaf, tallyLocalTree, tallyPreTerminal, tallyRoot, tallyTree, tallyTreeIterator, tallyTrees |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stateNumberer
protected Numberer stateNumberer
BinaryGrammarExtractor
public BinaryGrammarExtractor()
tallyRule
protected void tallyRule(Rule r,
double score)
tallyInternalNode
protected void tallyInternalNode(Tree lt)
- Overrides:
tallyInternalNode
in class AbstractTreeExtractor
formResult
public Object formResult()
- Overrides:
formResult
in class AbstractTreeExtractor
Stanford NLP Group