edu.stanford.nlp.parser.prefixparser
Class PrefixProbabilityParserGenerator

java.lang.Object
  extended by edu.stanford.nlp.parser.prefixparser.PrefixProbabilityParserGenerator

public class PrefixProbabilityParserGenerator
extends java.lang.Object

A class that vends PrefixProbabilityParser instances. Trains grammar and lexicon models just once and vends arbitrary numbers of parsers.


Method Summary
static PrefixProbabilityParserGenerator getGenerator(Treebank trees, java.lang.String rootCategory)
           
 PrefixProbabilityParser getParser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGenerator

public static PrefixProbabilityParserGenerator getGenerator(Treebank trees,
                                                            java.lang.String rootCategory)

getParser

public PrefixProbabilityParser getParser()