Python program to check if a word is a noun
Given a word, the task is to write a Python program to find if the word is a noun or not using Python.
Input: India Output: India is noun. Input: Writing Output: Writing is not a noun.
There are various libraries that can be used to solve this problem.
Approach 1: PoS tagging using NLTK
India is a noun.
Approach 2: PoS tagging using Spacy
Writing is not a noun.