mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-28 10:56:31 +03:00
9 lines
211 B
Python
9 lines
211 B
Python
from __future__ import unicode_literals
|
|
from ...tokens import Doc
|
|
from ...vocab import Vocab
|
|
|
|
|
|
def test_issue600():
|
|
doc = Doc(Vocab(tag_map={'NN': {'pos': 'NOUN'}}), words=['hello'])
|
|
doc[0].tag_ = u'NN'
|