From 2e587c641734c4110e0c0154ddc8e04c68a5a83f Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 26 May 2017 11:32:55 -0500 Subject: [PATCH] Export iob_to_biluo utility --- spacy/gold.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/gold.pyx b/spacy/gold.pyx index 579010e6d..f9500dbb6 100644 --- a/spacy/gold.pyx +++ b/spacy/gold.pyx @@ -305,7 +305,7 @@ def read_json_file(loc, docs_filter=None, limit=None): yield [paragraph.get('raw', None), sents] -def _iob_to_biluo(tags): +def iob_to_biluo(tags): out = [] curr_label = None tags = list(tags)