We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3be22a9 commit 9fe79bdCopy full SHA for 9fe79bd
1 file changed
text_preprocessing/preprocessor.py
@@ -279,7 +279,6 @@ def process_texts(
279
280
def process_string(self, text: str, keep_all: bool = True) -> Tokens:
281
"""Take a string and return a list of preprocessed tokens"""
282
- mp.set_start_method("spawn")
283
with mp.Pool(1) as pool:
284
for tokens in pool.apply(
285
process_batch_texts,
0 commit comments