mirror of https://github.com/explosion/spaCy.git
Update docstring and example
This commit is contained in:
parent
ed69bd69f4
commit
4eabaafd66
|
@ -1,11 +1,11 @@
|
||||||
"""
|
"""
|
||||||
Print part-of-speech tagged, true-cased, (very roughly) sentence-separated
|
Example of multi-processing with joblib. Here, we're exporting
|
||||||
text, with each "sentence" on a newline, and spaces between tokens. Supports
|
part-of-speech-tagged, true-cased, (very roughly) sentence-separated text, with
|
||||||
multi-processing.
|
each "sentence" on a newline, and spaces between tokens.
|
||||||
|
|
||||||
Last updated for: spaCy 2.0.0a18
|
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 toolz import partition_all
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from joblib import Parallel, delayed
|
from joblib import Parallel, delayed
|
||||||
|
|
Loading…
Reference in New Issue