How to retrieve nouns from sentences

How to retrieve nouns from sentences

sentence for nouns.txt (11.5 KB)

Do POS tagging and filter by tag.