From 4eabaafd667c97c2f5e9bbd65cf2fd775b0fbef8 Mon Sep 17 00:00:00 2001 From: ines Date: Fri, 27 Oct 2017 01:50:44 +0200 Subject: [PATCH] Update docstring and example --- examples/parallel_tag.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/parallel_tag.py b/examples/parallel_tag.py index a6571a2ac..445b9fb69 100644 --- a/examples/parallel_tag.py +++ b/examples/parallel_tag.py @@ -1,11 +1,11 @@ """ -Print part-of-speech tagged, true-cased, (very roughly) sentence-separated -text, with each "sentence" on a newline, and spaces between tokens. Supports -multi-processing. +Example of multi-processing with joblib. Here, we're exporting +part-of-speech-tagged, true-cased, (very roughly) sentence-separated text, with +each "sentence" on a newline, and spaces between tokens. Last updated for: spaCy 2.0.0a18 """ -from __future__ import print_function, unicode_literals, division +from __future__ import print_function, unicode_literals from toolz import partition_all from pathlib import Path from joblib import Parallel, delayed