-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
I know that sentence segmentation is more difficult than it appears, but this looks like an error that spaCy might want to know about. Or if there is something I am doing wrong, it would be good for me to know :)
text = "He has a Ph.D. in tacology."
tokens = parser(text)
for sent in tokens.sents:
print("Sentence:")
print(sent)
print()
results in
Sentence:
He has a Ph.
Sentence:
D. in tacology.
In Python 3.5, spaCy version 1.1.2.
savkov
Metadata
Metadata
Assignees
Labels
No labels