|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
edu.stanford.nlp.parser.lexparser.TueBaDZParserParams
public class TueBaDZParserParams
TreebankLangParserParams for the German Tuebingen corpus.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams |
---|
AbstractTreebankParserParams.SubcategoryStripper |
Field Summary |
---|
Fields inherited from class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams |
---|
inputEncoding, outputEncoding, tlp |
Constructor Summary | |
---|---|
TueBaDZParserParams()
|
Method Summary | |
---|---|
TreeTransformer |
collinizer()
the tree transformer used to produce trees for evaluation. |
TreeTransformer |
collinizerEvalb()
the tree transformer used to produce trees for evaluation. |
List |
defaultTestSentence()
Returns the first sentence of TueBaDZ. |
DiskTreebank |
diskTreebank()
returns a DiskTreebank appropriate to the treebank source |
void |
display()
display language-specific settings |
HeadFinder |
headFinder()
returns a TueBaDZHeadFinder . |
MemoryTreebank |
memoryTreebank()
returns a MemoryTreebank appropriate to the treebank source |
int |
setOptionFlag(String[] args,
int i)
No options yet. |
String[] |
sisterSplitters()
Returns the splitting strings used for selective splits. |
Tree |
transformTree(Tree t,
Tree root)
A no-op right now. |
TreeReaderFactory |
treeReaderFactory()
Returns a factory for reading in trees from the source you want. |
Methods inherited from class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams |
---|
dependencyGrammarExtractor, dependencyObjectify, getInputEncoding, getOutputEncoding, lex, lex, MLEDependencyGrammarSmoothingParams, parsevalObjectify, parsevalObjectify, pw, pw, setInputEncoding, setOutputEncoding, subcategoryStripper, testMemoryTreebank, treebankLanguagePack, treeTokenizerFactory, typedDependencyClasser, typedDependencyObjectify, untypedDependencyObjectify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TueBaDZParserParams()
Method Detail |
---|
public List defaultTestSentence()
public String[] sisterSplitters()
AbstractTreebankParserParams
sisterSplitters
in interface TreebankLangParserParams
sisterSplitters
in class AbstractTreebankParserParams
public TreeTransformer collinizer()
AbstractTreebankParserParams
collinizer
in interface TreebankLangParserParams
collinizer
in class AbstractTreebankParserParams
public TreeTransformer collinizerEvalb()
AbstractTreebankParserParams
collinizerEvalb
in interface TreebankLangParserParams
collinizerEvalb
in class AbstractTreebankParserParams
public MemoryTreebank memoryTreebank()
AbstractTreebankParserParams
memoryTreebank
in interface TreebankLangParserParams
memoryTreebank
in class AbstractTreebankParserParams
public DiskTreebank diskTreebank()
TreebankLangParserParams
public TreeReaderFactory treeReaderFactory()
TreebankLangParserParams
public int setOptionFlag(String[] args, int i)
setOptionFlag
in interface TreebankLangParserParams
setOptionFlag
in class AbstractTreebankParserParams
args
- Array of command line argumentsi
- Index in command line arguments to try to process as an option
public void display()
AbstractTreebankParserParams
display
in interface TreebankLangParserParams
display
in class AbstractTreebankParserParams
public HeadFinder headFinder()
TueBaDZHeadFinder
.
headFinder
in interface TreebankLangParserParams
headFinder
in class AbstractTreebankParserParams
public Tree transformTree(Tree t, Tree root)
transformTree
in interface TreebankLangParserParams
transformTree
in class AbstractTreebankParserParams
t
- The input tree (with non-language specific annotation already
done, so you need to strip back to basic categories)root
- The root of the current tree (can be null for words)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |