From b012ae3044670016efb2c35b3e8a745a19d80ff0 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 2 Nov 2016 20:38:48 +0100 Subject: [PATCH] Add test for loading languages --- spacy/tests/integration/test_load_languages.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 spacy/tests/integration/test_load_languages.py diff --git a/spacy/tests/integration/test_load_languages.py b/spacy/tests/integration/test_load_languages.py new file mode 100644 index 000000000..7fff8e75c --- /dev/null +++ b/spacy/tests/integration/test_load_languages.py @@ -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?')