|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.gwu.jworddrivers.JWordDriver | +--edu.gwu.jworddrivers.WordNetDriver
Field Summary |
Fields inherited from class edu.gwu.jworddrivers.JWordDriver |
POS_ADJECTIVE, POS_ADVERB, POS_NOUN, POS_VERB |
Constructor Summary | |
WordNetDriver()
|
Method Summary | |
static java.lang.String[] |
getExampleSentences(java.lang.String word)
Returns WordNet's example sentences that are in the SynSet of the lemma of the word, and where the word is found in the example sentence |
static java.lang.String |
getLemma(java.lang.String word)
Returns the WordNet's 'lemma' of a word. |
static void |
initDictionary()
Load the dictionary file into memory |
static void |
returnPOS(javax.swing.tree.DefaultMutableTreeNode posRoot,
int POS,
java.lang.String searchWord)
This method is identical to that of returnSearch except that it generates the tree starting at the Part of Speech level rather than the dictionary level |
static void |
returnSearch(javax.swing.tree.DefaultMutableTreeNode root,
java.lang.String searchWord)
Given a DefaultMutableTreeNode to start at and a word to search for this will build the tree based on the WordNet's word relationship using the |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WordNetDriver()
Method Detail |
public static void initDictionary()
public static void returnPOS(javax.swing.tree.DefaultMutableTreeNode posRoot, int POS, java.lang.String searchWord)
public static void returnSearch(javax.swing.tree.DefaultMutableTreeNode root, java.lang.String searchWord)
public static java.lang.String getLemma(java.lang.String word)
public static java.lang.String[] getExampleSentences(java.lang.String word)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |