filyp / autocorrect

Spelling corrector in python
GNU Lesser General Public License v3.0
447 stars 79 forks source link

Add support for Czech language and fix download links. #8

Closed vejvarm closed 3 years ago

vejvarm commented 3 years ago

Hello,

I've made a few changes that I think could be beneficial:

  1. generated and pruned a Czech vocab dictionary (cs.tar.gz) and updated constants.py to support Czech alphabet
  2. changed existing and new download links (on dropbox) as the ones to google can't be downloaded due to google virus scan
  3. added option for selecting input encoding for count_words function (without specifying 'utf-8' encoding, I couldn't open the Czech wiki dump file)

This is essentially my first pull request on GitHub so if there is any problem with it, please let me know.

vejvarm commented 3 years ago

Oh god,

I didn't notice that you made changes few hours ago. Links through siasky.net sound much better than Dropbox so my links are quite useless now (heh).

filyp commented 3 years ago

Good job! Thanks for contributing :)