adding future import unicode literals to .py files

This commit is contained in:
svlandeg 2019-03-22 16:18:04 +01:00
parent b4cd5d5ee9
commit 9de9900510
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,6 @@
# coding: utf-8 # coding: utf-8
from __future__ import unicode_literals
"""Demonstrate how to build a simple knowledge base and run an Entity Linking algorithm. """Demonstrate how to build a simple knowledge base and run an Entity Linking algorithm.
Currently still a bit of a dummy algorithm: taking simply the entity with highest probability for a given alias Currently still a bit of a dummy algorithm: taking simply the entity with highest probability for a given alias
""" """

View File

@ -1,4 +1,6 @@
# coding: utf-8 # coding: utf-8
from __future__ import unicode_literals
import pytest import pytest
from spacy.kb import KnowledgeBase from spacy.kb import KnowledgeBase