...making Linux just a little more fun!
René Pfeiffer [lynx at luchs.at]
Hello, TAG!
I am trying to brush up my French - again. So I bought some comics in French and I try to read them. Does anyone know of a command line tool or even a "vocabulary shell" that allows me to quickly look up words, prreferrably French words with Germen or English translations?
I can always hack a Perl script that queries dict.leo.org or similar services, but a simple lookup tool should be around already.
Salut, René.
Jimmy O'Regan [joregan at gmail.com]
On 4 February 2010 00:08, René Pfeiffer <[email protected]> wrote:
> Hello, TAG! > > I am trying to brush up my French - again. So I bought some comics in > French and I try to read them. Does anyone know of a command line tool > or even a "vocabulary shell" that allows me to quickly look up words, > prreferrably French words with Germen or English translations? > > I can always hack a Perl script that queries dict.leo.org or similar > services, but a simple lookup tool should be around already. >
$ apt-get install dict-freedict-fra-eng dict-freedict-fra-deu latrine $ latrine freedict-fra-eng
-- <Leftmost> jimregan, that's because deep inside you, you are evil. <Leftmost> Also not-so-deep inside you.
Jimmy O'Regan [joregan at gmail.com]
On 4 February 2010 00:48, Jimmy O'Regan <[email protected]> wrote:
> On 4 February 2010 00:08, René Pfeiffer <[email protected]> wrote: >> Hello, TAG! >> >> I am trying to brush up my French - again. So I bought some comics in >> French and I try to read them. Does anyone know of a command line tool >> or even a "vocabulary shell" that allows me to quickly look up words, >> prreferrably French words with Germen or English translations? >> >> I can always hack a Perl script that queries dict.leo.org or similar >> services, but a simple lookup tool should be around already. >> > > $ apt-get install dict-freedict-fra-eng dict-freedict-fra-deu latrine > $ latrine freedict-fra-eng >
Ah... oops. Wrong thing - that's a vocabulary trainer. 'dict' should work with the freedict stuff.
BTW, after being something of a graveyard for a few years, the freedict project has come back to life.
Jimmy O'Regan [joregan at gmail.com]
On 4 February 2010 00:51, Jimmy O'Regan <[email protected]> wrote:
> On 4 February 2010 00:48, Jimmy O'Regan <[email protected]> wrote: >> On 4 February 2010 00:08, René Pfeiffer <[email protected]> wrote: >>> Hello, TAG! >>> >>> I am trying to brush up my French - again. So I bought some comics in >>> French and I try to read them. Does anyone know of a command line tool >>> or even a "vocabulary shell" that allows me to quickly look up words, >>> prreferrably French words with Germen or English translations? >>> >>> I can always hack a Perl script that queries dict.leo.org or similar >>> services, but a simple lookup tool should be around already. >>> >> >> $ apt-get install dict-freedict-fra-eng dict-freedict-fra-deu latrine >> $ latrine freedict-fra-eng >> > > > Ah... oops. Wrong thing - that's a vocabulary trainer. 'dict' should > work with the freedict stuff. > > BTW, after being something of a graveyard for a few years, the > freedict project has come back to life. >
Dammit, two emails and I didn't even think to plug my own project:
$ echo chiens|apertium fr-es|apertium es-en Dogs
We don't have released English-French yet, but I have an early alpha:
$ echo chiens|apertium fr-en dogs
It's only available (for now) from SVN:
svn co https://apertium.svn.sourceforge.net/svnroot/apertium/incubator/apertium-en-fr/ apertium-en-fr
If you bug me about it, I'll actually pay attention to it (We're not likely to have anything<->German in the near future, though - noone currently interested in doing anything with German)
-- <Leftmost> jimregan, that's because deep inside you, you are evil. <Leftmost> Also not-so-deep inside you.
René Pfeiffer [lynx at luchs.at]
On Feb 04, 2010 at 0100 +0000, Jimmy O'Regan appeared and said:
> >> [...] > > Dammit, two emails and I didn't even think to plug my own project:
> $ echo chiens|apertium fr-es|apertium es-en > Dogs > > We don't have released English-French yet, but I have an early alpha: > $ echo chiens|apertium fr-en > dogs
Sounds fine to me. Also the vocabulary trainer is worth a try. Thanks!
> [...] > If you bug me about it, I'll actually pay attention to it (We're > not likely to have anything<->German in the near future, though - > noone currently interested in doing anything with German)
I just need French -> something I can understand, so English is fine.
Best, René.
Ben Okopnik [ben at linuxgazette.net]
On Thu, Feb 04, 2010 at 01:08:04AM +0100, René Pfeiffer wrote:
> Hello, TAG! > > I am trying to brush up my French - again. So I bought some comics in > French and I try to read them. Does anyone know of a command line tool > or even a "vocabulary shell" that allows me to quickly look up words, > prreferrably French words with Germen or English translations? > > I can always hack a Perl script that queries dict.leo.org or similar > services, but a simple lookup tool should be around already.
Sure - 'dict' does that just fine. Just pick the database that you want with '-d' (you can look up the ones that are available with '-D'.)
ben@Jotunheim:~$ dict -D Databases available: gcide The Collaborative International Dictionary of English v.0.48 wn WordNet (r) 2.0 moby-thes Moby Thesaurus II by Grady Ward, 1.0 elements Elements database 20001107 vera Virtual Entity of Relevant Acronyms (Version 1.9, June 2002) jargon Jargon File (4.3.1, 29 Jun 2001) foldoc The Free On-line Dictionary of Computing (27 SEP 03) easton Easton's 1897 Bible Dictionary hitchcock Hitchcock's Bible Names Dictionary (late 1800's) bouvier Bouvier's Law Dictionary, Revised 6th Ed (1856) devils THE DEVIL'S DICTIONARY ((C)1911 Released April 15 1993) world02 CIA World Factbook 2002 gazetteer U.S. Gazetteer (1990) gaz-county U.S. Gazetteer Counties (2000) gaz-place U.S. Gazetteer Places (2000) gaz-zip U.S. Gazetteer Zip Code Tabulation Areas (2000) --exit-- Stop default search here. afr-deu Africaan-German Freedict dictionary afr-eng Africaan-English Freedict Dictionary ara-eng English-Arabic Freedict Dictionary cro-eng Croatian-English Freedict Dictionary cze-eng Czech-English Freedict dictionary dan-eng Danish-English Freedict dictionary deu-eng German-English Freedict dictionary deu-fra German-French Freedict dictionary deu-ita German-Italian Freedict dictionary deu-nld German-Nederland Freedict dictionary deu-por German-Portugese Freedict dictionary eng-afr English-Africaan Freedict Dictionary eng-ara English-Arabic FreeDict Dictionary eng-cro English-Croatian Freedict Dictionary eng-cze English-Czech fdicts/FreeDict Dictionary eng-deu English-German Freedict dictionary eng-fra English-French Freedict Dictionary eng-hin English-Hindi Freedict Dictionary eng-hun English-Hungarian Freedict Dictionary eng-iri English-Irish Freedict dictionary eng-ita English-Italian Freedict dictionary eng-lat English-Latin Freedict dictionary eng-nld English-Netherlands Freedict dictionary eng-por English-Portugese Freedict dictionary eng-rom English-Romanian FreeDict dictionary eng-rus English-Russian Freedict dictionary eng-spa English-Spanish Freedict dictionary eng-swa English-Swahili xFried/FreeDict Dictionary eng-swe English-Swedish Freedict dictionary eng-tur English-Turkish FreeDict Dictionary eng-wel English-Welsh Freedict dictionary fra-deu French-German Freedict dictionary fra-eng French-English Freedict dictionary fra-nld French-Nederlands Freedict dictionary hin-eng English-Hindi Freedict Dictionary [reverse index] hun-eng Hungarian-English FreeDict Dictionary iri-eng Irish-English Freedict dictionary ita-deu Italian-German Freedict dictionary jpn-deu Japanese-German Freedict dictionary kha-deu Khasi-German FreeDict Dictionary lat-deu Latin-German Freedict dictionary lat-eng Latin-English Freedict dictionary nld-deu Nederlands-German Freedict dictionary nld-eng Nederlands-English Freedict dictionary nld-fra Nederlands-French Freedict dictionary por-deu Portugese-German Freedict dictionary por-eng Portugese-English Freedict dictionary sco-deu Scottish-German Freedict dictionary scr-eng Serbo-Croat-English Freedict dictionary slo-eng Slovenian-English Freedict dictionary spa-eng Spanish-English Freedict dictionary swa-eng Swahili-English xFried/FreeDict Dictionary swe-eng Swedish-English Freedict dictionary tur-deu Turkish-German Freedict dictionary tur-eng Turkish-English Freedict dictionary english English Monolingual Dictionaries trans Translating Dictionaries all All Dictionaries (English-Only and Translating) web1913 Webster's Revised Unabridged Dictionary (1913) world95 The CIA World Factbook (1995)
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
René Pfeiffer [lynx at luchs.at]
On Feb 03, 2010 at 2119 -0500, Ben Okopnik appeared and said:
> On Thu, Feb 04, 2010 at 01:08:04AM +0100, René Pfeiffer wrote: > > [...] > > I can always hack a Perl script that queries dict.leo.org or similar > > services, but a simple lookup tool should be around already. > > Sure - 'dict' does that just fine. Just pick the database that you want > with '-d' (you can look up the ones that are available with '-D'.) > > ``` > ben@Jotunheim:~$ dict -D > Databases available: [...]
Damn, I think this is a classic case of it's hard to see the jungle through the ferns. I never thought of dict although it is installed almost everywhere.
Best, René.