Mistake on your examples pages

dano2's Avatar

dano2

05 Nov, 2013 02:51 AM

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']]

  1. Support Staff 1 Posted by tomdesmedt on 04 Dec, 2013 12:44 AM

    tomdesmedt's Avatar

    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

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

06 Sep, 2023 07:20 AM
05 Sep, 2023 08:40 PM
30 Aug, 2023 03:16 AM
19 Aug, 2023 03:22 AM
29 Jul, 2023 05:52 AM

 

28 Jul, 2023 10:53 PM
23 Jul, 2023 07:04 AM
14 Jul, 2023 03:05 AM
07 Jul, 2023 06:26 AM
05 Jul, 2023 11:44 PM
30 Jun, 2023 12:48 PM