edu.northwestern.at.morphadorner.corpuslinguistics.lemmatizer

## Interface LemmatizerRule

- All Known Implementing Classes:
    DefaultLemmatizerRule

      public interface LemmatizerRule

  Interface for a Lemmatizer Rule.

  A lemmarizer rule specifies a string substitution pattern used as part of the process of reducing an elaborated morphological form to its base form (lemma).

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `apply(java.lang.String s)` Apply a lemmatization rule to a string.
    `java.lang.String` | `apply(java.lang.String s, java.util.Set<java.lang.String> dictionary)` Apply a lemmatization rule to a string.

- - ### Method Detail

    - #### apply

          java.lang.String apply(java.lang.String s,
                               java.util.Set<java.lang.String> dictionary)

      Apply a lemmatization rule to a string.
      Parameters:
        `s` - String to which to apply rule.
        `dictionary` - List of known words.
      Returns:
        String after rule applied.

    - #### apply

          java.lang.String apply(java.lang.String s)

      Apply a lemmatization rule to a string.
      Parameters:
        `s` - String to which to apply rule.
      Returns:
        String after rule applied.