|
|||||||||
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.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. |
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 |
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. |
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 TreebankLangParserParams
collinizer
in class AbstractTreebankParserParams
public TreeTransformer collinizerEvalb()
collinizerEvalb
in interface TreebankLangParserParams
collinizerEvalb
in class AbstractTreebankParserParams
public MemoryTreebank memoryTreebank()
AbstractTreebankParserParams
memoryTreebank
in interface TreebankLangParserParams
memoryTreebank
in class AbstractTreebankParserParams
public DiskTreebank diskTreebank()
AbstractTreebankParserParams
diskTreebank
in interface TreebankLangParserParams
diskTreebank
in class AbstractTreebankParserParams
public void display()
AbstractTreebankParserParams
display
in interface TreebankLangParserParams
display
in class AbstractTreebankParserParams
public HeadFinder headFinder()
AbstractTreebankParserParams
headFinder
in interface TreebankLangParserParams
headFinder
in class AbstractTreebankParserParams
public String[] sisterSplitters()
AbstractTreebankParserParams
sisterSplitters
in interface TreebankLangParserParams
sisterSplitters
in class AbstractTreebankParserParams
public Tree transformTree(Tree t, Tree root)
AbstractTreebankParserParams
t
. It changes both
labels and the tree shape.
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)
public 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 |