docs: public static List<StringContext> getContextsFromExamples(List<CcgExample> examples) {
      List<StringContext> contexts = Lists.newArrayList();
      for (CcgExample example : examples) {
        AnnotatedSentence sentence = example.getSentence();
        int numTerminals = sentence.size();
        for (int i = 0; i < numTerminals; i++) {
          for (int j = i; j < numTerminals; j++) {
            contexts.add(new StringContext(i, j, sentence));
          }
        }
      }
      return contexts;
    }