Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyenchant: I am no longer actively maintaining this project. #7

Closed
Sandy4321 opened this issue Oct 5, 2018 · 10 comments
Closed

pyenchant: I am no longer actively maintaining this project. #7

Sandy4321 opened this issue Oct 5, 2018 · 10 comments

Comments

@Sandy4321
Copy link

pyenchant is absolet, can you use another package pls
https://github.com/rfk/pyenchant

it gives the error for installation on windows
E:\AAA_new_Lenovo_start_sep_22_2018\scraping_web\Arxive_papers_oct5\sotawhat-master\sotawhat-master>pip install pyenchant
Collecting pyenchant
Downloading https://files.pythonhosted.org/packages/9e/54/04d88a59efa33fefb88133ceb638cdf754319030c28aadc5a379d82140ed/pyenchant-2.0.0.tar.gz (64kB)
100% |████████████████████████████████| 71kB 951kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\sndr\AppData\Local\Temp\pip-install-ik9f5dml\pyenchant\setup.py", line 212, in
import enchant
File "C:\Users\sndr\AppData\Local\Temp\pip-install-ik9f5dml\pyenchant\enchant_init_.py", line 92, in
from enchant import _enchant as _e
File "C:\Users\sndr\AppData\Local\Temp\pip-install-ik9f5dml\pyenchant\enchant_enchant.py", line 145, in
raise ImportError(msg)
ImportError: The 'enchant' C library was not found. Please install it via your OS package manager, or use a pre-built binary wheel from PyPI.

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\sndr\AppData\Local\Temp\pip-install-ik9f5dml\pyenchant\

@Sandy4321
Copy link
Author

and from https://www.abisource.com/download/
image

@Sandy4321
Copy link
Author

anaconda also have only for linux
https://anaconda.org/search?q=pyenchant

@chiphuyen
Copy link
Owner

chiphuyen commented Oct 6, 2018

I guess I can find a package to replace it. Let me look into it. Thanks!

@Sandy4321
Copy link
Author

did you managed to do this?

@Sandy4321
Copy link
Author

hopefully soon

@Sandy4321
Copy link
Author

today?

@LeenaShekhar
Copy link

If requirement is to just check whether the work is an English word or not then you can use NLTK itself. You can use the function below to check that.

from nltk.corpus import words as nltk_words

NLTK_DICT = dict.fromkeys(nltk_words.words(), None)

def is_english_word(word):

try:  
    x = [word]  
    return True  
except KeyError:  
    return False  

@Sandy4321
Copy link
Author

thanks
can you check code this way?

@Sandy4321
Copy link
Author

can you changer code this way?

@chiphuyen
Copy link
Owner

Switched to pyspellchecker. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants