From 70a95045603827fa2ca582128450702c67a89ab9 Mon Sep 17 00:00:00 2001 From: ines Date: Sat, 4 Nov 2017 23:06:55 +0100 Subject: [PATCH] Add inbetween print statement --- examples/pipeline/multi_processing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/pipeline/multi_processing.py b/examples/pipeline/multi_processing.py index 99bb9c53f..d6e98752e 100644 --- a/examples/pipeline/multi_processing.py +++ b/examples/pipeline/multi_processing.py @@ -33,6 +33,7 @@ def main(output_dir, model='en_core_web_sm', n_jobs=4, batch_size=1000, print("Loading IMDB data...") data, _ = thinc.extra.datasets.imdb() texts, _ = zip(*data[-limit:]) + print("Processing texts...") partitions = partition_all(batch_size, texts) items = ((i, [nlp(text) for text in texts], output_dir) for i, texts in enumerate(partitions))