pub fn encode(term: &str) -> StringExpand description
Returns the primary Double Metaphone code for one term.
Returns an empty string for a term with no encodable letters, which the caller treats as “no phonetic term”, never as a term that matches everything.