mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 18:36:36 +03:00
17 lines
226 B
Python
17 lines
226 B
Python
# coding: utf8
|
|
from __future__ import unicode_literals
|
|
|
|
import pytest
|
|
|
|
import spacy
|
|
|
|
|
|
@pytest.fixture
|
|
def nlp():
|
|
return spacy.blank("en")
|
|
|
|
|
|
def test_issue4924(nlp):
|
|
docs_golds = [("", {})]
|
|
nlp.evaluate(docs_golds)
|