edu.stanford.nlp.fsm
Class ExactGrammarCompactor

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.GrammarCompactor
      extended by edu.stanford.nlp.fsm.ExactGrammarCompactor

public class ExactGrammarCompactor
extends GrammarCompactor

Author:
Teg Grenager (grenager@cs.stanford.edu)

Field Summary
 
Fields inherited from class edu.stanford.nlp.parser.lexparser.GrammarCompactor
inputPrior, newStateNumberer, NORMALIZED_LOG_PROBABILITIES, outputType, RAW_COUNTS, stateNumberer, stateSpace, verbose
 
Constructor Summary
ExactGrammarCompactor(boolean saveGraphs, boolean verbose)
           
 
Method Summary
protected  TransducerGraph doCompaction(TransducerGraph graph, List l1, List l3)
           
 
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
 

Constructor Detail

ExactGrammarCompactor

public ExactGrammarCompactor(boolean saveGraphs,
                             boolean verbose)
Method Detail

doCompaction

protected TransducerGraph doCompaction(TransducerGraph graph,
                                       List l1,
                                       List l3)
Specified by:
doCompaction in class GrammarCompactor


Stanford NLP Group