natural
natural copied to clipboard
Can we add "y'all" to the normalizer conversion table?
In my app i'm finding "y'all" to be a somewhat common contraction that isn't accounted for in normalizer.js: https://github.com/NaturalNode/natural/blob/master/lib/natural/normalizers/normalizer.js#L34
Y'all better fix this or y'all fixin to git a whoopin bi the Southern Man.
#sarcasm #dialects
You should use something like expand-contractions before passing your String to the tokenizer.
See #533
Ref: https://github.com/stdlib-js/stdlib/issues/496
Won't fix, is better solved with preprocessing.