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

Can't use Spacy-Stanza in a databricks/spark UDF #86

Open
DanTyackDB opened this issue Dec 21, 2022 · 0 comments
Open

Can't use Spacy-Stanza in a databricks/spark UDF #86

DanTyackDB opened this issue Dec 21, 2022 · 0 comments

Comments

@DanTyackDB
Copy link

I am using Spacy in a pyspark dataframe in a UDF. Regular Spacy works fine, but with spacy-stanza I get a 'pickling error', which suggests to me that the library is not serializable.
Here's the error: [PicklingError: Could not serialize object: TypeError: can't pickle _thread.RLock objects

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

1 participant