mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-19 05:54:11 +03:00
ada4fc0f09
* Fix on_match callback and remove empty patterns (#6312) For the `DependencyMatcher`: * Fix on_match callback so that it is called once per matched pattern * Fix results so that patterns with empty match lists are not returned * Add --prefer-binary for python 3.5 * Add version pins for pyrsistent * Use backwards-compatible super() * Try to fix tests on Travis (2.7) * Fix naming conflict and formatting * Update pkuseg version in Chinese tokenizer warnings * Some changes for Armenian (#5616) * Fixing numericals * We need a Armenian question sign to make the sentence a question * Update lex_attrs.py (#5608) * Fix compat * Update Armenian from v2.3.x Co-authored-by: Ines Montani <ines@ines.io> Co-authored-by: Karen Hambardzumyan <mahnerak@gmail.com> Co-authored-by: Marat M. Yavrumyan <myavrum@ysu.am>
17 lines
497 B
Python
17 lines
497 B
Python
# coding: utf8
|
|
from __future__ import unicode_literals
|
|
|
|
"""
|
|
Example sentences to test spaCy and its language models.
|
|
>>> from spacy.lang.hy.examples import sentences
|
|
>>> docs = nlp.pipe(sentences)
|
|
"""
|
|
|
|
|
|
sentences = [
|
|
"Լոնդոնը Միացյալ Թագավորության մեծ քաղաք է։",
|
|
"Ո՞վ է Ֆրանսիայի նախագահը։",
|
|
"Ո՞րն է Միացյալ Նահանգների մայրաքաղաքը։",
|
|
"Ե՞րբ է ծնվել Բարաք Օբաման։",
|
|
]
|