code: public List<AnalyzedSentence> analyzeText(String text) throws IOException {
      List<String> sentences = sentenceTokenize(text);
      return analyzeSentences(sentences);
    }
docs: Use this method if you want to access LanguageTool's otherwise
  internal analysis of the text. For actual text checking, use the {@code check...} methods instead.
  @param text The text to be analyzed
  @since 2.5