NameParserANTLR implements org.gbif.nameparser.api.NameParser { public ParsedName parse(String scientificName) throws UnparsableNameException { return parse(scientificName, Rank.UNRANKED); }  ParsedName parse(String scientificName); @Override ParsedName parse(final String scientificName, Rank rank); ParsedName parse(String scientificName, Rank rank, @Nullable NomCode code); @Override void close();  }
@Test public void parse() throws UnparsableNameException { NameParserANTLR parser = new NameParserANTLR(); System.out.println(parser.parse("Abies alba Mill.")); System.out.println(parser.parse("Abies alba L.")); System.out.println(parser.parse("BOLD:AAA2176")); System.out.println(parser.parse("SH495646.07FU")); System.out.println(parser.parse("Bryocyclops campaneri Rocha C.E.F. & Bjornberg M.H.G.C., 1987")); System.out.println(parser.parse("Equine rhinitis A virus")); System.out.println(parser.parse("Isosphaera pallida (ex Woronichin, 1927) Giovannoni et al., 1995")); }