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

Pickle #53

Open
rominf opened this issue Sep 12, 2018 · 3 comments
Open

Pickle #53

rominf opened this issue Sep 12, 2018 · 3 comments

Comments

@rominf
Copy link

rominf commented Sep 12, 2018

Please, make HunSpell object pickle-compatible. If it helps, there is an extension of pickle: https://pypi.org/project/dill/

@rominf
Copy link
Author

rominf commented Sep 12, 2018

If you have the same problem as I do, you can use: https://github.com/rominf/pyhunspell_serializable

@deronnax
Copy link

deronnax commented Oct 1, 2018

just curious, why do you need hunspell classes to be pickle-able ?

@rominf
Copy link
Author

rominf commented Oct 2, 2018

@deronnax, I use https://github.com/rominf/profanity-filter library (which in turn uses hunspell library) in my Telegram bot app and I use Celery to parallelize tasks. I needed to pass ProfanityFilter which includes Hunspell to my workers through pickle serializer.

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

2 participants