|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.trees.international.pennchinese.ChineseEscaper
public class ChineseEscaper
An Escaper for Chinese normalization to match Treebank. Currently normalizes "ASCII" characters into the full-width range used inside the Penn Chinese Treebank.
Notes: Smart quotes appear in CTB, and are left unchanged. I think you get various hyphen types from U+2000 range too - certainly, Roger lists them in LanguagePack.
Constructor Summary | |
---|---|
ChineseEscaper()
|
Method Summary | |
---|---|
java.util.List<HasWord> |
apply(java.util.List<HasWord> arg)
Note: At present this clobbers the input list items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChineseEscaper()
Method Detail |
---|
public java.util.List<HasWord> apply(java.util.List<HasWord> arg)
apply
in interface Function<java.util.List<HasWord>,java.util.List<HasWord>>
arg
- The function's argument
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |