From 55e8cade363c128d082507a4e39b06bdc4ca5cf4 Mon Sep 17 00:00:00 2001 From: luvogels Date: Tue, 11 Apr 2017 18:30:15 +0200 Subject: [PATCH] Update __init__.py --- spacy/nb/__init__.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spacy/nb/__init__.py b/spacy/nb/__init__.py index 6389356a7..0392f6520 100644 --- a/spacy/nb/__init__.py +++ b/spacy/nb/__init__.py @@ -12,14 +12,14 @@ from .language_data import * # create Language subclass -class NorwegianBokmal(Language): +class Norwegian(Language): lang = 'nb' # ISO code class Defaults(Language.Defaults): - lex_attr_getters = dict(Language.Defaults.lex_attr_getters) - lex_attr_getters[LANG] = lambda text: 'nb' + lex_attr_getters = dict(Language.Defaults.lex_attr_getters) + lex_attr_getters[LANG] = lambda text: 'nb' - # override defaults - tokenizer_exceptions = TOKENIZER_EXCEPTIONS - #tag_map = TAG_MAP - stop_words = STOP_WORDS \ No newline at end of file + # override defaults + tokenizer_exceptions = TOKENIZER_EXCEPTIONS + #tag_map = TAG_MAP + stop_words = STOP_WORDS