edu.stanford.nlp.lexgram
Interface Lexicon

All Known Implementing Classes:
SimpleLexicon

public interface Lexicon

Lexicon:


Method Summary
 void addTagging(Label tag, Word word)
           
 Collection getAllTags()
           
 Collection getTagsByWord(Word word)
           
 Collection getWordsByTag(Label tag)
           
 void removeTagging(Label tag, Word word)
           
 double scoreTagging(Label tag, Word word)
           
 

Method Detail

addTagging

public void addTagging(Label tag,
                       Word word)

removeTagging

public void removeTagging(Label tag,
                          Word word)

getWordsByTag

public Collection getWordsByTag(Label tag)

getTagsByWord

public Collection getTagsByWord(Word word)

getAllTags

public Collection getAllTags()

scoreTagging

public double scoreTagging(Label tag,
                           Word word)


Stanford NLP Group