Closed oscar-defelice closed 2 years ago
After a bit of browsing in the code, I guess (but please correct me if I am wrong) what should be done in order to add a new language is
autocorrect.constants
dictionariesYou're right, I forgot to mention it in readme. Thanks for catching that!
You need to add an entry both in word_regexes
and alphabets
dicts.
I followed your instructions but I got an error when I try to count words from language corpus. I attach a screenshot here, but the error log is the following
My guess is that this is related to the key languages present in
word_regexes
dict.