November 2018
Beginner to intermediate
182 pages
4h 48m
English
We can also use spaCy to extract one sentence at a time, instead of one word at a time:
sentences = list(doc.sents)print(sentences[14:18])
The following is the output from the preceding code:
[she is always THE woman., I have seldom heard him mention her under any other name., In his eyes she eclipse and predominates the whole of her sex., It was not that he felt any emotion akin to love for Irene Adler.]
Read now
Unlock full access