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

29 May, 2024 05:47 AM
29 May, 2024 05:15 AM
29 May, 2024 05:12 AM
28 May, 2024 07:37 PM
25 May, 2024 11:52 AM

 

24 May, 2024 07:39 AM
16 May, 2024 02:11 AM
14 May, 2024 01:29 AM
12 May, 2024 07:46 PM
05 May, 2024 04:38 PM
03 May, 2024 06:50 AM