diff --git a/spacy/bn/__init__.py b/spacy/bn/__init__.py index 198d4d8c6..d9fcb3dd2 100644 --- a/spacy/bn/__init__.py +++ b/spacy/bn/__init__.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals, print_function from ..language import Language diff --git a/spacy/bn/language_data.py b/spacy/bn/language_data.py index 1925f9029..516d6a75b 100644 --- a/spacy/bn/language_data.py +++ b/spacy/bn/language_data.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from spacy.language_data import strings_to_exc, update_exc diff --git a/spacy/bn/lemma_rules.py b/spacy/bn/lemma_rules.py index 59db5d052..a09869f6f 100644 --- a/spacy/bn/lemma_rules.py +++ b/spacy/bn/lemma_rules.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals # Source: উচ্চতর বাংলা ব্যাকরণ ও রচনা - অধ্যাপক নিরঞ্জন অধিকারী ও অধ্যাপক ড. সফিউদ্দিন আহমদ diff --git a/spacy/bn/morph_rules.py b/spacy/bn/morph_rules.py index 3a0cebcbc..efa5a6185 100644 --- a/spacy/bn/morph_rules.py +++ b/spacy/bn/morph_rules.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..language_data import PRON_LEMMA diff --git a/spacy/bn/punctuation.py b/spacy/bn/punctuation.py index 64fefc241..3dd3e3a62 100644 --- a/spacy/bn/punctuation.py +++ b/spacy/bn/punctuation.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..language_data.punctuation import ALPHA_LOWER, LIST_ELLIPSES, QUOTES, ALPHA_UPPER, LIST_QUOTES, UNITS, \ diff --git a/spacy/bn/stop_words.py b/spacy/bn/stop_words.py index b1e1f783f..dc7752c6c 100644 --- a/spacy/bn/stop_words.py +++ b/spacy/bn/stop_words.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/bn/tag_map.py b/spacy/bn/tag_map.py index 3dcd9bdcf..2efae3a6a 100644 --- a/spacy/bn/tag_map.py +++ b/spacy/bn/tag_map.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/de/__init__.py b/spacy/de/__init__.py index 3143a5cd4..37a57d676 100644 --- a/spacy/de/__init__.py +++ b/spacy/de/__init__.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals, print_function from os import path diff --git a/spacy/de/language_data.py b/spacy/de/language_data.py index 5e09c0eb3..83894e553 100644 --- a/spacy/de/language_data.py +++ b/spacy/de/language_data.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from .. import language_data as base diff --git a/spacy/de/stop_words.py b/spacy/de/stop_words.py index 66a89eee8..c07124793 100644 --- a/spacy/de/stop_words.py +++ b/spacy/de/stop_words.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/de/tag_map.py b/spacy/de/tag_map.py index 050bc8255..0edd7a086 100644 --- a/spacy/de/tag_map.py +++ b/spacy/de/tag_map.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/de/tokenizer_exceptions.py b/spacy/de/tokenizer_exceptions.py index 0d8dc54e8..76fa1e9da 100644 --- a/spacy/de/tokenizer_exceptions.py +++ b/spacy/de/tokenizer_exceptions.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/en/__init__.py b/spacy/en/__init__.py index f39faf308..8572c81f8 100644 --- a/spacy/en/__init__.py +++ b/spacy/en/__init__.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals, print_function from os import path diff --git a/spacy/en/language_data.py b/spacy/en/language_data.py index 401abef23..54e9c8c32 100644 --- a/spacy/en/language_data.py +++ b/spacy/en/language_data.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from .. import language_data as base diff --git a/spacy/en/morph_rules.py b/spacy/en/morph_rules.py index ab5c2b6a0..2c088f09b 100644 --- a/spacy/en/morph_rules.py +++ b/spacy/en/morph_rules.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/en/tag_map.py b/spacy/en/tag_map.py index 5884d8fd4..ea14f7d4d 100644 --- a/spacy/en/tag_map.py +++ b/spacy/en/tag_map.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/en/tokenizer_exceptions.py b/spacy/en/tokenizer_exceptions.py index fac5465ac..06602702e 100644 --- a/spacy/en/tokenizer_exceptions.py +++ b/spacy/en/tokenizer_exceptions.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/es/__init__.py b/spacy/es/__init__.py index 216a60d15..b925e648a 100644 --- a/spacy/es/__init__.py +++ b/spacy/es/__init__.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals, print_function from os import path diff --git a/spacy/es/language_data.py b/spacy/es/language_data.py index 1c5acb4f3..3b6ae5023 100644 --- a/spacy/es/language_data.py +++ b/spacy/es/language_data.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from .. import language_data as base diff --git a/spacy/es/stop_words.py b/spacy/es/stop_words.py index 8dc4f11e0..e29b68f13 100644 --- a/spacy/es/stop_words.py +++ b/spacy/es/stop_words.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/es/tokenizer_exceptions.py b/spacy/es/tokenizer_exceptions.py index 93bc74642..e60bcd104 100644 --- a/spacy/es/tokenizer_exceptions.py +++ b/spacy/es/tokenizer_exceptions.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/fi/__init__.py b/spacy/fi/__init__.py index 79a92b970..fd1f712ac 100644 --- a/spacy/fi/__init__.py +++ b/spacy/fi/__init__.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals, print_function from ..language import Language diff --git a/spacy/fi/language_data.py b/spacy/fi/language_data.py index 8bf88842a..74f137631 100644 --- a/spacy/fi/language_data.py +++ b/spacy/fi/language_data.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from .. import language_data as base diff --git a/spacy/fi/stop_words.py b/spacy/fi/stop_words.py index 16ee26d10..bc9b779ca 100644 --- a/spacy/fi/stop_words.py +++ b/spacy/fi/stop_words.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals # Source https://github.com/stopwords-iso/stopwords-fi/blob/master/stopwords-fi.txt diff --git a/spacy/fi/tokenizer_exceptions.py b/spacy/fi/tokenizer_exceptions.py index abb43c139..52ea7428a 100644 --- a/spacy/fi/tokenizer_exceptions.py +++ b/spacy/fi/tokenizer_exceptions.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/fr/__init__.py b/spacy/fr/__init__.py index cf371d3c2..09edce143 100644 --- a/spacy/fr/__init__.py +++ b/spacy/fr/__init__.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals, print_function from ..language import Language, BaseDefaults diff --git a/spacy/fr/_tokenizer_exceptions_list.py b/spacy/fr/_tokenizer_exceptions_list.py index cecb8cb64..48b7e30a2 100644 --- a/spacy/fr/_tokenizer_exceptions_list.py +++ b/spacy/fr/_tokenizer_exceptions_list.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/fr/language_data.py b/spacy/fr/language_data.py index 7b7674168..e199fad60 100644 --- a/spacy/fr/language_data.py +++ b/spacy/fr/language_data.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from .stop_words import STOP_WORDS diff --git a/spacy/fr/punctuation.py b/spacy/fr/punctuation.py index f36688884..a7a45b65d 100644 --- a/spacy/fr/punctuation.py +++ b/spacy/fr/punctuation.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/fr/stop_words.py b/spacy/fr/stop_words.py index 52e4f6f0c..d9b820537 100644 --- a/spacy/fr/stop_words.py +++ b/spacy/fr/stop_words.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/fr/tokenizer_exceptions.py b/spacy/fr/tokenizer_exceptions.py index 84a75f7fb..43806e270 100644 --- a/spacy/fr/tokenizer_exceptions.py +++ b/spacy/fr/tokenizer_exceptions.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/hu/__init__.py b/spacy/hu/__init__.py index a923c68e8..e5f8d0a45 100644 --- a/spacy/hu/__init__.py +++ b/spacy/hu/__init__.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals, print_function from .tokenizer_exceptions import TOKEN_MATCH diff --git a/spacy/hu/language_data.py b/spacy/hu/language_data.py index 57b473527..e888c677a 100644 --- a/spacy/hu/language_data.py +++ b/spacy/hu/language_data.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from spacy.language_data import strings_to_exc, update_exc diff --git a/spacy/hu/punctuation.py b/spacy/hu/punctuation.py index 945cc170e..69f3eb4f2 100644 --- a/spacy/hu/punctuation.py +++ b/spacy/hu/punctuation.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..language_data.punctuation import ALPHA_LOWER, LIST_ELLIPSES, QUOTES, ALPHA_UPPER, LIST_QUOTES, UNITS, \ diff --git a/spacy/hu/stop_words.py b/spacy/hu/stop_words.py index aad992e6e..9977c6ec0 100644 --- a/spacy/hu/stop_words.py +++ b/spacy/hu/stop_words.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/hu/tokenizer_exceptions.py b/spacy/hu/tokenizer_exceptions.py index f1fb99469..85cf72ec9 100644 --- a/spacy/hu/tokenizer_exceptions.py +++ b/spacy/hu/tokenizer_exceptions.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals import re diff --git a/spacy/it/__init__.py b/spacy/it/__init__.py index bc0d13cab..5ebefb6b2 100644 --- a/spacy/it/__init__.py +++ b/spacy/it/__init__.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals, print_function from ..language import Language diff --git a/spacy/it/language_data.py b/spacy/it/language_data.py index a4a657c33..f9899d8d1 100644 --- a/spacy/it/language_data.py +++ b/spacy/it/language_data.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from .. import language_data as base diff --git a/spacy/it/stop_words.py b/spacy/it/stop_words.py index cf5697514..e03242d46 100644 --- a/spacy/it/stop_words.py +++ b/spacy/it/stop_words.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/language_data/abbreviations.py b/spacy/language_data/abbreviations.py index b49daa0ad..a3e95ce1a 100644 --- a/spacy/language_data/abbreviations.py +++ b/spacy/language_data/abbreviations.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/language_data/emoticons.py b/spacy/language_data/emoticons.py index 3adf12be8..223176c9c 100644 --- a/spacy/language_data/emoticons.py +++ b/spacy/language_data/emoticons.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/language_data/entity_rules.py b/spacy/language_data/entity_rules.py index 4217ecfcf..85c201827 100644 --- a/spacy/language_data/entity_rules.py +++ b/spacy/language_data/entity_rules.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/language_data/punctuation.py b/spacy/language_data/punctuation.py index 02329ef92..fbc93f313 100644 --- a/spacy/language_data/punctuation.py +++ b/spacy/language_data/punctuation.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals import re diff --git a/spacy/language_data/tag_map.py b/spacy/language_data/tag_map.py index b861f39f5..ead6dd1c6 100644 --- a/spacy/language_data/tag_map.py +++ b/spacy/language_data/tag_map.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/language_data/util.py b/spacy/language_data/util.py index 825de8eab..10cd161aa 100644 --- a/spacy/language_data/util.py +++ b/spacy/language_data/util.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/nl/__init__.py b/spacy/nl/__init__.py index d4aa39506..6e1bbea70 100644 --- a/spacy/nl/__init__.py +++ b/spacy/nl/__init__.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals, print_function from ..language import Language diff --git a/spacy/nl/language_data.py b/spacy/nl/language_data.py index a4a657c33..f9899d8d1 100644 --- a/spacy/nl/language_data.py +++ b/spacy/nl/language_data.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from .. import language_data as base diff --git a/spacy/nl/stop_words.py b/spacy/nl/stop_words.py index bef6871b2..22f1d714c 100644 --- a/spacy/nl/stop_words.py +++ b/spacy/nl/stop_words.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/orth.pyx b/spacy/orth.pyx index 1e7d87a7d..997f88d06 100644 --- a/spacy/orth.pyx +++ b/spacy/orth.pyx @@ -1,4 +1,4 @@ -# -*- coding: utf8 -*- +# coding: utf8 # cython: infer_types=True from __future__ import unicode_literals import unicodedata diff --git a/spacy/pt/__init__.py b/spacy/pt/__init__.py index ed26fb0b3..b4ee5e339 100644 --- a/spacy/pt/__init__.py +++ b/spacy/pt/__init__.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals, print_function from ..language import Language diff --git a/spacy/pt/language_data.py b/spacy/pt/language_data.py index a4a657c33..f9899d8d1 100644 --- a/spacy/pt/language_data.py +++ b/spacy/pt/language_data.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from .. import language_data as base diff --git a/spacy/pt/stop_words.py b/spacy/pt/stop_words.py index d0008457c..311b82477 100644 --- a/spacy/pt/stop_words.py +++ b/spacy/pt/stop_words.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/sv/__init__.py b/spacy/sv/__init__.py index e03c9a56f..d7e9db4f1 100644 --- a/spacy/sv/__init__.py +++ b/spacy/sv/__init__.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals, print_function from ..language import Language diff --git a/spacy/sv/language_data.py b/spacy/sv/language_data.py index 324351d06..b8529724a 100644 --- a/spacy/sv/language_data.py +++ b/spacy/sv/language_data.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from .. import language_data as base diff --git a/spacy/sv/lemma_rules.py b/spacy/sv/lemma_rules.py index 66731f5f5..a1c238a0a 100644 --- a/spacy/sv/lemma_rules.py +++ b/spacy/sv/lemma_rules.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/sv/morph_rules.py b/spacy/sv/morph_rules.py index da6bcbf20..d5657b8ef 100644 --- a/spacy/sv/morph_rules.py +++ b/spacy/sv/morph_rules.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/sv/stop_words.py b/spacy/sv/stop_words.py index e64feb3f6..2ab865d1c 100644 --- a/spacy/sv/stop_words.py +++ b/spacy/sv/stop_words.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/sv/tokenizer_exceptions.py b/spacy/sv/tokenizer_exceptions.py index 2b01857a2..3826e30fb 100644 --- a/spacy/sv/tokenizer_exceptions.py +++ b/spacy/sv/tokenizer_exceptions.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals from ..symbols import * diff --git a/spacy/tests/bn/test_tokenizer.py b/spacy/tests/bn/test_tokenizer.py index 08b9a00df..b82aa7525 100644 --- a/spacy/tests/bn/test_tokenizer.py +++ b/spacy/tests/bn/test_tokenizer.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals import pytest diff --git a/spacy/tests/fi/test_tokenizer.py b/spacy/tests/fi/test_tokenizer.py index baae9b9a4..93940a93f 100644 --- a/spacy/tests/fi/test_tokenizer.py +++ b/spacy/tests/fi/test_tokenizer.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals import pytest diff --git a/spacy/tests/fr/test_text.py b/spacy/tests/fr/test_text.py index 350fdae70..35d5a2bd7 100644 --- a/spacy/tests/fr/test_text.py +++ b/spacy/tests/fr/test_text.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals diff --git a/spacy/tests/hu/test_tokenizer.py b/spacy/tests/hu/test_tokenizer.py index bfb80992b..d88b7b7b7 100644 --- a/spacy/tests/hu/test_tokenizer.py +++ b/spacy/tests/hu/test_tokenizer.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals import pytest diff --git a/spacy/tests/regression/test_issue805.py b/spacy/tests/regression/test_issue805.py index f23aff426..090dd0f3b 100644 --- a/spacy/tests/regression/test_issue805.py +++ b/spacy/tests/regression/test_issue805.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals import pytest diff --git a/spacy/tests/regression/test_issue852.py b/spacy/tests/regression/test_issue852.py index 19a883ffd..2bfbe99bb 100644 --- a/spacy/tests/regression/test_issue852.py +++ b/spacy/tests/regression/test_issue852.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals import pytest diff --git a/spacy/tests/regression/test_issue859.py b/spacy/tests/regression/test_issue859.py index 4a2d08df7..f6225a5f4 100644 --- a/spacy/tests/regression/test_issue859.py +++ b/spacy/tests/regression/test_issue859.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals import pytest diff --git a/spacy/tests/sv/test_tokenizer.py b/spacy/tests/sv/test_tokenizer.py index c3305ca7b..dbb3e1dd1 100644 --- a/spacy/tests/sv/test_tokenizer.py +++ b/spacy/tests/sv/test_tokenizer.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals import pytest diff --git a/spacy/tokens/token.pyx b/spacy/tokens/token.pyx index 69bd9fa6e..34de9dee7 100644 --- a/spacy/tokens/token.pyx +++ b/spacy/tokens/token.pyx @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 # cython: infer_types=True from __future__ import unicode_literals diff --git a/spacy/util.py b/spacy/util.py index 4ab1f71f0..dd1ae1b3b 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# coding: utf8 from __future__ import unicode_literals import os import io