|
|||||||||
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.ArabicTreebankParserParams
public class ArabicTreebankParserParams
A TreebankLangParserParams
implementing class for the Penn Arabic Treebank.
Nested Class Summary | |
---|---|
static class |
ArabicTreebankParserParams.ArabicRomanizedTextEscaper
This escaper just changes ( to -LRB- and ) to -RRB-, does nothing else. |
Nested classes/interfaces inherited from class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams |
---|
AbstractTreebankParserParams.DependencyTyper<T>, AbstractTreebankParserParams.SubcategoryStripper |
Field Summary |
---|
Fields inherited from class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams |
---|
inputEncoding, outputEncoding, tlp |
Constructor Summary | |
---|---|
ArabicTreebankParserParams()
|
Method Summary | |
---|---|
TreeTransformer |
collinizer()
Stand-in collinizer does nothing to the tree. |
TreeTransformer |
collinizerEvalb()
Stand-in collinizer does nothing to the tree. |
java.util.List |
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()
the HeadFinder to use for your treebank. |
static void |
main(java.lang.String[] args)
Loads Arabic Treebank files from the first argument and prints all the trees. |
MemoryTreebank |
memoryTreebank()
returns a MemoryTreebank appropriate to the treebank source |
int |
setOptionFlag(java.lang.String[] args,
int i)
Some options for setOptionFlag: |
java.lang.String[] |
sisterSplitters()
Returns the splitting strings used for selective splits. |
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. |
TreeReaderFactory |
treeReaderFactory()
factorz for reading in trees from the source you want. |
Methods inherited from class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams |
---|
dependencyObjectify, getOutputEncoding, lex, lex, 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 ArabicTreebankParserParams()
Method Detail |
---|
public TreeReaderFactory treeReaderFactory()
TreebankLangParserParams
public MemoryTreebank memoryTreebank()
AbstractTreebankParserParams
memoryTreebank
in interface TreebankLangParserParams
memoryTreebank
in class AbstractTreebankParserParams
public DiskTreebank diskTreebank()
TreebankLangParserParams
public HeadFinder headFinder()
AbstractTreebankParserParams
headFinder
in interface TreebankLangParserParams
headFinder
in class AbstractTreebankParserParams
public TreeTransformer collinizer()
collinizer
in interface TreebankLangParserParams
collinizer
in class AbstractTreebankParserParams
public TreeTransformer collinizerEvalb()
collinizerEvalb
in interface TreebankLangParserParams
collinizerEvalb
in class AbstractTreebankParserParams
public java.lang.String[] sisterSplitters()
AbstractTreebankParserParams
sisterSplitters
in interface TreebankLangParserParams
sisterSplitters
in class AbstractTreebankParserParams
public edu.stanford.nlp.parser.lexparser.TreeHeadPair transformTree(Tree t, Tree root, edu.stanford.nlp.parser.lexparser.TreeHeadPair thp)
AbstractTreebankParserParams
transformTree
in interface TreebankLangParserParams
transformTree
in class AbstractTreebankParserParams
public void display()
AbstractTreebankParserParams
display
in interface TreebankLangParserParams
display
in class AbstractTreebankParserParams
public int setOptionFlag(java.lang.String[] args, int i)
-retainNPTmp
retain temporal NP marking on NPs.
-markGappedVP
marked gapped VPs.
setOptionFlag
in interface TreebankLangParserParams
setOptionFlag
in class AbstractTreebankParserParams
args
- i
-
public java.util.List defaultTestSentence()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |