gbif-name-parser
A faithful Rust port of the GBIF scientific name parser — the engine
behind org.gbif:name-parser. It parses a scientific name into its structured atoms: genus,
epithets, authorship, rank, nomenclatural code, and notes/warnings.
The package is gbif-name-parser; the library is imported as nameparser:
[]
= "0.1"
use parse;
let pn = parse.unwrap;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
The output is byte-for-byte cross-validated against the Java oracle (NameParserImpl) over
11,302 + 6.4M names (0 diffs).
The same engine, other languages
This crate is the core; the same parser ships as a native CLI, a Java (FFM/Panama) binding, a
Python package (pip install gbif-name-parser, import nameparser), and an R package — all
versioned together, so one version means the same engine everywhere. See the
repository.
License
Apache-2.0.