code: public static String[] decodeLemmas(final String[] tokens,
        final Span[] preds) {
      final List<String> lemmas = new ArrayList<>();
      for (final Span span : preds) {
        String lemma = decodeShortestEditScript(
            span.getCoveredText(tokens).toLowerCase(), span.getType());
        // System.err.println("-> DEBUG: " + toks[i].toLowerCase() + " " +
        // preds[i] + " " + lemma);
        if (lemma.length() == 0) {
          lemma = "_";
        }
        lemmas.add(lemma);
      }
      return lemmas.toArray(new String[lemmas.size()]);
    }
docs: Decodes the lemma from the word and the induced lemma class.
  
  @param tokens
  the array of tokens
  @param preds
  the predicted lemma classes
  @return the array of decoded lemmas