spaCy/spacy/tests/regression/test_issue4924.py

17 lines
226 B
Python
Raw Normal View History

# coding: utf8
from __future__ import unicode_literals
import pytest
import spacy
@pytest.fixture
def nlp():
return spacy.blank("en")
2020-02-12 11:00:13 +00:00
def test_issue4924(nlp):
docs_golds = [("", {})]
nlp.evaluate(docs_golds)