Skip to main content

add_rule

Function add_rule 

Source
pub fn add_rule(spoken: &str, written: &str)
Expand description

Add a custom spoken→written mapping.

The spoken form is stored lowercased for case-insensitive matching. If the same spoken form already exists, it is replaced.