mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 02:16:32 +03:00
4d85f67eee
* Add punctuation to Spanish example sentences * Combine multilanguage examples for lang xx * Add punctuation to nb examples
19 lines
485 B
Python
19 lines
485 B
Python
# coding: utf8
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
"""
|
|
Example sentences to test spaCy and its language models.
|
|
|
|
>>> from spacy.lang.nb.examples import sentences
|
|
>>> docs = nlp.pipe(sentences)
|
|
"""
|
|
|
|
|
|
sentences = [
|
|
"Apple vurderer å kjøpe britisk oppstartfirma for en milliard dollar.",
|
|
"Selvkjørende biler flytter forsikringsansvaret over på produsentene.",
|
|
"San Francisco vurderer å forby robotbud på fortauene.",
|
|
"London er en stor by i Storbritannia.",
|
|
]
|