spaCy/spacy/tests/regression/test_issue4924.py

9 lines
194 B
Python
Raw Normal View History

from spacy.gold import Example
2020-02-18 17:17:03 +03:00
from spacy.language import Language
2020-03-26 15:38:14 +03:00
def test_issue4924():
2020-02-18 17:17:03 +03:00
nlp = Language()
example = Example.from_dict(nlp.make_doc(""), {})
nlp.evaluate([example])