How to determine whether a particular word is a stop word?
I am not understand about the "stop word" you mention. Could you describe more?
Stop words are common words that are ignored by search engines at the time of searching a key phrase. This is done in order to save space on their server, and also to accelerate the search process.
Some commonly excluded "stop words" are: the, that, then, but, if, or, and...
I think you should have a list of "stop words" and you should load the list into a "Set" object. Before you do any search on WordNet, search this "Set" instead. If the word isn't contained in this "Set" then you start searching in Wordnet. I could not find any direct support function from Wordnet about "stop words" checking.
Log in to post a comment.