edu.stanford.nlp.parser.lexparser
Class ParserData

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.ParserData
All Implemented Interfaces:
Serializable

public class ParserData
extends Object
implements Serializable

Stores the serialized material representing the grammar and lexicon of a parser, and an Options that specifies things like how unknown words were handled and how distances were binned that will also be needed to parse with the grammar.

Author:
Dan Klein, Christopher Manning
See Also:
Serialized Form

Field Summary
 BinaryGrammar bg
           
 DependencyGrammar dg
           
 Lexicon lex
           
 Options pt
           
 Index<String> stateIndex
           
 Index<String> tagIndex
           
 UnaryGrammar ug
           
 Index<String> wordIndex
           
 
Constructor Summary
ParserData(Lexicon lex, BinaryGrammar bg, UnaryGrammar ug, DependencyGrammar dg, Index<String> stateIndex, Index<String> wordIndex, Index<String> tagIndex, Options pt)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lex

public Lexicon lex

bg

public BinaryGrammar bg

ug

public UnaryGrammar ug

dg

public DependencyGrammar dg

stateIndex

public Index<String> stateIndex

wordIndex

public Index<String> wordIndex

tagIndex

public Index<String> tagIndex

pt

public Options pt
Constructor Detail

ParserData

public ParserData(Lexicon lex,
                  BinaryGrammar bg,
                  UnaryGrammar ug,
                  DependencyGrammar dg,
                  Index<String> stateIndex,
                  Index<String> wordIndex,
                  Index<String> tagIndex,
                  Options pt)


Stanford NLP Group