From ae99990f63c7ad92dbb2166844172b7f2fc74303 Mon Sep 17 00:00:00 2001 From: ines Date: Mon, 8 May 2017 22:23:48 +0200 Subject: [PATCH] Fix formatting --- spacy/lang/entity_rules.py | 1 + spacy/lang/fi/stop_words.py | 1 + spacy/lang/fr/_tokenizer_exceptions_list.py | 1 - spacy/lang/hu/lemmatizer.py | 1 + spacy/lang/it/lemmatizer.py | 1 + 5 files changed, 4 insertions(+), 1 deletion(-) diff --git a/spacy/lang/entity_rules.py b/spacy/lang/entity_rules.py index 7e16a5837..241b28c25 100644 --- a/spacy/lang/entity_rules.py +++ b/spacy/lang/entity_rules.py @@ -3,6 +3,7 @@ from __future__ import unicode_literals from ..symbols import ORTH, ENT_TYPE, LOWER + ENT_ID = "ent_id" diff --git a/spacy/lang/fi/stop_words.py b/spacy/lang/fi/stop_words.py index bc9b779ca..c43dc4404 100644 --- a/spacy/lang/fi/stop_words.py +++ b/spacy/lang/fi/stop_words.py @@ -1,6 +1,7 @@ # coding: utf8 from __future__ import unicode_literals + # Source https://github.com/stopwords-iso/stopwords-fi/blob/master/stopwords-fi.txt # Reformatted with some minor corrections diff --git a/spacy/lang/fr/_tokenizer_exceptions_list.py b/spacy/lang/fr/_tokenizer_exceptions_list.py index 3cb59204b..37df0ba16 100644 --- a/spacy/lang/fr/_tokenizer_exceptions_list.py +++ b/spacy/lang/fr/_tokenizer_exceptions_list.py @@ -1,5 +1,4 @@ # coding: utf8 - from __future__ import unicode_literals diff --git a/spacy/lang/hu/lemmatizer.py b/spacy/lang/hu/lemmatizer.py index faeaf5e6c..21fc01ec9 100644 --- a/spacy/lang/hu/lemmatizer.py +++ b/spacy/lang/hu/lemmatizer.py @@ -1,6 +1,7 @@ # coding: utf8 from __future__ import unicode_literals + LOOKUP = { "Aaronsonnak": "Aaronson", "Aaronsont": "Aaronson", diff --git a/spacy/lang/it/lemmatizer.py b/spacy/lang/it/lemmatizer.py index da9cbc54d..220ada247 100644 --- a/spacy/lang/it/lemmatizer.py +++ b/spacy/lang/it/lemmatizer.py @@ -1,6 +1,7 @@ # coding: utf8 from __future__ import unicode_literals + LOOKUP = { "'ndranghete": "'ndrangheta", "'ndrine": "'ndrina",