edu.northwestern.at.morphadorner.corpuslinguistics.lexicon

## Interface UsesLexicon

- All Known Implementing Classes:
    AbstractNameRecognizer, AbstractPartOfSpeechTagger, AffixTagger, AllUnknownTagger, BigramHybridTagger, BigramTagger, DefaultNameRecognizer, DefaultPartOfSpeechRetagger, DefaultPartOfSpeechTagger, HeppleTagger, IRetagger, NoopRetagger, PennTreebankPartOfSpeechTagger, ProperNounRetagger, RegexpTagger, SimpleRuleBasedTagger, SimpleTagger, SuffixTagger, TCPRetagger, TrigramHybridTagger, TrigramTagger, UnigramTagger

      public interface UsesLexicon

  Interface for using a lexicon.

  A class which uses a lexicon can implement this interface to standardize on the methods for getting and setting a lexicon.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Lexicon` | `getLexicon()` Get the lexicon.
    `void` | `setLexicon(Lexicon lexicon)` Set the lexicon.

- - ### Method Detail

    - #### getLexicon

          Lexicon getLexicon()

      Get the lexicon.
      Returns:
        The lexicon.

    - #### setLexicon

          void setLexicon(Lexicon lexicon)

      Set the lexicon.
      Parameters:
        `lexicon` - The lexicon.