|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.parser.lexparser.ChineseTreebankParserParams
Parameter file for parsing the Penn Chinese Treebank. Includes category enrichments specific to the Penn Chinese Treebank.
Field Summary | |
static boolean |
chineseSelectiveTagPA
|
static boolean |
chineseSplitDouHao
Chinese: Split the dou hao (a punctuation mark separating members of a list) from other punctuation. |
static boolean |
chineseSplitPunct
Chinese: split Chinese punctuation several ways, along the lines of English punctuation plus another category for the dou hao. |
static boolean |
chineseSplitPunctLR
Chinese: split left right/paren quote (if chineseSplitPunct is also true. |
static boolean |
chineseSplitVP3
Chinese: split VPs into VP-COMP, VP-CRD, VP-ADJ. |
static boolean |
chineseVerySelectiveTagPA
|
static boolean |
gpaAD
Grandparent annotate all AD. |
static boolean |
markADgrandchildOfIP
Chinese: mark ADs that are grandchild of IP. |
static boolean |
markIPadjsubj
|
static boolean |
markIPconj
Chinese: mark IPs that are conjuncts. |
static boolean |
markIPsisDEC
Chinese: mark IPs that are part of prenominal modifiers. |
static boolean |
markIPsisterBA
Chinese: mark IPs that are sister of BA. |
static boolean |
markIPsisterVVorP
Chinese: mark IP's that are sister of VV or P. |
static boolean |
markModifiedNP
Chinese: mark left-modified NPs (rightmost NPs with a left-side mod). |
static boolean |
markMultiNtag
Chinese: mark nominal tags that are part of multi-nominal rewrites. |
static boolean |
markNPconj
Chinese: mark NPs that are conjuncts. |
static boolean |
markNPmodNP
Chinese: mark NP modifiers of NPs. |
static boolean |
markPostverbalP
Chinese: mark P with a left aunt VV, and PP with a left sister VV. |
static boolean |
markPostverbalPP
|
static boolean |
markPsisterIP
Chinese: mark P's that are sister of IP. |
static boolean |
markVPadjunct
Chinese: mark phrases that are adjuncts of VP (these tend to be locatives/temporals, and have a specific distribution). |
static boolean |
markVVsisterIP
Chinese: mark VVs that are sister of IP (communication & small-clause-taking verbs). |
static boolean |
mergeNNVV
Chinese: merge NN and VV. |
static boolean |
paRootDtr
Chinese: parent annotate daughter of root. |
static int |
selectiveSplitLevel
How selectively to split. |
static boolean |
splitBaseNP
Mark base NPs. |
static boolean |
tagWordSize
Annotate tags for number of characters contained. |
static boolean |
unaryCP
|
static boolean |
unaryIP
Chinese: unary category marking |
Constructor Summary | |
ChineseTreebankParserParams()
|
Method Summary | |
TreeTransformer |
collinizer()
the tree transformer used to produce trees for evaluation. |
TreeTransformer |
collinizerEvalb()
|
void |
display()
display language-specific settings |
HeadFinder |
headFinder()
|
edu.stanford.nlp.parser.lexparser.Lexicon |
lex()
reads in trees from the source you want. |
MemoryTreebank |
memoryTreebank()
returns a MemoryTreebank appropriate to the treebank source |
PrintWriter |
pw()
the PrintWriter used to print output. |
PrintWriter |
pw(OutputStream o)
the PrintWriter used to print output. |
void |
setInputEncoding(String encoding)
|
int |
setOptionFlag(String[] args,
int i)
Set language-specific options according to flags. |
void |
setOutputEncoding(String encoding)
|
String[] |
sisterSplitters()
Returns the splitting strings used for selective splits. |
String[] |
splitters()
Returns the splitting strings used for selective splits. |
MemoryTreebank |
testMemoryTreebank()
returns a MemoryTreebank appropriate to the testing treebank source |
edu.stanford.nlp.parser.lexparser.TreeHeadPair |
transformTree(Tree t,
Tree root,
edu.stanford.nlp.parser.lexparser.TreeHeadPair thp)
transformTree does all language-specific tree transformations. |
TreebankLanguagePack |
treebankLanguagePack()
Returns a ChineseTreebankLanguagePack |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean chineseSplitDouHao
public static boolean chineseSplitPunct
public static boolean chineseSplitPunctLR
public static boolean markVVsisterIP
public static boolean markPsisterIP
public static boolean markIPsisterVVorP
public static boolean markADgrandchildOfIP
public static boolean gpaAD
public static boolean chineseVerySelectiveTagPA
public static boolean chineseSelectiveTagPA
public static boolean markIPsisterBA
public static boolean markVPadjunct
public static boolean markNPmodNP
public static boolean markModifiedNP
public static boolean markNPconj
public static boolean markMultiNtag
public static boolean markIPsisDEC
public static boolean markIPconj
public static boolean markIPadjsubj
public static boolean chineseSplitVP3
public static boolean mergeNNVV
public static boolean unaryIP
public static boolean unaryCP
public static boolean paRootDtr
public static boolean markPostverbalP
public static boolean markPostverbalPP
public static int selectiveSplitLevel
public static boolean splitBaseNP
public static boolean tagWordSize
Constructor Detail |
public ChineseTreebankParserParams()
Method Detail |
public void setInputEncoding(String encoding)
setInputEncoding
in interface TreebankLangParserParams
public void setOutputEncoding(String encoding)
setOutputEncoding
in interface TreebankLangParserParams
public HeadFinder headFinder()
headFinder
in interface TreebankLangParserParams
public edu.stanford.nlp.parser.lexparser.Lexicon lex()
TreebankLangParserParams
lex
in interface TreebankLangParserParams
public MemoryTreebank memoryTreebank()
TreebankLangParserParams
memoryTreebank
in interface TreebankLangParserParams
public MemoryTreebank testMemoryTreebank()
testMemoryTreebank
in interface TreebankLangParserParams
public TreeTransformer collinizer()
collinizer
in interface TreebankLangParserParams
public TreeTransformer collinizerEvalb()
collinizerEvalb
in interface TreebankLangParserParams
public TreebankLanguagePack treebankLanguagePack()
ChineseTreebankLanguagePack
treebankLanguagePack
in interface TreebankLangParserParams
public PrintWriter pw()
pw
in interface TreebankLangParserParams
public PrintWriter pw(OutputStream o)
pw
in interface TreebankLangParserParams
public String[] splitters()
TreebankLangParserParams
splitters
in interface TreebankLangParserParams
public String[] sisterSplitters()
TreebankLangParserParams
sisterSplitters
in interface TreebankLangParserParams
public edu.stanford.nlp.parser.lexparser.TreeHeadPair transformTree(Tree t, Tree root, edu.stanford.nlp.parser.lexparser.TreeHeadPair thp)
transformTree
in interface TreebankLangParserParams
public void display()
TreebankLangParserParams
display
in interface TreebankLangParserParams
public int setOptionFlag(String[] args, int i)
setOptionFlag
in interface TreebankLangParserParams
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |