code: public String convertToConLLTypes(String neType) {
      String conllType = null;
      if (neType.equalsIgnoreCase("PERSON")
          || neType.equalsIgnoreCase("ORGANIZATION")
          || neType.equalsIgnoreCase("LOCATION") || neType.length() == 3) {
        conllType = neType.substring(0, 3);
      } else {
        conllType = neType;
      }
      return conllType;
    }
docs: Convert Entity class annotation to CoNLL formats.
  
  @param neType
  named entity class
  @return the converted string