edu.stanford.nlp.fsm
Class ExactGrammarCompactor
java.lang.Object
edu.stanford.nlp.parser.lexparser.GrammarCompactor
edu.stanford.nlp.fsm.ExactGrammarCompactor
public class ExactGrammarCompactor
- extends GrammarCompactor
- Author:
- Teg Grenager (grenager@cs.stanford.edu)
Methods inherited from class edu.stanford.nlp.parser.lexparser.GrammarCompactor |
addOneBinaryRule, addOneUnaryRule, compactGrammar, compactGrammar, computeInputPrior, convertGrammarToGraphs, convertGraphsToGrammar, getGraphFromMap, getTopCategoryOfSyntheticState, isSyntheticState, writeFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExactGrammarCompactor
public ExactGrammarCompactor(boolean saveGraphs,
boolean verbose)
doCompaction
protected TransducerGraph doCompaction(TransducerGraph graph,
List l1,
List l3)
- Specified by:
doCompaction
in class GrammarCompactor
Stanford NLP Group