mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-14 13:47:13 +03:00
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)
|