From 3a045572ed1608daa90dc92229c2da0524fa7f20 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Tue, 28 Apr 2020 13:48:37 +0200 Subject: [PATCH] Add missing import --- spacy/displacy/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spacy/displacy/__init__.py b/spacy/displacy/__init__.py index 8a6ec2f53..a0cccbbde 100644 --- a/spacy/displacy/__init__.py +++ b/spacy/displacy/__init__.py @@ -7,6 +7,8 @@ USAGE: https://spacy.io/usage/visualizers """ from __future__ import unicode_literals +import warnings + from .render import DependencyRenderer, EntityRenderer from ..tokens import Doc, Span from ..compat import b_to_str