wordnet icon indicating copy to clipboard operation
wordnet copied to clipboard

is the database used here older than WordNet 3.0?

Open niron1 opened this issue 10 months ago • 0 comments

for example, the original tcl/c++ version can tell that "cat" and "caterpillar" are synonyms:

$ /usr/local/WordNet-3.0/bin/wn cat -synsn

Synonyms/Hypernyms (Ordered by Estimated Frequency) of noun cat

8 senses of cat                                                         

Sense 1
cat, true cat
       => feline, felid

Sense 2
guy, cat, hombre, bozo
       => man, adult male

Sense 3
cat
       => gossip, gossiper, gossipmonger, rumormonger, rumourmonger, newsmonger
       => woman, adult female

Sense 4
kat, khat, qat, quat, cat, Arabian tea, African tea
       => stimulant, stimulant drug, excitant

Sense 5
cat-o'-nine-tails, cat
       => whip

Sense 6
Caterpillar, cat
       => tracked vehicle

Sense 7
big cat, cat
       => feline, felid

Sense 8
computerized tomography, computed tomography, CT, computerized axial tomography, computed axial tomography, CAT
       => X-raying, X-radiation

however this knowledge wasn't captured in the javascript vesion:

 $ node wn.js cat

  cat

  type: noun
  words: cat true_cat
  feline mammal usually having thick soft fur and no ability to roar: domestic cats; wildcats

  type: verb
  words: cat
  beat with a cat-o'-nine-tails

  type: noun
  words: cat-o'-nine-tails cat
  a whip with nine knotted cords; "British sailors feared the cat"

$ node wn.js 
Usage: wn <word>

Options:
  -V, --version                   output the version number
  -d, --database <database-path>  Location of WordNet index and data files.
  -h, --help                      display help for command

niron1 avatar Aug 13 '23 09:08 niron1