|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.egothor.core.Filter
org.egothor.parser.filter.RemoveDiacritics
public final class RemoveDiacritics
This filter transforms all (Latin) words to non-diacritical (ASCII).
Field Summary |
---|
Fields inherited from class org.egothor.core.Filter |
---|
prev |
Constructor Summary | |
---|---|
RemoveDiacritics(Sequence<Token> prev)
Constructor for the Diacritics object. |
Method Summary | |
---|---|
Token |
next()
If the name/type of the token is <WORD> then
transform the text of the token to lower case. |
Methods inherited from class org.egothor.core.Filter |
---|
action, getPrevTokenizer, setPrevTokenizer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoveDiacritics(Sequence<Token> prev)
prev
- this filter's TokenizerMethod Detail |
---|
public Token next()
<WORD>
then
transform the text of the token to lower case. In other cases the
token remains untouched.
next
in interface Sequence<Token>
next
in class Filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |