Update v2-1.md

This commit is contained in:
Ines Montani 2019-02-21 12:33:56 +01:00
parent 7d529ebdfb
commit 236aa94ded
1 changed files with 5 additions and 0 deletions

View File

@ -227,6 +227,11 @@ if all of your models are up to date, you can run the
+ sentence_splitter = nlp.create_pipe("sentencizer")
```
- The keyword argument `n_threads` on the `.pipe` methods is now deprecated, as
the v2.x models cannot release the global interpreter lock. (Future versions
may introduce a `n_process` argument for parallel inference via
multiprocessing.)
- The `Doc.print_tree` method is now deprecated. If you need a custom nested
JSON representation of a `Doc` object, you might want to write your own helper
function. For a simple and consistent JSON representation of the `Doc` object