mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
708a4d27eb
* new file: test_issue4924.py * modified: spacy/gold.pyx * modified: test_issue4924.py for python2
17 lines
225 B
Python
17 lines
225 B
Python
# 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)
|