Add support for differents languages
Hello,
It would be nice to add support for differents languages. Nice project you got here.
Cheers,
Hey @aloisdg, I would love to add support for other languages! Would you be able to help me by providing a list of common mispellings? The whole world replacement magic behind the spelling bee is in https://github.com/dawsonbotsford/spellingBee/blob/master/words/words.txt but as you already know, there is only support for english at the moment.
I would totally merge a PR if you would help. The left side is the mispelled word and the right side is that same word spelled properly. Problems may arise with apostrophes, dashes, or spaces, but we'll deal with those when we get there!
I can help you in french. If you want to support languages, it may be useful to add a code after the name "words". For example, if you choose the IETF language tag (or ISO 639-1) it will look like this:
words.en-us.txt // with words{delimiter}{code}.txt
and for the french
words.fr.txt
I may look to create this later (tomorrow?)
That's an awesome idea, adding that delimeter. If you could PR the french file in that case, I can rename the original and integrate them in the final project. Sound good?
:+1:
Also some words are commoms (name "Bernouilli->Bernoulli", "Gnu->GNU" or word from another language "Blitzkreig->Blitzkrieg"). Could we create a base for this?