|
|||||||||
| 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.HebrewTreebankParserParams
public class HebrewTreebankParserParams
Initial version of a parser pack for the HTB. Not yet integrated into the Stanford parser.
This package assumes the romanized orthographic form of Hebrew as used in the treebank.
| 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 | |
|---|---|
|
HebrewTreebankParserParams()
|
protected |
HebrewTreebankParserParams(TreebankLanguagePack tlp)
|
| Method Summary | |
|---|---|
TreeTransformer |
collinizer()
the tree transformer used to produce trees for evaluation. |
TreeTransformer |
collinizerEvalb()
Stand-in collinizer does nothing to the tree. |
java.util.List<? extends HasWord> |
defaultTestSentence()
Return a default sentence of the language (for testing). |
DiskTreebank |
diskTreebank()
returns a DiskTreebank appropriate to the treebank source |
void |
display()
display language-specific settings |
HeadFinder |
headFinder()
The HeadFinder to use for your treebank. |
MemoryTreebank |
memoryTreebank()
returns a MemoryTreebank appropriate to the treebank source |
java.lang.String[] |
sisterSplitters()
Returns the splitting strings used for selective splits. |
Tree |
transformTree(Tree t,
Tree root)
This method does language-specific tree transformations such as annotating particular nodes with language-relevant features. |
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 HebrewTreebankParserParams()
protected HebrewTreebankParserParams(TreebankLanguagePack tlp)
| Method Detail |
|---|
public TreeTransformer collinizer()
AbstractTreebankParserParams
collinizer in interface TreebankLangParserParamscollinizer in class AbstractTreebankParserParamspublic TreeTransformer collinizerEvalb()
collinizerEvalb in interface TreebankLangParserParamscollinizerEvalb in class AbstractTreebankParserParamspublic MemoryTreebank memoryTreebank()
AbstractTreebankParserParams
memoryTreebank in interface TreebankLangParserParamsmemoryTreebank in class AbstractTreebankParserParamspublic DiskTreebank diskTreebank()
AbstractTreebankParserParams
diskTreebank in interface TreebankLangParserParamsdiskTreebank in class AbstractTreebankParserParamspublic void display()
AbstractTreebankParserParams
display in interface TreebankLangParserParamsdisplay in class AbstractTreebankParserParamspublic HeadFinder headFinder()
AbstractTreebankParserParams
headFinder in interface TreebankLangParserParamsheadFinder in class AbstractTreebankParserParamspublic HeadFinder typedDependencyHeadFinder()
AbstractTreebankParserParams
typedDependencyHeadFinder in interface TreebankLangParserParamstypedDependencyHeadFinder in class AbstractTreebankParserParamspublic java.lang.String[] sisterSplitters()
AbstractTreebankParserParams
sisterSplitters in interface TreebankLangParserParamssisterSplitters in class AbstractTreebankParserParams
public Tree transformTree(Tree t,
Tree root)
AbstractTreebankParserParamst. It changes both
labels and the tree shape.
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()
TreebankLangParserParams
public TreeReaderFactory treeReaderFactory()
TreebankLangParserParams
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||