#phonetic #language #soundex #nlp

nightly metaphone

Realization of phonetic algorithm metaphone

1 unstable release

0.1.1 Dec 28, 2018
0.1.0 Dec 28, 2018

#8 in #soundex

Custom license

7KB
150 lines

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

Dependencies

~2.5–3.5MB
~62K SLoC