class NameParserGbifV1 implements NameParser {

  @Override
  // parses the name without authorship and returns the ParsedName.canonicalName() string
  public String parseToCanonical(String scientificName, @Nullable Rank rank) {
    if (Strings.isNullOrEmpty(scientificName)) {
      return null;
    }
    try {
      ParsedName pn = parse(scientificName, rank);
      if (pn != null) {
        return pn.canonicalName();
      }
    } catch (UnparsableException e) {
      logUnparsable(e);
    }
    return null;
  }

  public  NameParserGbifV1();
  public  NameParserGbifV1(long timeout);
  public  NameParserGbifV1(org.gbif.nameparser.api.NameParser parser);

}