ICTRC / Parsivar

A Language Processing Toolkit for Persian
MIT License
226 stars 34 forks source link

Error in Pos Tagger and Spell Checker #1

Open SadeghRahmaniB opened 5 years ago

SadeghRahmaniB commented 5 years ago

Hello. When I want to use POS Tagger face this error: "NLTK was unable to find the java file! Use software specific configuration paramaters or set the JAVAHOME environment variable."

and

When I want to use Spell Checker face this error: "[Errno 2] No such file or directory: 'C:\ProgramData\Anaconda3\lib\site-packages\parsivar/resource/spell/mybigram_lm.pckl'" I check the folders in parsivar package and there isn't any spell folder!

How can I solve these errors??

broshanfekr commented 5 years ago

as it has been said in README file To use the spell checker module download it's resources from

https://www.dropbox.com/s/tlyvnzv1ha9y1kl/spell.zip?dl=0

and after extraction copy the spell/ directory to parsivar/resource.

Moeinh77 commented 4 years ago

what about this NLTK was unable to find the java file! Use software specific configuration paramaters or set the JAVAHOME environment variable.