• GNU/Linux Dictionaries

    From Farley Flud@21:1/5 to All on Thu May 22 19:23:06 2025
    XPost: comp.os.linux.misc

    For a dictionary/thesaurus I am currently using dictd:

    https://github.com/cheusov/dictd

    The actual word data comes from several of the sources that
    are listed here:

    https://en.wikipedia.org/wiki/DICT

    I am very satisfied with these resources but I am also curious
    if there are any other dictionaries available for GNU/Linux,
    and I am only interested in local, not online, resources.

    I am aware of StarDict but have never used it.

    https://stardict-4.sourceforge.net/index_en.php

    Can anyone offer recommendations?


    --
    Systemd: solving all the problems that you never knew you had.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?B?8J+HtfCfh7FKYWNlayBNYXJja@21:1/5 to All on Thu May 22 22:43:17 2025
    W dniu 22.05.2025 o 21:23, Farley Flud pisze:
    For a dictionary/thesaurus I am currently using dictd:

    https://github.com/cheusov/dictd

    The actual word data comes from several of the sources that
    are listed here:

    https://en.wikipedia.org/wiki/DICT

    I am very satisfied with these resources but I am also curious
    if there are any other dictionaries available for GNU/Linux,
    and I am only interested in local, not online, resources.

    I am aware of StarDict but have never used it.

    https://stardict-4.sourceforge.net/index_en.php

    Can anyone offer recommendations?

    In Ubuntu repo i found: hunspell-en-gb, hyphen-en-gb, ienglish-common, language-pack-en, wamerican-huge, wamerican-insane, wamerican-large, wamerican-small, wamerican.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vallor@21:1/5 to Farley Flud on Thu May 22 20:32:36 2025
    On Thu, 22 May 2025 19:23:06 +0000, Farley Flud <ff@linux.rocks> wrote in <pan$7922f$6eb4c3d$7f68edca$65b0b535@linux.rocks>:

    For a dictionary/thesaurus I am currently using dictd:

    https://github.com/cheusov/dictd

    The actual word data comes from several of the sources that
    are listed here:

    https://en.wikipedia.org/wiki/DICT

    I am very satisfied with these resources but I am also curious
    if there are any other dictionaries available for GNU/Linux,
    and I am only interested in local, not online, resources.

    I am aware of StarDict but have never used it.

    https://stardict-4.sourceforge.net/index_en.php

    Can anyone offer recommendations?

    Yes: tell us who you think you're fooling.

    --
    -v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
    OS: Linux 6.14.8 Release: Mint 22.1 Mem: 258G
    "Confuse People: Quote from the wrong message!"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to All on Thu May 22 20:55:35 2025
    XPost: comp.os.linux.misc

    On Thu, 22 May 2025 22:43:17 +0200, 🇵🇱Jacek Marcin Jaworski🇵🇱 wrote:


    In Ubuntu repo i found: hunspell-en-gb, hyphen-en-gb, ienglish-common, language-pack-en, wamerican-huge, wamerican-insane, wamerican-large, wamerican-small, wamerican.


    I believe that those are all spelling dictionaries. That is, they are
    used for spelling corrections and not for providing word definitions.





    --
    Systemd: solving all the problems that you never knew you had.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to vallor on Thu May 22 21:01:23 2025
    On 22 May 2025 20:32:36 GMT, vallor wrote:


    Yes: tell us who you think you're fooling.


    [root]# check-word fooling
    220 ajax.xxxxxxxxxx dictd 1.13.3/rf on Linux 6.14.0 <auth.mime> <0.23461.1747947420@ajax.firstbooks>
    150 3 definitions retrieved
    151 "Fooling" gcide "The Collaborative International Dictionary of English v.0.53"
    Fool \Fool\, v. i. [imp. & p. p. {Fooled}; p. pr. & vb. n.
    {Fooling}.]
    To play the fool.
    [1913 Webster]

    2. To waste time in unproductive activity; to spend time in
    idle sport or mirth; to trifle; to toy.

    Syn: fool around.
    [PJC]

    Is this a time for fooling? --Dryden.
    [1913 Webster]
    .
    151 "fooling" wn "WordNet (r) 3.1"
    fooling
    adj : characterized by a feeling of irresponsibility; "a broken
    back is nothing to be casual about; it is no fooling
    matter" [syn: {casual}]
    .
    151 "fooling" moby-thesaurus "Moby Thesaurus II by Grady Ward, 1.0"
    144 Moby Thesaurus words for "fooling":
    badinage, bamboozlement, banter, bantering, befooling, bluffing,
    booing, buffoonery, calculated deception, catcalling, chaff,
    chaffing, circumvention, clownishness, conning, coquetry, dabbling,
    dalliance, dallying, deceiving, deception, deceptiveness,
    defrauding, delusion, delusiveness, derision, derisive, derisory,
    dupery, enmeshment, ensnarement, entanglement, entrapment,
    exchange, fallaciousness, fallacy, falseness, fiddling, fleering,
    flimflam, flimflammery, flippancy, flippant, flirtation,
    fond illusion, foolery, fooling around, give-and-take,
    good-natured banter, grinning, hallucination, harlequinade,
    harmless teasing, hazing, high jinks, hissing, hoodwinking,
    hooting, horseplay, idling, illusion, jape, jeering, jerking off,
    jest, jesting, jive, joke, joking, jollying, josh, joshing,
    kidding, kidding around, leering, levity, loitering,
    messing around, mirage, mockery, mocking, monkeying,
    monkeying around, monkeyshines, outwitting, overreaching, panning,
    persiflage, phantasm, piddling, playing, playing around,
    pleasantry, pottering, puttering, putting on, quizzical, ragging,
    railing, raillery, rallying, razzing, ribbing, ridicule,
    ridiculing, roasting, roughhouse, rowdiness, scoffing,
    self-deception, shenanigans, skylarking, smart, smart-aleckiness,
    smart-alecky, smart-ass, smartness, smattering, smirking, sneering,
    snickering, sniggering, snorting, snow job, song and dance,
    spoofery, spoofing, sport, subterfuge, swindling, taunting,
    teasing, tinkering, tomfoolery, toying, trickiness, tricking,
    trifling, twit, twitting, victimization, vision,
    willful misconception, wishful thinking



    --
    Systemd: solving all the problems that you never knew you had.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to ff@linux.rocks on Thu May 22 22:17:54 2025
    XPost: comp.os.linux.misc

    (Followup-to ignored.)

    In comp.os.linux.misc, Farley Flud <ff@linux.rocks> wrote:
    For a dictionary/thesaurus I am currently using dictd:

    https://github.com/cheusov/dictd

    The actual word data comes from several of the sources that
    are listed here:

    https://en.wikipedia.org/wiki/DICT

    I am very satisfied with these resources but I am also curious
    if there are any other dictionaries available for GNU/Linux,
    and I am only interested in local, not online, resources.

    All the dictd dictionaries I know of are listed as sources at
    dict.org : https://dict.org/bin/Dict?Form=Dict4

    On my own server I have only a few installed because I don't find value
    in most of them:

    $ cat /var/lib/dictd/db.list
    [ comments removed ]

    database gcide
    {
    data /usr/share/dictd/gcide.dict.dz
    index /usr/share/dictd/gcide.index
    }
    database wn
    {
    data /usr/share/dictd/wn.dict.dz
    index /usr/share/dictd/wn.index
    }
    database moby-thesaurus
    {
    data /usr/share/dictd/moby-thesaurus.dict.dz
    index /usr/share/dictd/moby-thesaurus.index
    }
    database devil
    {
    data /usr/share/dictd/devil.dict.dz
    index /usr/share/dictd/devil.index
    }
    $

    I am aware of StarDict but have never used it.

    https://stardict-4.sourceforge.net/index_en.php

    Can anyone offer recommendations?

    It probably helps to tell people what you want out of a dictionary.
    English word definitions? Something else?

    I bet you can download wikitionary.org somehow, but I'm not sure what
    tools exist to easily use the data.

    Ah, here:
    https://dumps.wikimedia.org/

    And here: https://en.wiktionary.org/wiki/Wiktionary:Wiktionary-supported_software

    Elijah
    ------
    should probably think about using local dumps

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Eli the Bearded on Fri May 23 10:13:39 2025
    XPost: comp.os.linux.misc

    On Thu, 22 May 2025 22:17:54 +0000, Eli the Bearded wrote:


    I bet you can download wikitionary.org somehow, but I'm not sure what
    tools exist to easily use the data.

    Ah, here:
    https://dumps.wikimedia.org/

    And here: https://en.wiktionary.org/wiki/Wiktionary:Wiktionary-supported_software


    Thanks for these links.

    The enwiktionary is available for download but only as XML files and
    I'm not sure how I can utilize these.

    Wiki recommends GoldenDict as desktop software but GoldenDict only accepts certain formats.

    I do not want any web interfaces. All lookups are to be done locally.

    I need to research this.




    --
    Hail Linux! Hail FOSS! Hail Stallman!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Eli the Bearded on Fri May 23 10:18:50 2025
    XPost: comp.os.linux.misc

    On Thu, 22 May 2025 22:17:54 +0000, Eli the Bearded wrote:



    Ah, here:
    https://dumps.wikimedia.org/

    should probably think about using local dumps


    This may do it, although I won't know until I try:

    https://github.com/xiaoyifang/goldendict-ng/discussions/1651




    --
    Hail Linux! Hail FOSS! Hail Stallman!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Farley Flud on Fri May 23 08:32:29 2025
    Farley Flud wrote this post while blinking in Morse code:

    For a dictionary/thesaurus I am currently using dictd:

    https://github.com/cheusov/dictd

    The actual word data comes from several of the sources that
    are listed here:

    https://en.wikipedia.org/wiki/DICT

    I am very satisfied with these resources but I am also curious
    if there are any other dictionaries available for GNU/Linux,
    and I am only interested in local, not online, resources.

    I am aware of StarDict but have never used it.

    https://stardict-4.sourceforge.net/index_en.php

    Can anyone offer recommendations?

    I use aiksaurus, but mainly to see if there is a better word to use than the one of which I am thinking.

    $ aiksaurus shit
    === voidance =================
    BM, bowel movement, catharsis, crap, dejection, diarrhea, dysentery,...

    === turd =====================
    bugger, cur, louse, prick, rat, reptile, scum, shit, skunk, stinker, toad, turd

    === bugger ===================
    bastard, bugger, cat, creep, fart, hood, hooligan, meanie, shit, SOB,...

    === trinket ==================
    ...

    === tranquilizer =============
    ...

    It's kind of bowel movementy at times.

    --
    The people rule.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to fsquared@fsquared.linux on Fri May 23 16:39:39 2025
    XPost: comp.os.linux.misc

    In comp.os.linux.misc, Farley Flud <fsquared@fsquared.linux> wrote:
    On Thu, 22 May 2025 22:17:54 +0000, Eli the Bearded wrote:
    https://dumps.wikimedia.org/
    https://en.wiktionary.org/wiki/Wiktionary:Wiktionary-supported_software
    Thanks for these links.

    The enwiktionary is available for download but only as XML files and
    I'm not sure how I can utilize these.

    XML is plain text and can be parsed with Python, Perl, C, ... and
    depending on the format you can sometimes half-ass it with just grep.

    Wiki recommends GoldenDict as desktop software but GoldenDict only accepts certain formats.

    I do not want any web interfaces. All lookups are to be done locally.

    Web interface is not incompatible with done locally. You started this
    with dict/dictd, which is a internet service. Just because it is an
    internet service doesn't mean the client and the server can't be on the
    same machine. I run a local webserver for local files and use either
    Firefox or lynx to localhost to access them. But curl would also work.

    Elijah
    ------
    echo SHOW DATABASES | nc dict.org 2628

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Eli the Bearded on Fri May 23 18:59:11 2025
    XPost: comp.os.linux.misc

    On Fri, 23 May 2025 16:39:39 -0000 (UTC), Eli the Bearded wrote:


    Web interface is not incompatible with done locally. You started this
    with dict/dictd, which is a internet service. Just because it is an
    internet service doesn't mean the client and the server can't be on the
    same machine. I run a local webserver for local files and use either
    Firefox or lynx to localhost to access them. But curl would also work.


    Yes, dictd is based on the client-server model but it is possible
    to execute it locally on a one-shot basis. I use the following script:

    #! /bin/bash
    printf "define * \"$1\"\n" $1 | dictd -i

    Call the script "check-word" and it will start the daemon,
    look up the definition using the dictionaries specified in
    /etc/dictd.conf, print to stdout, and then terminate the daemon.





    --
    Systemd: solving all the problems that you never knew you had.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to ff@linux.rocks on Fri May 23 21:45:59 2025
    XPost: comp.os.linux.misc

    In comp.os.linux.misc, Farley Flud <ff@linux.rocks> wrote:
    On Fri, 23 May 2025 16:39:39 -0000 (UTC), Eli the Bearded wrote:
    Yes, dictd is based on the client-server model but it is possible
    to execute it locally on a one-shot basis. I use the following script:
    #! /bin/bash
    printf "define * \"$1\"\n" $1 | dictd -i

    Call the script "check-word" and it will start the daemon,
    look up the definition using the dictionaries specified in
    /etc/dictd.conf, print to stdout, and then terminate the daemon.

    Suit yourself, but

    I use dict and leave the daemon running all the time. It's not that
    resource intensive. It's running an a virtual machine with 1cpu and
    1/2 gig ram ("465056 kB" according to /proc/meminfo), as a side project
    to a web server.

    top - 21:32:43 up 6 days, 3 min, 1 user, load average: 0.04, 0.03, 0.01 Tasks: 100 total, 1 running, 99 sleeping, 0 stopped, 0 zombie
    %Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 454.2 total, 40.4 free, 232.0 used, 181.8 buff/cache
    MiB Swap: 0.0 total, 0.0 free, 0.0 used. 194.6 avail Mem

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...
    707 dictd 20 0 44564 43080 1788 S 0.0 9.3 0:00.34 dictd


    :r! echo 465056 0.093*p | dc
    43250.208

    This way I can use one install from multiple locations.

    Elijah
    ------
    still doesn't know exactly what OP wants

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to Eli the Bearded on Sat May 24 11:37:28 2025
    XPost: comp.os.linux.misc

    On Fri, 23 May 2025 21:45:59 -0000 (UTC), Eli the Bearded wrote:

    ------
    still doesn't know exactly what OP wants


    From the original post:

    "Can anyone offer recommendations?"

    The current FOSS dictionary seems to be "The Collaborative International Dictionary of English v.0.53" which dates to 1913. It is over 100
    years old.

    Of course the English language hasn't changed much since 1913 but
    I was curious if there are any FOSS alternatives.

    The wiktionary dumps seemed promising until I read this:

    "Extracting all data for all languages from English Wiktionary takes
    about 1.25 hours on a 128-core dual AMD EPYC 7702 system."

    https://github.com/tatuylonen/wiktextract

    I only have 8 cores.

    There are pre-expanded files available but these are now deprecated
    in favor of the raw, un-expanded data.





    --
    Systemd: solving all the problems that you never knew you had.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sat May 24 11:51:34 2025
    XPost: comp.os.linux.misc

    Le 23-05-2025, Eli the Bearded <*@eli.users.panix.com> a écrit :
    ------
    still doesn't know exactly what OP wants

    It's some kind of proof of sanity. There is no reason behind any of LP/DG/FF/FR/whatever request. He just want to make believe he knows what
    a terminal is. He wouldn't know what to do with a dictionary.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John McCue@21:1/5 to Farley Flud on Sat May 24 12:16:12 2025
    XPost: comp.os.linux.misc

    Followups changed to: comp.os.linux.misc

    In comp.os.linux.misc Farley Flud <ff@linux.rocks> wrote:
    For a dictionary/thesaurus I am currently using dictd:
    <snip>

    Can anyone offer recommendations?

    For a thesaurus I use WordNet:
    https://wordnet.princeton.edu/
    which there is a build for Slackware:
    https://slackbuilds.org/repository

    For a dictionary I use:
    spell(1), look(1), ispell or aspell
    these comes with Slackware

    I try and avoid WEB solutions for these items. I am sure
    these are available in other distros.

    HTH

    --
    [t]csh(1) - "An elegant shell, for a more... civilized age."
    - Paraphrasing Star Wars

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to All on Sat May 24 14:37:11 2025
    XPost: comp.os.linux.misc

    On 24/05/2025 12:51, Stéphane CARPENTIER wrote:
    Le 23-05-2025, Eli the Bearded <*@eli.users.panix.com> a écrit :
    ------
    still doesn't know exactly what OP wants

    It's some kind of proof of sanity. There is no reason behind any of LP/DG/FF/FR/whatever request. He just want to make believe he knows what
    a terminal is. He wouldn't know what to do with a dictionary.

    I have found, like Apple Macs, they make good doorstops

    --
    Karl Marx said religion is the opium of the people.
    But Marxism is the crack cocaine.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Farley Flud@21:1/5 to All on Sat May 24 20:35:03 2025
    XPost: comp.os.linux.misc

    On 24 May 2025 11:51:34 GMT, Stéphane CARPENTIER wrote:

    Le 23-05-2025, Eli the Bearded <*@eli.users.panix.com> a écrit :
    ------
    still doesn't know exactly what OP wants

    It's some kind of proof of sanity. There is no reason behind any of LP/DG/FF/FR/whatever request. He just want to make believe he knows what
    a terminal is. He wouldn't know what to do with a dictionary.


    YOU don't know what an idiot is (or, more grammatically correct, what
    is an idiot).

    I'll give you a hint: YOU are an idiot.

    Like a helpless idiot, YOU rely on pre-built GNU/Linux distros
    because you would not know what to do with all the source code.

    YOU will ALWAYS be at the mercy of a distro. How fucking pathetic!

    In contrast, _I_ will always be the total master of my GNU/Linux installation.

    Be a man and admit that you are a lost lackey.

    Furthermore, spare us all your ridiculous, standardized excuses.
    We have all heard them many times before. There is nothing that
    you can say that can save you from the judgments above.


    --
    Systemd: solving all the problems that you never knew you had.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)