mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
Add test for loading languages
This commit is contained in:
parent
ad1c747c6b
commit
b012ae3044
7
spacy/tests/integration/test_load_languages.py
Normal file
7
spacy/tests/integration/test_load_languages.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# encoding: utf8
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
from ...fr import French
|
||||||
|
|
||||||
|
def test_load_french():
|
||||||
|
nlp = French()
|
||||||
|
doc = nlp(u'Parlez-vous français?')
|
Loading…
Reference in New Issue
Block a user