I want to write a program to calculate the similarity of two adverbs or two adjectives, but The WordNet has not ontology structure for adverb and adjective.
At the first try, I used The Adapt-lesk algorithm. The result of this algorithm is very disappointing for adverb or adjective. What is the best way to calculate similarity of these? please help me to solve this problem.
Thanks all.
Although it is rare but
WordNet
have a relation callpertainym
. It connects the relevant adjective to its adverbial form. If you've NLTK (http://nltk.org/) installed and using python you can try this example below: