Skip to main content

record_pick

Function record_pick 

Source
pub fn record_pick(code: &str, word: &str)
Expand description

Notify the dictionary that the user committed word for code. The internal pick counter advances; on threshold the word auto-pins. All learning logic lives in wubi — this is just a passthrough so the IME layer doesn’t need to know about counters.