From 53674bb745362bcf645ad1bcbb4b485115c7d853 Mon Sep 17 00:00:00 2001 From: Luka Dragar Date: Mon, 28 Mar 2022 10:44:10 +0200 Subject: [PATCH] Examples for Slovene (#10539) * Added examples for Slovene * Update spacy/lang/sl/examples.py Co-authored-by: Adriane Boyd * Corrected a typo in one of the sentences Co-authored-by: Luka Dragar Co-authored-by: Adriane Boyd --- spacy/lang/sl/examples.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 spacy/lang/sl/examples.py diff --git a/spacy/lang/sl/examples.py b/spacy/lang/sl/examples.py new file mode 100644 index 000000000..bf483c6a4 --- /dev/null +++ b/spacy/lang/sl/examples.py @@ -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?", +]