We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3860c4 commit ccbf130Copy full SHA for ccbf130
sparklingml/transformation_functions.py
@@ -109,8 +109,8 @@ def __new__(cls):
109
def get(self, lang):
110
if lang not in self._spacys:
111
import spacy
112
- # Hack to dynamically download languages on cluster machines, you can
113
- # remove if you have the models installed and just do:
+ # Hack to dynamically download languages on cluster machines,
+ # you can remove if you have the models installed and just do:
114
# cls._spacys[lang] = spacy.load(lang)
115
try:
116
old_exit = sys.exit
@@ -153,7 +153,7 @@ def __getstate__(self):
153
def __setstate__(self, bcast):
154
"""Set state, from the broadcast."""
155
self = bcast.value
156
-
+ self
157
158
159
class SpacyTokenize(ScalarVectorizedTransformationFunction):
0 commit comments