code: public List<RuleMatch> check(AnnotatedText annotatedText, boolean tokenizeText, ParagraphHandling paraMode, RuleMatchListener listener) throws IOException {
      return check(annotatedText, tokenizeText, paraMode, listener, Mode.ALL);
    }
docs: The main check method. Tokenizes the text into sentences and matches these
  sentences against all currently active rules.
  @since 3.7