myint / language-check

Python wrapper for LanguageTool grammar checker
https://pypi.python.org/pypi/language-check
GNU Lesser General Public License v3.0
327 stars 101 forks source link

Can't disable spell checking for Italian (it) #27

Open friedelwolff opened 8 years ago

friedelwolff commented 8 years ago

Here is a simple test case to show that LanuageTool.disable_spellcheck() is not working correctly for Italian. I'm not sure if this is a problem here or in LanguageTool, but I thought I'll start by reporting here:

from language_check import LanguageTool
t = LanguageTool(language='it')
t.disable_spellchecking()
#this contains MORFOLOGIK_RULE_IT:
print(t._spell_checking_rules)
#this unfortunately contains MORFOLOGIK_RULE_IT_IT:
print(t.check('Non le fate piu?'))
jxmorris12 commented 4 years ago

Hi! Since this project has been abandoned, I started a new fork over at https://github.com/jxmorris12/language_tool_python.

My version supports new versions of Java and LanguageTool. language-check is stuck on Java 8 and LanguageTool 3.2; latest versions are Java 14 and LanguageTool 4.9!

I'm happy to help you with your issue if you raise it over at my repository! Thanks!