The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

General DiscussionFrom the old forum

Mistake on your examples pages

1 reply Last reply

  1. I didn't know where else to send this, but just to let you guys know ... the following definitions/examples of holonyms and meronyms have been mistakenly reversed on the the following pages: http://nodebox.net/code/index.php/Linguistics
    http://nodebox.net/code/index.php/WordNet
    Meronyms are actually the components, and holonyms are the "collections". You can verify it here.
    http://wordnetweb.princeton.edu/perl/webwn?o2=&o0=1&o8=1&o1=1&o7=&o5=&o9=&o6=&o3=&o4=&s=computer&i=2&h=100000000#c

    The noun_holonym() command returns components of the given word:

    print wordnet.noun_holonym("computer")

    [['busbar', 'bus'], ['cathode-ray tube', 'CRT'],
    ['central processing unit', 'CPU', 'C.P.U.', 'central processor',
    'processor', 'mainframe'] ...
    The noun_meronym() command returns the collection in which the given word can be found:

    print wordnet.noun_meronym("tree")

    [['forest', 'wood', 'woods']]

    Copy link
  2. I am aware of this, but probably won't fix it, because the library has been around for so long that many projects might depend on this incorrect interpretation.

    You should have a look at Pattern, which is a complete tidy-up of this library, and also deals with many, many other text analytics tasks:
    http://www.clips.ua.ac.be/pattern

    Best,
    Tom

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply