From e4ea2bea01b991ddde345b2b6026cd063765c1a7 Mon Sep 17 00:00:00 2001 From: Wolfgang Seeker Date: Wed, 4 May 2016 07:40:38 +0200 Subject: [PATCH] fix whitespace --- spacy/syntax/iterators.pyx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacy/syntax/iterators.pyx b/spacy/syntax/iterators.pyx index a02dce0b7..516c2e41b 100644 --- a/spacy/syntax/iterators.pyx +++ b/spacy/syntax/iterators.pyx @@ -43,6 +43,7 @@ def german_noun_chunks(doc): for rdep in doc[word.i].rights: if rdep.pos == NOUN and rdep.dep == close_app: rbracket = rdep.i+1 - yield word.left_edge.i, rbracket, np_label + yield word.left_edge.i, rbracket, np_label + CHUNKERS = {'en': english_noun_chunks, 'de': german_noun_chunks}