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

18 Nov, 2024 11:24 PM
18 Nov, 2024 09:01 PM
07 Nov, 2024 10:53 AM
02 Nov, 2024 11:22 AM
01 Nov, 2024 12:41 AM

 

01 Oct, 2024 07:59 AM
30 Sep, 2024 11:37 PM
30 Sep, 2024 11:11 AM
30 Sep, 2024 02:37 AM
28 Sep, 2024 10:33 AM
26 Sep, 2024 06:41 AM