mirror of https://github.com/explosion/spaCy.git
Examples for Slovene (#10539)
* Added examples for Slovene * Update spacy/lang/sl/examples.py Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> * Corrected a typo in one of the sentences Co-authored-by: Luka Dragar <D20124481@mytudublin.ie> Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
parent
d5666fd12d
commit
53674bb745
|
@ -0,0 +1,18 @@
|
||||||
|
"""
|
||||||
|
Example sentences to test spaCy and its language models.
|
||||||
|
|
||||||
|
>>> from spacy.lang.sl.examples import sentences
|
||||||
|
>>> docs = nlp.pipe(sentences)
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
sentences = [
|
||||||
|
"Apple načrtuje nakup britanskega startupa za 1 bilijon dolarjev",
|
||||||
|
"France Prešeren je umrl 8. februarja 1849 v Kranju",
|
||||||
|
"Staro ljubljansko letališče Moste bo obnovila družba BTC",
|
||||||
|
"London je največje mesto v Združenem kraljestvu.",
|
||||||
|
"Kje se skrivaš?",
|
||||||
|
"Kdo je predsednik Francije?",
|
||||||
|
"Katero je glavno mesto Združenih držav Amerike?",
|
||||||
|
"Kdaj je bil rojen Milan Kučan?",
|
||||||
|
]
|
Loading…
Reference in New Issue