|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
Parser parameters for the Penn English Treebank (WSJ, Brown, Switchboard)
Constructor Summary | |
EnglishTreebankParserParams()
|
Method Summary | |
TreeTransformer |
collinizer()
the tree transformer used to produce trees for evaluation. |
TreeTransformer |
collinizerEvalb()
|
void |
display()
display language-specific settings |
HeadFinder |
headFinder()
|
edu.stanford.nlp.parser.lexparser.Lexicon |
lex()
reads in trees from the source you want. |
MemoryTreebank |
memoryTreebank()
Reads in trees from the source you want. |
PrintWriter |
pw()
the PrintWriter used to print output. |
PrintWriter |
pw(OutputStream o)
the PrintWriter used to print output to OutputStream o. |
void |
setInputEncoding(String encoding)
|
int |
setOptionFlag(String[] args,
int i)
Set language-specific options according to flags. |
void |
setOutputEncoding(String encoding)
|
String[] |
sisterSplitters()
Returns the splitting strings used for selective splits. |
String[] |
splitters()
Returns the splitting strings used for selective splits. |
MemoryTreebank |
testMemoryTreebank()
returns a MemoryTreebank appropriate to the testing treebank source |
edu.stanford.nlp.parser.lexparser.TreeHeadPair |
transformTree(Tree t,
Tree root,
edu.stanford.nlp.parser.lexparser.TreeHeadPair thp)
transformTree does language-specific tree transformations such as splicing. |
TreebankLanguagePack |
treebankLanguagePack()
contains Treebank-specific (but not parser-specific) info such as what is punctuation, and also information about the structure of labels |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EnglishTreebankParserParams()
Method Detail |
public void setInputEncoding(String encoding)
setInputEncoding
in interface TreebankLangParserParams
public void setOutputEncoding(String encoding)
setOutputEncoding
in interface TreebankLangParserParams
public HeadFinder headFinder()
headFinder
in interface TreebankLangParserParams
public MemoryTreebank memoryTreebank()
memoryTreebank
in interface TreebankLangParserParams
public MemoryTreebank testMemoryTreebank()
testMemoryTreebank
in interface TreebankLangParserParams
public edu.stanford.nlp.parser.lexparser.Lexicon lex()
TreebankLangParserParams
lex
in interface TreebankLangParserParams
public TreeTransformer collinizer()
collinizer
in interface TreebankLangParserParams
public TreeTransformer collinizerEvalb()
collinizerEvalb
in interface TreebankLangParserParams
public TreebankLanguagePack treebankLanguagePack()
treebankLanguagePack
in interface TreebankLangParserParams
public PrintWriter pw()
pw
in interface TreebankLangParserParams
public PrintWriter pw(OutputStream o)
pw
in interface TreebankLangParserParams
public String[] splitters()
TreebankLangParserParams
splitters
in interface TreebankLangParserParams
public String[] sisterSplitters()
TreebankLangParserParams
sisterSplitters
in interface TreebankLangParserParams
public edu.stanford.nlp.parser.lexparser.TreeHeadPair transformTree(Tree t, Tree root, edu.stanford.nlp.parser.lexparser.TreeHeadPair thp)
transformTree
in interface TreebankLangParserParams
public void display()
TreebankLangParserParams
display
in interface TreebankLangParserParams
public int setOptionFlag(String[] args, int i)
setOptionFlag
in interface TreebankLangParserParams
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |