|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Word
Nested Class Summary | |
---|---|
static class |
Word.ComboWord
Comes in as an array of words. |
static class |
Word.DashWord
|
static class |
Word.PlainWord
|
static class |
Word.RegexpWord
|
static class |
Word.WordStub
|
Method Summary | |
---|---|
java.util.List<Category> |
getCategories()
Categories that this Word is in. |
java.lang.String |
getWord()
Returns a text description of the word. |
java.lang.String |
getWordPublicName()
|
boolean |
matchesWord(java.lang.String word)
|
boolean |
matchesWord(java.lang.String[] words,
int index)
Does this match a word in a sentence? |
Method Detail |
---|
java.lang.String getWord()
java.lang.String getWordPublicName()
boolean matchesWord(java.lang.String word)
text
- MUST be lowercase -- to optimize case insensitivity, the sentence is assumed to be lowercase when it's passed in.
boolean matchesWord(java.lang.String[] words, int index)
words
- index
-
java.util.List<Category> getCategories()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |