mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Add unicode_literals (hopefully fixes test failure on Python 2)
This commit is contained in:
parent
0ffd27b0f6
commit
d52b1ab245
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue
Block a user