code: private boolean isRealSentence(AnalyzedSentence sentence) {
      AnalyzedTokenReadings[] tokens = sentence.getTokensWithoutWhitespace();
      if (tokens.length > 0) {
        AnalyzedTokenReadings lastToken = tokens[tokens.length - 1];
        return lastToken.hasPosTag("PKT") && StringUtils.equalsAny(lastToken.getToken(), ".", "?", "!");
      }
      return false;
    }
docs: we want to ignore headlines, and these usually don't end with [.?!]