org.switchboard.util
Class Dictionary
java.lang.Object
org.switchboard.util.DictDotOrg
org.switchboard.util.Dictionary
public class Dictionary
- extends DictDotOrg
PREPOSITION
public static final String PREPOSITION
- See Also:
- Constant Field Values
NOUN
public static final String NOUN
- See Also:
- Constant Field Values
ADJECTIVE
public static final String ADJECTIVE
- See Also:
- Constant Field Values
VERB
public static final String VERB
- See Also:
- Constant Field Values
CONJUNCTION
public static final String CONJUNCTION
- See Also:
- Constant Field Values
ADVERB
public static final String ADVERB
- See Also:
- Constant Field Values
PRONOUN
public static final String PRONOUN
- See Also:
- Constant Field Values
Dictionary
public Dictionary()
query
public String[] query(String s)
partOfSpeech
public String[] partOfSpeech(String word)
isPartOfSpeech
public boolean isPartOfSpeech(String word,
String part)