Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-24-2011, 06:25 PM   #1
LQ Newbie
Registered: May 2011
Posts: 15

Rep: Reputation: Disabled
Talking Automatic Dictionary

Hello LinuxQ's community!

I would like to automate a definition process. I have 11,581 to define. :|

I would like to read each word, copy the definition(s) and append it next or below the word or save definitions to file.

The word list has one word per line.

Python script?

Its an interesting project but I cant seem to figure it out. Lack of programming skills.

If I can get this done I wouldnt mind donating for the help.


Last edited by brainAcid; 05-24-2011 at 06:33 PM.
Old 05-24-2011, 06:45 PM   #2
LQ Newbie
Registered: May 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
Something like
read $wordFILE
for word in $wordFILE
curl dict://$word >> $outFILE
Not a programmer... =-(
Old 05-24-2011, 07:10 PM   #3
LQ Newbie
Registered: May 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
exec 3< input.txt
while read <&3
do echo
curl dict://"$REPLY":web1913 >> outfile
exec 3>&-


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggest a good offline dictionary-database for gnome-dictionary. abhijeetnayak Linux - Software 1 07-05-2009 06:17 PM
Dictionary pras123 Linux - General 3 08-11-2008 01:23 PM
Dictionary for 10.3 raylhm SUSE / openSUSE 4 01-26-2008 05:05 PM
Better dictionary for gnome-dictionary? General Linux - Software 4 08-21-2006 11:39 PM
dictionary santasballz Linux - Software 1 03-02-2004 02:15 AM

All times are GMT -5. The time now is 07:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration