code: public List chunk(List toks, List tags) {
      bestSequence =
          beam.bestSequence(toks, new Object[] { (String[]) tags.toArray(new String[tags.size()]) });
      return bestSequence.getOutcomes();
    }
docs: /* inherieted javadoc