mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-27 20:33:42 +03:00
Add Russian example sentences (see #1107)
This commit is contained in:
parent
901bc0e85f
commit
f1d3deffac
18
spacy/lang/ru/examples.py
Normal file
18
spacy/lang/ru/examples.py
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# coding: utf8
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
|
||||||
|
"""
|
||||||
|
Example sentences to test spaCy and its language models.
|
||||||
|
|
||||||
|
>>> from spacy.lang.ru.examples import sentences
|
||||||
|
>>> docs = nlp.pipe(sentences)
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
sentences = [
|
||||||
|
"Apple рассматривает возможность покупки стартапа из Соединенного Королевства за $1 млрд",
|
||||||
|
"Автономные автомобили переносят страховую ответственность на производителя",
|
||||||
|
"В Сан Франциско рассматривается возможность запрета роботов-курьеров, которые перемещаются по тротуару",
|
||||||
|
"Лондон - большой город Соединенного Королевства"
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user