mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-14 21:57:15 +03:00
6 lines
198 B
Plaintext
6 lines
198 B
Plaintext
|
>>> from spacy.en import English
|
||
|
>>> nlp = English()
|
||
|
>>> doc = nlp(u'Hello, world. Here are two sentences.')
|
||
|
>>> print([s.string for s in doc.sents])
|
||
|
[u'Hello, world. ', u'Here are two sentences.']
|