Spot why plural and proper nouns are missed when filtering tags.
Codepython
import nltk
tokens = ["Dogs", "chase", "cats", "in", "London"]
tags = nltk.pos_tag(tokens)
# collect all nouns
nouns = [word for word, tag in tags if tag == "NN"]
print(nouns)
What is the bug in how nouns are selected from the POS tags?