A command line dictionary written in Perl using Merriam-Webster APIs.
For each entry, it contains:
Pronunciation: IPA(International Phonetic Alphabet)
Part of Speech
All searched words are saved in the set and saved to
It also save searched words and definitions into the file
quizlet.txt so that they can be imported into Quizlet which makes flashcards. The format is:
between term and definition:
Get API Keys: DictionaryAPI.
Add API Keys to
api_template.jsonand change the file name to
Install dependencies with
$ cpan Term::ANSIColor Term::ReadKey LWP::UserAgent LWP::Protocol::https Readonly XML::LibXML JSON::XS Data::Dumper Set::Light
- Run the script with
$ perl dict.pl
- To exit, use Ctrl+D.
This project is under GNU General Public License v3.0