code: public List<RuleMatch> check(AnnotatedText annotatedText, boolean tokenizeText, ParagraphHandling paraMode) throws IOException {
      return check(annotatedText, tokenizeText, paraMode, null);
    }
docs: The main check method. Tokenizes the text into sentences and matches these
  sentences against all currently active rules.
  @param annotatedText The text to be checked, created with {@link AnnotatedTextBuilder}.
  Call this method with the complete text to be checked. If you call it
  repeatedly with smaller chunks like paragraphs or sentence, those rules that work across
  paragraphs/sentences won't work (their status gets reset whenever this method is called).
  @param tokenizeText If true, then the text is tokenized into sentences.
  Otherwise, it is assumed it's already tokenized, i.e. it is only one sentence
  @param paraMode Uses paragraph-level rules only if true.
  @return a List of {@link RuleMatch} objects, describing potential errors in the text
  @since 2.3