From b293682d046f2630b3bd0c1fa6d17fe368f85f2b Mon Sep 17 00:00:00 2001 From: Lasse Regin Nielsen Date: Wed, 2 May 2018 10:46:08 +0200 Subject: [PATCH] fixed indentation --- polyglot/text.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/polyglot/text.py b/polyglot/text.py index 68411a1..510f74d 100644 --- a/polyglot/text.py +++ b/polyglot/text.py @@ -140,9 +140,9 @@ def entities(self): chunks.append(Chunk(self.words[start: i], start, i, tag=prev_tag, parent=self)) prev_tag = tag - if tag != u'O': - chunks.append(Chunk(self.words[start: i+1], start, i+1, tag=tag, - parent=self)) + if tag != u'O': + chunks.append(Chunk(self.words[start: i+1], start, i+1, tag=tag, + parent=self)) return chunks @cached_property