mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 10:26:35 +03:00
53674bb745
* 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>
19 lines
575 B
Python
19 lines
575 B
Python
"""
|
|
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?",
|
|
]
|