From 3ea23a3f4db561f800a21bed9b25ced648b826d4 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 3 May 2017 09:44:38 +0200 Subject: [PATCH] Fix formatting --- spacy/ja/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacy/ja/__init__.py b/spacy/ja/__init__.py index 2915d6330..07e40ada6 100644 --- a/spacy/ja/__init__.py +++ b/spacy/ja/__init__.py @@ -17,6 +17,7 @@ class Japanese(Language): try: from janome.tokenizer import Tokenizer except ImportError: - raise ImportError("The Japanese tokenizer requires the Janome library: https://github.com/mocobeta/janome") + raise ImportError("The Japanese tokenizer requires the Janome library: " + "https://github.com/mocobeta/janome") words = [x.surface for x in Tokenizer().tokenize(text)] return Doc(self.vocab, words=words, spaces=[False]*len(words))