Hot answers tagged

3 votes
Accepted

how to choose a threshold for Jiang-Conrath Similarity?

I think the result you can find out there would be the experimentation of someone else. So my suggestion is make your own experimentation: build your own classifier. A good and simple idea collect ...
Danilo Gómez's user avatar
3 votes

Is wordnet a treebank?

No. Treebanks are about sentences analysed with syntax trees (constituent and/or dependency parsing). Wordnets are about semantic relation between words like hypernymy and hyponymy. The two ...
Sir Cornflakes's user avatar
2 votes
Accepted

Find the 5 most-different-from-each other adjectives in the English language

Here's one way you could do this: Find a suitable corpus; there are plenty out there, but which one is best depends on your specific application. This'll be easier for English than for most other ...
Draconis's user avatar
  • 65.2k
2 votes

For each word in a corpus, find how many senses it has according to WordNet

Given your tags, I assume you're using the nltk library? First you'll want the Reuters and Wordnet corpora: from nltk.corpus import reuters, wordnet Then, get your words from the Reuters corpus ...
Draconis's user avatar
  • 65.2k
2 votes

Is gasoline, wine, coca-cola an artifact?

I have checked on Wordnet, and gasoline is indeed listed as a substance, while wine and milk are listed as food. Wordnet and other such ontologies impose taxonomies on the world, and the thing about ...
Nick Nicholas's user avatar
1 vote

Dictionary used by WordNet for word senses

AFAIK none, the original Wordnet was built up by hand from scratch.
kaleissin's user avatar
  • 4,163
1 vote

Jiang & Conrath when two words are the same

You can rewrite Jiang & Conrath similarity by: 1 / log(jcn_distance). If jcn_distance is equal to 0, then by adding 'log' the result will be 0.
amegnunsen's user avatar
  • 1,527

Only top scored, non community-wiki answers of a minimum length are eligible