Java edu.stanford.nlp.parser.lexparser LexicalizedParser fields, constructors, methods, implement or subclass

Example usage for Java edu.stanford.nlp.parser.lexparser LexicalizedParser fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for edu.stanford.nlp.parser.lexparser LexicalizedParser.

The text is from its open source code.

Subclass

edu.stanford.nlp.parser.lexparser.LexicalizedParser has subclasses.
Click this link to see all its subclasses.

Field

Method

Treeapply(List words)
Parses the list of HasWord.
OptionsgetOp()
LexicalizedParsergetParserFromSerializedFile(String serializedFileOrUrl)
TreebankLangParserParamsgetTLPParams()
TreePrintgetTreePrint()
Return a TreePrint for formatting parsed output trees.
LexicalizedParserloadModel(ObjectInputStream ois)
Reads one object from the given ObjectInputStream, which is assumed to be a LexicalizedParser.
LexicalizedParserloadModel()
Construct a new LexicalizedParser object from a previously serialized grammar read from a System property edu.stanford.nlp.SerializedLexicalizedParser , or a default classpath location ( edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz ).
LexicalizedParserloadModel(Options op, String... extraFlags)
Construct a new LexicalizedParser object from a previously serialized grammar read from a System property edu.stanford.nlp.SerializedLexicalizedParser , or a default classpath location ( edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz ).
LexicalizedParserloadModel(String parserFileOrUrl, String... extraFlags)
LexicalizedParserloadModel(String parserFileOrUrl, List extraFlags)
Treeparse(List lst)
Parses the list of HasWord.
ParserQueryparserQuery()
TreeparseTree(List sentence)
Similar to parse(), but instead of returning an X tree on failure, returns null.
voidsaveParserToSerialized(String filename)
Saves the parser defined by pd to the given filename.
voidsaveParserToTextFile(String filename)
Saves the parser defined by pd to the given filename.
voidsetOptionFlags(String... flags)
This will set options to the parser, in a way exactly equivalent to passing in the same sequence of command-line arguments.
TreebankLanguagePacktreebankLanguagePack()