docs: public static Tree toTree(TreebankNode node, Pair<String, MultiDimensionalMap<Integer, Integer, String>> labels)
                      throws Exception {
          List<String> tokens = tokens(node);
          Tree ret = new Tree(tokens);
          ret.setValue(node.getNodeValue());
          ret.setLabel(node.getNodeType());
          ret.setType(node.getNodeType());
          ret.setBegin(node.getBegin());
          ret.setEnd(node.getEnd());
          ret.setParse(TreebankNodeUtil.toTreebankString(node));
          if (node.getNodeTags() != null)
              ret.setTags(tags(node));
          else
              ret.setTags(Arrays.asList(node.getNodeType()));
          return ret;
      }