From 5ac735df3379efc09ae5ab575e78b1f7c96d9096 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 2 Nov 2016 20:05:14 +0100 Subject: [PATCH] Link languages in __init__.py --- spacy/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spacy/__init__.py b/spacy/__init__.py index a99d1cd2f..d8045ee4a 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -5,6 +5,9 @@ from .util import set_lang_class, get_lang_class from . import en from . import de from . import zh +from . import es +from . import it +from . import pt try: @@ -15,6 +18,10 @@ except NameError: set_lang_class(en.English.lang, en.English) set_lang_class(de.German.lang, de.German) +set_lang_class(es.Spanish.lang, es.Spanish) +set_lang_class(pt.Portuguese.lang, pt.Portuguese) +set_lang_class(fr.French.lang, fr.French) +set_lang_class(it.Italian.lang, it.Italian) set_lang_class(zh.Chinese.lang, zh.Chinese)