diff --git a/spacy/tokens/doc.pyx b/spacy/tokens/doc.pyx index 8ce2c7fe4..30be63608 100644 --- a/spacy/tokens/doc.pyx +++ b/spacy/tokens/doc.pyx @@ -585,6 +585,9 @@ cdef class Doc: elif attr_id == POS: for i in range(length): tokens[i].pos = values[i] + elif attr_id == TAG: + for i in range(length): + tokens[i].tag = values[i] elif attr_id == DEP: for i in range(length): tokens[i].dep = values[i]