|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
WordStemmer is an interface for defining stemmers. Stemmers are typically used for western languages that support the concept of prefix, suffix, and tense. By default, dbXML uses a Porter Stemmer, which is specifically for the English language, but it should be fairly trivial to develop a Stemmer for non-English languages.
Method Summary | |
java.lang.String |
normalizeCase(java.lang.String word)
normalizeCase normalizes the case of the specific word. |
java.lang.String |
stemWord(java.lang.String word)
stemWord stems the specified word. |
Method Detail |
public java.lang.String normalizeCase(java.lang.String word)
word
- The word to normalize
public java.lang.String stemWord(java.lang.String word)
word
- The word to stem
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |