9 releases

0.1.8 Dec 8, 2023
0.1.7 Feb 11, 2022
0.1.6 Jan 9, 2022
0.1.3 Dec 14, 2021

#502 in Text processing

37 downloads per month

MIT license

7KB
119 lines

soundex-rs

A library that calculates soundex value.

install

[dependencies]
soundex-rs = "^0"

usage

use soundex_rs::Soundex;

let value = "hello world".soundex();
assert_eq!(value, "H464".to_string());

features

  • default: The result retains the first four characters of the soundex value
  • full: The result retains the complete value of soundex

reference


lib.rs:

soundex_rs is a library that calculates the words' soundex.

References

https://support.esri.com/en/technical-article/000003773

Features

feature description
default The result retains the first four characters of the soundex value|
full The result retains the complete value of soundex

Examples

use soundex_rs::Soundex;
println!("{}", "hello world".soundex());

No runtime deps

Features