Interface GrammarChecker.Rule

Enclosing class:
GrammarChecker

public static interface GrammarChecker.Rule
One check over a text.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    check(String text, List<int[]> words, List<ProofIssue> out)
    Adds the problems this rule finds in a text.
  • Method Details

    • check

      void check(String text, List<int[]> words, List<ProofIssue> out)

      Adds the problems this rule finds in a text.

      Parameters
      • text: the text, typically a paragraph

      • words: its word ranges, from SpellChecker.words

      • out: where issues go