From c7cec7e5e23f50ab4044364fc525ff48ab52da84 Mon Sep 17 00:00:00 2001 From: luvogels Date: Wed, 12 Apr 2017 17:59:55 +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 0392f6520..7d4b471a2 100644 --- a/spacy/nb/__init__.py +++ b/spacy/nb/__init__.py @@ -15,11 +15,11 @@ from .language_data import * 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' + class Defaults(Language.Defaults): + 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 + # override defaults + tokenizer_exceptions = TOKENIZER_EXCEPTIONS + #tag_map = TAG_MAP + stop_words = STOP_WORDS