get nouns from pos tags

>>> from nltk import word_tokenize, pos_tag>>> sentence = "At eight o'clock on Thursday film morning word line test best beautiful Ram Aaron design">>> nouns = [token for token, pos in pos_tag(word_tokenize(sentence)) if pos.startswith('N')]>>> nouns['Thursday', 'film', 'morning', 'word', 'line', 'test', 'Ram', 'Aaron', 'design']