mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-16 06:37:04 +03:00
37ec67f868
I have removed two lines: # coding: utf8 from __future__ import unicode_literals And updated: >>> from spacy.lang.tn.examples import sentences
16 lines
436 B
Python
16 lines
436 B
Python
"""
|
|
Example sentences to test spaCy and its language models.
|
|
>>> from spacy.lang.tn.examples import sentences
|
|
>>> docs = nlp.pipe(sentences)
|
|
"""
|
|
|
|
|
|
sentences = [
|
|
"Apple e nyaka go reka JSE ka tlhwatlhwa ta R1 billion",
|
|
"Johannesburg ke toropo e kgolo mo Afrika Borwa.",
|
|
"O ko kae?",
|
|
"ke mang presidente ya Afrika Borwa?",
|
|
"ke eng toropo kgolo ya Afrika Borwa?",
|
|
"Nelson Mandela o belegwe leng?",
|
|
]
|