Update examples.py

I have removed two lines:
# coding: utf8
from __future__ import unicode_literals

And updated: >>> from spacy.lang.tn.examples import sentences
This commit is contained in:
Shumi 2021-02-11 21:25:58 +02:00 committed by GitHub
parent 39eeba6760
commit 37ec67f868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,6 @@
# coding: utf8
from __future__ import unicode_literals
"""
Example sentences to test spaCy and its language models.
>>> from spacy.lang.en.examples import sentences
>>> from spacy.lang.tn.examples import sentences
>>> docs = nlp.pipe(sentences)
"""
@ -16,4 +12,4 @@ sentences = [
"ke mang presidente ya Afrika Borwa?",
"ke eng toropo kgolo ya Afrika Borwa?",
"Nelson Mandela o belegwe leng?",
]
]