Can't retrieve unregistered extension attribute 'is_doid_term'. Did you forget to call the set_extension
method?
#11212
-
We define and add the following extratcor to spacy pipeline:
and then in the
It works good as I want. Now I have a dataframe where each row include a column called text including some text. So I write I the following function:
and I want to parrallelise the use of this functio. So, in the main I add the following:
When run the main I get the following error:
I dont know how to solve this issue. any suggestion. Thanks Noting that if I set the number of jobs to 1, the code works perfectly? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
It looks like your Also see #9184 for a similar issue. |
Beta Was this translation helpful? Give feedback.
-
@adrianeboyd can I get your help to solve this issue please? |
Beta Was this translation helpful? Give feedback.
-
I didn't realize it in my previous reply, but this is a general issue with extensions and multiprocessing. See #8352 (comment) for background and a fix. |
Beta Was this translation helpful? Give feedback.
-
The mentionned comment doesnt solve the issue |
Beta Was this translation helpful? Give feedback.
-
@polm Thanks for your suggestion. I solved this issue by reduplicate the set_extensions inside the call :) |
Beta Was this translation helpful? Give feedback.
I didn't realize it in my previous reply, but this is a general issue with extensions and multiprocessing. See #8352 (comment) for background and a fix.