[][src]Function koelner_phonetik::calculate

pub fn calculate(word: &str) -> String

koelner_phonetik or cologne phonetics is a phonetic algorithm like soundex, but specialized for german words.

Examples

let rust = String::from("Rust");
let phonetic = koelner_phonetik::calculate(&rust);
 
assert_eq!(phonetic, "782")