This commit is contained in:
Matthew Honnibal 2016-11-02 23:24:13 +01:00
parent fd2a012fd3
commit 125c910a8d

View File

@ -0,0 +1,8 @@
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'