|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Dictionary | |
|---|---|
| org.switchboard.util | |
| Uses of Dictionary in org.switchboard.util |
|---|
| Methods in org.switchboard.util with parameters of type Dictionary | |
|---|---|
static float |
WordUtil.calculateEnglishness(String s,
Dictionary d)
Calculates the percentage of words in the sentence that can be found in the dictionary. |
static String[] |
WordUtil.getAdjectives(String in,
Dictionary dict)
Gets all of the adjectives in a given sentence. |
static String[] |
WordUtil.getAdverbs(String in,
Dictionary dict)
Gets all of the adverbs in a given sentence. |
static String[] |
WordUtil.getNouns(String in,
Dictionary dict)
Gets all of the nouns out of the specified string. |
static String[] |
WordUtil.getPronouns(String in,
Dictionary dict)
Gets all of the pronouns in a given sentence. |
static String[] |
WordUtil.getTheseWords(String in,
String pos,
Dictionary dict)
Gets all words of a particular part of speech from a sentence. |
static String[] |
WordUtil.getVerbs(String in,
Dictionary dict)
Gets all of the verbs out of the specified string. |
static boolean |
WordUtil.isEnglishWord(String s,
Dictionary d)
Returns true if the word can be found in the dictionary. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||