mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +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)
|