tokenizer (words): edge case
tokenizer (words): edge case: a task in smol-software-harbor (Harbor dataset). words() in src/lib.rs splits words at accented letters ( "Café" becomes "caf" ), because it only treats ASCII letters and digits as part of a word. Words in any alphabet must be kept whole, as the doc comment says. Fix…
The task
`words()` in `src/lib.rs` splits words at accented letters (`"Café"` becomes `["caf"]`), because it only treats ASCII letters and digits as part of a word. Words in any alphabet must be kept whole, as the doc comment says. Fix it and run `cargo test --offline -q`.
Part of efederici/smol-software-harbor.