code: protected String cleanUpLabel(String label) {
      if (label == null) {
        return "";  // This shouldn't really happen, but can happen if there are unlabeled nodes further down a tree, as apparently happens in at least the 20100730 era American National Corpus
      }
      boolean nptemp = NPTmpPattern.matcher(label).matches();
      boolean npadv = NPAdvPattern.matcher(label).matches();
      label = tlp.basicCategory(label);
      if (nptemp) {
        label = label + "-TMP";
      } else if (npadv) {
        label = label + "-ADV";
      }
      return label;
    }
docs: only leaves NP-TMP and NP-ADV