Skip to content

Check if a noun can be a verb #13087

Discussion options

You must be logged in to vote

Word sense disambiguation is usually done by looking up a lexical database that maps words to their different semantic meanings. For English, you can avail yourself of WordNet.

This spaCy library should let you query the synsets of a word and its part-of-speech tag. So, you'd iterate over the tokens in the Doc that have a NOUN POS tag and look up if a synset exists for the same but with a VERB tag.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / tagger Feature: Part-of-speech tagger
2 participants