edu.gwu.jworddrivers
Class RogetwithLemmaDriver

java.lang.Object
  extended byedu.gwu.jworddrivers.JWordDriver
      extended byedu.gwu.jworddrivers.RogetDriver
          extended byedu.gwu.jworddrivers.RogetwithLemmaDriver

public class RogetwithLemmaDriver
extends RogetDriver


Field Summary
 
Fields inherited from class edu.gwu.jworddrivers.RogetDriver
MODE_ALLWORDS, MODE_HEADWORDS, MODE_POS_ADJECTIVE, MODE_POS_ADVERB, MODE_POS_NOUN, MODE_POS_VERB
 
Fields inherited from class edu.gwu.jworddrivers.JWordDriver
POS_ADJECTIVE, POS_ADVERB, POS_NOUN, POS_VERB
 
Constructor Summary
RogetwithLemmaDriver()
           
 
Method Summary
 java.lang.String getTitle()
          This method should return the title of the dictionary
 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
 void returnSearch(javax.swing.tree.DefaultMutableTreeNode root, java.lang.String word)
          Given a DefaultMutableTreeNode to start at and a word to search for this will build the tree based on the thesauras's word relationship using the
 
Methods inherited from class edu.gwu.jworddrivers.RogetDriver
changeSearchMode, getHeadWordInfo, initDictionary, printHeadWords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RogetwithLemmaDriver

public RogetwithLemmaDriver()
Method Detail

getTitle

public java.lang.String getTitle()
Description copied from class: JWordDriver
This method should return the title of the dictionary

Overrides:
getTitle in class RogetDriver

returnSearch

public void returnSearch(javax.swing.tree.DefaultMutableTreeNode root,
                         java.lang.String word)
Description copied from class: RogetDriver
Given a DefaultMutableTreeNode to start at and a word to search for this will build the tree based on the thesauras's word relationship using the

Overrides:
returnSearch in class RogetDriver

returnPOS

public void returnPOS(javax.swing.tree.DefaultMutableTreeNode posRoot,
                      int POS,
                      java.lang.String searchWord)
Description copied from class: RogetDriver
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

Overrides:
returnPOS in class RogetDriver