Shared Vocab when saving a set of PhraseMatchers #12766
-
Hi all, Thanks in advance for your help Olivier |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks for your question! If you are using the regular
So as long as you pickle the whole dictionary at once, there shouldn't be N vocabulary objects. |
Beta Was this translation helpful? Give feedback.
Thanks for your question! If you are using the regular
pickle
module, shared objects should only be pickled once:So as long as you pickle the whole dictionary at once, there shouldn't be N vocabulary objects.