|
|||||||||
| 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.NegraPennTreebankParserParams
public class NegraPennTreebankParserParams
Parameter file for parsing the Penn Treebank format of the Negra Treebank (German). STILL UNDER CONSTRUCTION!
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams |
|---|
AbstractTreebankParserParams.AnnotatePunctuationFunction, AbstractTreebankParserParams.RemoveGFSubcategoryStripper, AbstractTreebankParserParams.SubcategoryStripper |
| Field Summary |
|---|
| Fields inherited from class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams |
|---|
evalGF, inputEncoding, outputEncoding, tlp |
| Constructor Summary | |
|---|---|
NegraPennTreebankParserParams()
|
|
| Method Summary | |
|---|---|
TreeTransformer |
collinizer()
returns a NegraPennCollinizer |
TreeTransformer |
collinizerEvalb()
returns a NegraPennCollinizer |
java.util.List<? extends HasWord> |
defaultTestSentence()
Return a default sentence for the language (for testing) |
DiskTreebank |
diskTreebank()
returns a DiskTreebank appropriate to the treebank source |
void |
display()
display language-specific settings |
HeadFinder |
headFinder()
returns a NegraHeadFinder |
Lexicon |
lex(Options op,
Index<java.lang.String> wordIndex,
Index<java.lang.String> tagIndex)
returns an ordinary Lexicon (could be tuned for German!) |
MemoryTreebank |
memoryTreebank()
returns a MemoryTreebank appropriate to the treebank source |
int |
setOptionFlag(java.lang.String[] args,
int i)
Set language-specific options according to flags. |
java.lang.String[] |
sisterSplitters()
Returns the splitting strings used for selective splits. |
Tree |
transformTree(Tree t,
Tree root)
transformTree does all language-specific tree transformations. |
TreeReaderFactory |
treeReaderFactory()
Returns a factory for reading in trees from the source you want. |
HeadFinder |
typedDependencyHeadFinder()
The HeadFinder to use when extracting typed dependencies. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NegraPennTreebankParserParams()
| Method Detail |
|---|
public HeadFinder headFinder()
headFinder in interface TreebankLangParserParamsheadFinder in class AbstractTreebankParserParamspublic HeadFinder typedDependencyHeadFinder()
AbstractTreebankParserParams
typedDependencyHeadFinder in interface TreebankLangParserParamstypedDependencyHeadFinder in class AbstractTreebankParserParams
public Lexicon lex(Options op,
Index<java.lang.String> wordIndex,
Index<java.lang.String> tagIndex)
lex in interface TreebankLangParserParamslex in class AbstractTreebankParserParamsop - Options as to how the Lexicon behaves
public TreeReaderFactory treeReaderFactory()
TreebankLangParserParams
public MemoryTreebank memoryTreebank()
AbstractTreebankParserParams
memoryTreebank in interface TreebankLangParserParamsmemoryTreebank in class AbstractTreebankParserParamspublic DiskTreebank diskTreebank()
AbstractTreebankParserParams
diskTreebank in interface TreebankLangParserParamsdiskTreebank in class AbstractTreebankParserParamspublic TreeTransformer collinizer()
collinizer in interface TreebankLangParserParamscollinizer in class AbstractTreebankParserParamspublic TreeTransformer collinizerEvalb()
collinizerEvalb in interface TreebankLangParserParamscollinizerEvalb in class AbstractTreebankParserParamspublic java.lang.String[] sisterSplitters()
AbstractTreebankParserParams
sisterSplitters in interface TreebankLangParserParamssisterSplitters in class AbstractTreebankParserParams
public int setOptionFlag(java.lang.String[] args,
int i)
setOptionFlag in interface TreebankLangParserParamssetOptionFlag in class AbstractTreebankParserParamsargs - Array of command line argumentsi - Index in command line arguments to try to process as an option
public void display()
AbstractTreebankParserParams
display in interface TreebankLangParserParamsdisplay in class AbstractTreebankParserParams
public Tree transformTree(Tree t,
Tree root)
transformTree in interface TreebankLangParserParamstransformTree in class AbstractTreebankParserParamst - 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)
public java.util.List<? extends HasWord> defaultTestSentence()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||