mirror of
https://github.com/explosion/spaCy.git
synced 2024-09-22 20:09:18 +03:00
f6be28cfb2
Add South African Setswana Language
19 lines
495 B
Python
19 lines
495 B
Python
# coding: utf8
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
"""
|
|
Example sentences to test spaCy and its language models.
|
|
>>> from spacy.lang.en.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?",
|
|
] |