mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Update languages and examples (see #1107)
This commit is contained in:
parent
37f744ca00
commit
4f1dae1c6b
|
@ -5,7 +5,7 @@ from __future__ import unicode_literals
|
|||
"""
|
||||
Example sentences to test spaCy and its language models.
|
||||
|
||||
>>> from spacy.lang.en.examples import sentences
|
||||
>>> from spacy.lang.id.examples import sentences
|
||||
>>> docs = nlp.pipe(sentences)
|
||||
"""
|
||||
|
||||
|
|
18
spacy/lang/sq/examples.py
Normal file
18
spacy/lang/sq/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.sq.examples import sentences
|
||||
>>> docs = nlp.pipe(sentences)
|
||||
"""
|
||||
|
||||
|
||||
sentences = [
|
||||
"Apple po shqyrton blerjen e nje shoqërie të U.K. për 1 miliard dollarë",
|
||||
"Makinat autonome ndryshojnë përgjegjësinë e sigurimit ndaj prodhuesve",
|
||||
"San Francisko konsideron ndalimin e robotëve të shpërndarjes",
|
||||
"Londra është një qytet i madh në Mbretërinë e Bashkuar.",
|
||||
]
|
|
@ -106,7 +106,12 @@
|
|||
{ "code": "hi", "name": "Hindi", "example": "यह एक वाक्य है।", "has_examples": true },
|
||||
{ "code": "kn", "name": "Kannada" },
|
||||
{ "code": "ta", "name": "Tamil", "has_examples": true },
|
||||
{ "code": "id", "name": "Indonesian", "has_examples": true },
|
||||
{
|
||||
"code": "id",
|
||||
"name": "Indonesian",
|
||||
"example": "Ini adalah sebuah kalimat.",
|
||||
"has_examples": true
|
||||
},
|
||||
{ "code": "tl", "name": "Tagalog" },
|
||||
{ "code": "af", "name": "Afrikaans" },
|
||||
{ "code": "bg", "name": "Bulgarian" },
|
||||
|
@ -116,7 +121,12 @@
|
|||
{ "code": "lv", "name": "Latvian" },
|
||||
{ "code": "sk", "name": "Slovak" },
|
||||
{ "code": "sl", "name": "Slovenian" },
|
||||
{ "code": "sq", "name": "Albanian" },
|
||||
{
|
||||
"code": "sq",
|
||||
"name": "Albanian",
|
||||
"example": "Kjo është një fjali.",
|
||||
"has_examples": true
|
||||
},
|
||||
{ "code": "et", "name": "Estonian" },
|
||||
{
|
||||
"code": "th",
|
||||
|
|
Loading…
Reference in New Issue
Block a user