Package: wordnet
Version: 1:2.1-4
Severity: normal
Tags: patch

Wordnet lists the -deria option in its help message, but doesn't
actually recognize the command-line option.

[EMAIL PROTECTED] ~]$ wn apparent

No information available for noun apparent

No information available for verb apparent

Information available for adj apparent
        -antsa          Antonyms
        -synsa          Synonyms (ordered by estimated frequency)
        -deria          Derived Forms
        -famla          Familiarity & Polysemy Count
        -grepa          List of Compound Words
        -over           Overview of Senses

No information available for adv apparent
[EMAIL PROTECTED] ~]$ wn apparent -deria
wn: invalid search option: -deria

The following patch fixes the bug:
--- wordnet-2.1.orig/src/wn.c
+++ wordnet-2.1/src/wn.c
@@ -26,6 +26,8 @@
     { "-domta", CLASS, ADJ, 4, "Domain Terms" },
     { "-famla", FREQ, ADJ, 5, "Familiarity" },
     { "-grepa", WNGREP, ADJ, 6, "Grep" },
+    { "-nomna", DERIVATION, ADJ, 7, "Derived Forms" },
+    { "-deria", DERIVATION, ADJ, 7, "Derived Forms" },
 
     { "-synsn", HYPERPTR, NOUN, 0, "Synonyms/Hypernyms (Ordered by Estimated 
Frequency)" },
     { "-antsn", ANTPTR,        NOUN, 2, "Antonyms" },


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages wordnet depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libx11-6                    2:1.0.3-6    X11 client-side library
ii  tcl8.4                      8.4.12-1.1   Tcl (the Tool Command Language) v8
ii  tk8.4                       8.4.12-1     Tk toolkit for Tcl and X11, v8.4 -
ii  wordnet-base                1:2.1-4      electronic lexical database of Eng

wordnet recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to