|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.util.UTF8EquivalenceFunction
public class UTF8EquivalenceFunction
A word function that can be applied to Chinese text in the tagger or similar systems to make it treat ( and ( the same.
| Constructor Summary | |
|---|---|
UTF8EquivalenceFunction()
|
|
| Method Summary | |
|---|---|
java.lang.String |
apply(java.lang.String input)
Converts a T1 to a different T2. |
static java.lang.String |
replaceAscii(java.lang.String w)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UTF8EquivalenceFunction()
| Method Detail |
|---|
public static java.lang.String replaceAscii(java.lang.String w)
public java.lang.String apply(java.lang.String input)
Function
apply in interface Function<java.lang.String,java.lang.String>input - The function's argument
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||