class NameParserGbifV1 implements NameParser {

  @Override
  public ParsedName parse(String s, @Nullable Rank rank) throws UnparsableException {
    try {
      return convert(s, rank, parser.parse(s, fromGbif(rank)));

    } catch (UnparsableNameException e) {
      throw new UnparsableException(NAME_TYPE_MAP.getOrDefault(e.getType(), NameType.DOUBTFUL), e.getName());
    }
  }

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

}