code: public <T extends CoreLabel> Datum<String, String> makeDatum(List<IN> info, int loc, FeatureFactory featureFactory) {
      PaddedList<IN> pInfo = new PaddedList<IN>(info, pad);
  
      Collection<String> features = new ArrayList<String>();
      List<Clique> cliques = featureFactory.getCliques();
      for (Clique c : cliques) {
        Collection<String> feats = featureFactory.getCliqueFeatures(pInfo, loc, c);
        feats = addOtherClasses(feats, pInfo, loc, c);
        features.addAll(feats);
      }
  
      printFeatures(pInfo.get(loc), features);
      CoreLabel c = info.get(loc);
      return new BasicDatum<String, String>(features, c.get(AnswerAnnotation.class));
    }
docs: Make an individual Datum out of the data list info, focused at position
  loc.
  @param info A List of WordInfo objects
  @param loc  The position in the info list to focus feature creation on
  @param featureFactory The factory that constructs features out of the item
  @return A Datum (BasicDatum) representing this data instance