Here POS tags of a text sequence is found in Python, using NLTK packages.
POS tags or the Part-of-Speech tags of the text like noun, pronoun, etc., are important information in understanding a natural language. A POS tag sequence of a generated natural language sequence can be checked to determine if a generated sequence is gramaticaly correct.
Many libraries have been written in python for the same and over here NLTK packages have been used. The 2 files perform POS tagging of text using:
nltk