[arch-general] How to access mythes or other thesaurus from the commandline?
Hey hey, is there a tool in the Arch repositories, including AUR, that can access a thesaurus like mythes from the commandline? I've read about an example program coming with the source distribution of mythes, but couldn't find anything on my system. Before finding and installing sources, I'd much rather install a maintained package. Thank you and best wishes, Jeanette -------- * Website: http://juliencoder.de - for summer is a state of sound * SoundCloud: https://soundcloud.com/jeanette_c * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * GitHub: https://github.com/jeanette-c * Twitter: https://twitter.com/jeanette_c_s I believe We all have one true love Somewhere in this world <3 (Britney Spears)
Hi Jeanette,
is there a tool in the Arch repositories, including AUR, that can access a thesaurus like mythes from the commandline?
Package dictd offers dict(1) that can talk to a set of online dictionaries that include a thesaurus using the RFC'd DICT protocol, but not MyThes. dict -d moby-thesaurus thesaurus -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy
May 18 2018, Ralph Corderoy has written: ...
dict -d moby-thesaurus thesaurus Thanks Ralph! ...
Best wishes, Jeanette -------- * Website: http://juliencoder.de - for summer is a state of sound * SoundCloud: https://soundcloud.com/jeanette_c * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * GitHub: https://github.com/jeanette-c * Twitter: https://twitter.com/jeanette_c_s I believe We all have one true love Somewhere in this world <3 (Britney Spears)
On Fri, May 18, 2018 at 11:39:05PM +0200, Jeanette C. via arch-general wrote:
May 18 2018, Ralph Corderoy has written: ...
dict -d moby-thesaurus thesaurus
You may want to use something like tell () { dict "$@" | colorit | less -R } to get a coloured output, which is much more practical for long result lists (colorit is part of the dictd package).
On 05/19/2018 10:40 AM, Jens John wrote:
On Fri, May 18, 2018 at 11:39:05PM +0200, Jeanette C. via arch-general wrote:
You may want to use something like
tell () { dict "$@" | colorit | less -R }
to get a coloured output, which is much more practical for long result lists (colorit is part of the dictd package).
Jeanette is blind, so anything that doesn't translate to brltty or screen readers won't help her. Will still be useful for others, though :) Cheers, Bennett -- GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808
participants (4)
-
Bennett Piater
-
Jeanette C.
-
Jens John
-
Ralph Corderoy