@property<EOL><INDENT>def tags(self):<DEDENT>
<EOL>ch, I,O,B = self.chunk, INSIDE+"<STR_LIT:->", OUTSIDE, BEGIN+"<STR_LIT:->"<EOL>tags = [OUTSIDE for i in range(len(self.sentence.token))]<EOL>for i, tag in enumerate(self.sentence.token): <EOL><INDENT>if tag == WORD:<EOL><INDENT>tags[i] = encode_entities(self.string)<EOL><DEDENT>elif tag == POS and self.type:<EOL><INDENT>tags[i] = self.type<EOL><DEDENT>elif tag == CHUNK and ch and ch.type:<EOL><INDENT>tags[i] = (self == ch[<NUM_LIT:0>] and B or I) + ch.type<EOL><DEDENT>elif tag == PNP and self.pnp:<EOL><INDENT>tags[i] = (self == self.pnp[<NUM_LIT:0>] and B or I) + "<STR_LIT>"<EOL><DEDENT>elif tag == REL and ch and len(ch.relations) > <NUM_LIT:0>:<EOL><INDENT>tags[i] = ["<STR_LIT:->".join([str(x) for x in [ch.type]+list(reversed(r)) if x]) for r in ch.relations]<EOL>tags[i] = "<STR_LIT:*>".join(tags[i])<EOL><DEDENT>elif tag == ANCHOR and ch:<EOL><INDENT>tags[i] = ch.anchor_id or OUTSIDE<EOL><DEDENT>elif tag == LEMMA:<EOL><INDENT>tags[i] = encode_entities(self.lemma or "<STR_LIT>")<EOL><DEDENT>elif tag in self.custom_tags:<EOL><INDENT>tags[i] = self.custom_tags.get(tag) or OUTSIDE<EOL><DEDENT><DEDENT>return tags<EOL>
Yields a list of all the token tags as they appeared when the word was parsed.
            For example: ["was", "VBD", "B-VP", "O", "VP-1", "A1", "be"]