diff --git a/spacy/lang/id/examples.py b/spacy/lang/id/examples.py index ba1b6d964..56ac9165e 100644 --- a/spacy/lang/id/examples.py +++ b/spacy/lang/id/examples.py @@ -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) """ diff --git a/spacy/lang/sq/examples.py b/spacy/lang/sq/examples.py new file mode 100644 index 000000000..c51a0da39 --- /dev/null +++ b/spacy/lang/sq/examples.py @@ -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.", +] diff --git a/website/meta/languages.json b/website/meta/languages.json index defb08037..cfa468d7f 100644 --- a/website/meta/languages.json +++ b/website/meta/languages.json @@ -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",