mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
Merge branch 'master' into spacy.io
This commit is contained in:
commit
2fdae80edf
|
@ -60,7 +60,7 @@ the component has been added to the pipeline using
|
||||||
> sentencizer = nlp.create_pipe("sentencizer")
|
> sentencizer = nlp.create_pipe("sentencizer")
|
||||||
> nlp.add_pipe(sentencizer)
|
> nlp.add_pipe(sentencizer)
|
||||||
> doc = nlp("This is a sentence. This is another sentence.")
|
> doc = nlp("This is a sentence. This is another sentence.")
|
||||||
> assert list(doc.sents) == 2
|
> assert len(list(doc.sents)) == 2
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
| Name | Type | Description |
|
| Name | Type | Description |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user