org.cogroo.tools.checker.rules.dictionary
Class FSALexicalDictionary

java.lang.Object
  extended by org.cogroo.tools.checker.rules.dictionary.FSALexicalDictionary
All Implemented Interfaces:
LexicalDictionary

public class FSALexicalDictionary
extends Object
implements LexicalDictionary


Constructor Summary
FSALexicalDictionary()
           
 
Method Summary
 List<PairWordPOSTag> getLemmasAndPosTagsForWord(String aWord)
          Compute the pair Lemma + POSTag for a word
 List<String> getPOSTagsForWord(String word)
           
 List<PairWordPOSTag> getWordsAndPosTagsForLemma(String aLemma)
           
 boolean wordExists(String word)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSALexicalDictionary

public FSALexicalDictionary()
                     throws IllegalArgumentException,
                            IOException
Throws:
IllegalArgumentException
IOException
Method Detail

wordExists

public boolean wordExists(String word)
Specified by:
wordExists in interface LexicalDictionary

getWordsAndPosTagsForLemma

public List<PairWordPOSTag> getWordsAndPosTagsForLemma(String aLemma)
Specified by:
getWordsAndPosTagsForLemma in interface LexicalDictionary

getLemmasAndPosTagsForWord

public List<PairWordPOSTag> getLemmasAndPosTagsForWord(String aWord)
Description copied from interface: LexicalDictionary
Compute the pair Lemma + POSTag for a word

Specified by:
getLemmasAndPosTagsForWord in interface LexicalDictionary

getPOSTagsForWord

public List<String> getPOSTagsForWord(String word)
Specified by:
getPOSTagsForWord in interface LexicalDictionary


Copyright © 2012-2013 CoGrOO. All Rights Reserved.