org.cogroo.tools.checker.rules.dictionary
Class FSALexicalDictionary
java.lang.Object
org.cogroo.tools.checker.rules.dictionary.FSALexicalDictionary
- All Implemented Interfaces:
- LexicalDictionary
public class FSALexicalDictionary
- extends Object
- implements LexicalDictionary
FSALexicalDictionary
public FSALexicalDictionary()
throws IllegalArgumentException,
IOException
- Throws:
IllegalArgumentException
IOException
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.