|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cmu.tawc.data.Word.WordStub cmu.tawc.data.Word.ComboWord cmu.tawc.data.Word.DashWord
public static class Word.DashWord
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface cmu.tawc.data.Word |
---|
Word.ComboWord, Word.DashWord, Word.PlainWord, Word.RegexpWord, Word.WordStub |
Field Summary |
---|
Fields inherited from class cmu.tawc.data.Word.ComboWord |
---|
comboWords |
Constructor Summary | |
---|---|
Word.DashWord(java.lang.String word,
java.util.Vector<Category> categories)
|
Method Summary | |
---|---|
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? |
Methods inherited from class cmu.tawc.data.Word.WordStub |
---|
getCategories, getWord, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Word.DashWord(java.lang.String word, java.util.Vector<Category> categories)
Method Detail |
---|
public java.lang.String getWordPublicName()
getWordPublicName
in interface Word
getWordPublicName
in class Word.ComboWord
public boolean matchesWord(java.lang.String word)
matchesWord
in interface Word
matchesWord
in class Word.ComboWord
public boolean matchesWord(java.lang.String[] words, int index)
Word
matchesWord
in interface Word
matchesWord
in class Word.ComboWord
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |