From 478a8d1829733d83b1aef2dc4ec818d8bff8ef22 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 24 Apr 2016 18:45:16 +0200 Subject: [PATCH] * Register Chinese language in spacy/__init__.py --- spacy/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spacy/__init__.py b/spacy/__init__.py index ac1fbc2b3..4c8a73797 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -2,10 +2,12 @@ from .util import set_lang_class, get_lang_class, get_package, get_package_by_na from . import en from . import de +from . import zh set_lang_class(en.English.lang, en.English) set_lang_class(de.German.lang, de.German) +set_lang_class(zh.Chinese.lang, zh.Chinese) def load(name, vocab=None, tokenizer=None, parser=None, tagger=None, entity=None,