public NGramFrequencyMap extractFreqs(Sentence annotations) {
    String text;

    if (removeStopWords) {
      Sentence noStopwordsText = removeStopwords(annotations);
      text = noStopwordsText.getConcatTokens();
    } else text = annotations.toString();

    return extractFreqs(text);
  }