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

#310 in Text processing

Download history 11/week @ 2024-12-06 151/week @ 2024-12-13 50/week @ 2024-12-20 379/week @ 2024-12-27 798/week @ 2025-01-03 901/week @ 2025-01-10 253/week @ 2025-01-17 672/week @ 2025-01-24 563/week @ 2025-01-31 550/week @ 2025-02-07 216/week @ 2025-02-14 1155/week @ 2025-02-21 1172/week @ 2025-02-28 262/week @ 2025-03-07

2,815 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