spaCy/spacy/tests/regression/test_issue4924.py

17 lines
225 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")
def test_evaluate(nlp):
docs_golds = [("", {})]
nlp.evaluate(docs_golds)