INPUT: ``` import spacy nlp = spacy.load('en') doc1 = nlp(u"They have killed the bat last night. We were so scared!") for token in doc1: print(token) ``` OUTPUT: They have killed the bat last night . We we re so scared the "were" has been tokenized wrongly!
INPUT:
OUTPUT:
They
have
killed
the
bat
last
night
.
We
we
re
so
scared
the "were" has been tokenized wrongly!