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