python - how to find different parts of speech for same word using nltk? -
i have created list of words given text using nltk. according english text, word can of different parts of speech
example: heavens above. (adverb)
the moral code of conduct above civil code of conduct. (preposition)
read sentence given above. (adjective)
our blessings come above. (noun)
when give above input program give adverb, preposition adjective , noun want find differnet pos tagging same word.
wiki
Comments
Post a Comment