Package Details: wordnet-common 3.1-16

Git Clone URL: https://aur.archlinux.org/wordnet.git (read-only, click to copy)
Package Base: wordnet
Description: An Electronic Lexical Database from Princeton University
Upstream URL: https://wordnet.princeton.edu/
Licenses: LicenseRef-custom
Submitter: None
Maintainer: envolution
Last Packager: envolution
Votes: 137
Popularity: 0.007877
First Submitted: 2007-01-12 20:32 (UTC)
Last Updated: 2025-07-13 20:37 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »

dkasak commented on 2025-01-12 17:17 (UTC)

Hi. I'm maintaining english-wordnet, which packages Open English Wordnet (https://en-word.net/) which is a continuation of the Princeton database developed in the open, with many new words, synsets and relations.

I'm using a custom variant of the old wordnet-cli package to have a CLI to this database which is otherwise drop-in compatible with the one contained in wordnet-common. Would there be interest in splitting out the dictionary files out of this package, so that both the Princeton and OEWN databases can be used with it, or should I reinstate a separate wordnet-cli package?

envolution commented on 2025-01-08 21:57 (UTC)

@madalu yes, it was a purposeful change. I'm considering a workaround since your issue is not reproducible for me, so it's likely due to differences in the resulting Makefile on your system than what this package was expecting.

Out of curiosity, does /usr/bin/wnb present the same issue?

madalu commented on 2025-01-08 21:33 (UTC) (edited on 2025-01-08 21:34 (UTC) by madalu)

Yes, the cli command works if there is a dict subdirectory containing the db files. For reference, commit e9534e357ba8 changed the location of the db files from /usr/share/wordnet/dict to /usr/share/wordnet.

envolution commented on 2025-01-08 21:27 (UTC)

@madalu can you please try this workaround?

$ sudo ln -sf /usr/share/wordnet /usr/share/wordnet/dict

madalu commented on 2025-01-08 21:20 (UTC) (edited on 2025-01-08 21:20 (UTC) by madalu)

@envolution - After a clean build and reinstallation of this package, here is the output of each command:

$ /usr/bin/wn -over

 WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.noun)
 WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.noun)
 WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.verb)
 WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.verb)
 WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.adj)
 WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.adj)
 WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.adv)
 WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.adv)
 WordNet library warning: Can't open verb example sentence file(/usr/share/wordnet/dict/sents.vrb)
 WordNet library warning: Can't open verb example sentence index file(/usr/share/wordnet/dict/sentidx.vrb)
 wn: Fatal error - cannot open WordNet database

$ tree /usr/share/wordnet -d

/usr/share/wordnet
├── dbfiles
└── wnres

3 directories

$ pacman -Qs wordnet

 local/wordnet-common 3.1-8
     An Electronic Lexical Database from Princeton University

$ which wn

 /usr/bin/wn

envolution commented on 2025-01-07 22:28 (UTC) (edited on 2025-01-08 03:39 (UTC) by envolution)

@krvkir you should have core/bison by default.

AUR assumes you have https://archlinux.org/packages/core/any/base-devel/ installed, so packages from AUR should not explicitly require packages that they contain.

krvkir commented on 2025-01-07 22:19 (UTC)

Hello! Tried to install it on a fresh system and found a missing dependency on yacc. In my case installing byacc helped. Could you please add it into dependencies list?

envolution commented on 2025-01-06 21:31 (UTC) (edited on 2025-01-06 21:32 (UTC) by envolution)

@madalu: I cannot reproduce. Please provide the following:

$ /usr/bin/wn hello -over
$ tree /usr/share/wordnet -d
$ pacman -Qs wordnet
$ which wn

madalu commented on 2025-01-06 15:00 (UTC)

Calling wn from the command line (e.g., wn hello -over) results in the following error:

WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.noun)
WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.noun)
WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.verb)
WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.verb)
WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.adj)
WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.adj)
WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.adv)
WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.adv)
WordNet library warning: Can't open verb example sentence file(/usr/share/wordnet/dict/sents.vrb)
WordNet library warning: Can't open verb example sentence index file(/usr/share/wordnet/dict/sentidx.vrb)
wn: Fatal error - cannot open WordNet database

The PKGBUILD installs these files in /usr/share/wordnet/, but the program is looking for them in /usr/share/wordnet/dict/

envolution commented on 2024-12-04 03:41 (UTC)

@ap_qld you can safely remove wordnet-tk and wordnet-cli, they are now included in wordnet-common