From 67fdceed6a541ee8f63e05f83522955f42eaeb65 Mon Sep 17 00:00:00 2001 From: nirdesh37 <35065743+nirdesh37@users.noreply.github.com> Date: Wed, 3 Jan 2018 17:25:21 +0530 Subject: [PATCH] Update goldparse.jade --- website/api/goldparse.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/api/goldparse.jade b/website/api/goldparse.jade index fbc9f0a37..c96c0ccc0 100644 --- a/website/api/goldparse.jade +++ b/website/api/goldparse.jade @@ -136,7 +136,7 @@ p +aside-code("Example"). from spacy.gold import biluo_tags_from_offsets - doc = nlp('I like London.') + doc = nlp(u'I like London.') entities = [(7, 13, 'LOC')] tags = biluo_tags_from_offsets(doc, entities) assert tags == ['O', 'O', 'U-LOC', 'O']