Add unicode_literals (hopefully fixes test failure on Python 2)

This commit is contained in:
Ines Montani 2017-11-27 15:16:54 +01:00 committed by GitHub
parent 0ffd27b0f6
commit d52b1ab245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,8 @@
Special-case rules for normalizing tokens to improve the model's predictions.
For example 'mysterium' vs 'mysterie' and similar.
"""
from __future__ import unicode_literals
# Sources:
# 1: https://dsn.dk/retskrivning/om-retskrivningsordbogen/mere-om-retskrivningsordbogen-2012/endrede-stave-og-ordformer/