Skip to main content

Crate name_variants

Crate name_variants 

Source
Expand description

Multilingual name romanization lookup tables.

Maps romanization variants to their canonical native-script key so that Chen, Chan, and Tan all resolve to .

Functions§

get_cluster_info
Return (language, forms_slice) for a canonical storage key, or None if unknown.
lookup_all
Return the canonical key and all known variants for a name, or None if unknown.
lookup_candidates
Return all canonical keys that list this romanization as a variant.
lookup_key
Return the canonical script-form key for a name, or None if unknown.