spaCy/spacy/tests/regression/test_issue4924.py

9 lines
194 B
Python

from spacy.gold import Example
from spacy.language import Language
def test_issue4924():
nlp = Language()
example = Example.from_dict(nlp.make_doc(""), {})
nlp.evaluate([example])