Skip to main content

Terminal Dictionary

Project description

Define
======

Define is a terminal dictionary script that uses wordnik for
definitions. Supports audio pronounciation

Example:

$define love

LOVE:

A deep, tender, ineffable feeling of affection and solicitude toward
a person, such as that arising from kinship, recognition of
attractive qualities, or a sense of underlying oneness.

INSTALLATION
============

Installing define is easy:

Using pip:

$ sudo pip install define

On Arch:

$ sudo yaourt -S define

Manual Installation:

$ sudo python setup.py install
[STRIKEOUT]You will need an api key from wordnik, get one from
developer.wordnik.com and edit the "key" variable inside the script[STRIKEOUT]
\*API key is now included in the script"

Notes for Ubuntu 15.04 (may apply to other versions):
To enable pip you'll need to add universe to your sources.

$ echo "deb http://archive.ubuntu.com/ubuntu/ vivid universe" | sudo tee -a "/etc/apt/sources.list"

$ sudo apt-get update

$ sudo apt-get install python-pip

To make use of audio feature if you install with pip. You'll need to install the gstreamer pacakge.

$ sudo apt-get install gstreamer-tools

Using Audio
===========

Audio can be used in define with the -a or --audio flag.

$ define --audio love

LOVE:

A deep, tender, ineffable feeling of affection and solicitude toward
a person, such as that arising from kinship, recognition of
attractive qualities, or a sense of underlying oneness.

Would you like to hear audio pronounciation? [Y/N] n

FLAGS
=====

Define has the following flags:

*-a/--audio* - Audio pronounciation

*-t/--thesaurus* - Thesaurus
*-u/--urban* - Search Urban Dictionary instead of Wordnik

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for define, version 1.35
Filename, size File type Python version Upload date Hashes
Filename, size define-1.35.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page