spaCy/spacy/tests/regression/test_issue4367.py

9 lines
190 B
Python
Raw Normal View History

from spacy.tokens import DocBin
def test_issue4367():
"""Test that docbin init goes well"""
2019-10-18 09:27:38 +00:00
DocBin()
DocBin(attrs=["LEMMA"])
DocBin(attrs=["LEMMA", "ENT_IOB", "ENT_TYPE"])