metaphone

Crates.iometaphone
lib.rsmetaphone
version0.1.1
sourcesrc
created_at2018-12-28 17:40:43.217598
updated_at2018-12-28 18:00:29.68364
descriptionRealization of phonetic algorithm metaphone
homepage
repositoryhttps://github.com/max-frai/metaphone-rs
max_upload_size
id104231
size7,690
Max Frai (max-frai)

documentation

README

About

Rust realization of phonetic algorithm metaphone for Russian and Ukrainian languages (English is in progress). Everything is not optimized and api is in flux.

Benchmark for general-length word

test tests::bench_ru ... bench: 5,407 ns/iter (+/- 484)

Usage

let metaphone = Metaphone::new(Language::Russian);
assert_eq!(metaphone.get("Шварценеггер"), "ШВАРЦИНИГИР");

License

MIT

Commit count: 10

cargo fmt