Skip to content

Stargaze looks up words in a stardict dictionary.

License

Notifications You must be signed in to change notification settings

codito/stargaze

Repository files navigation

stargaze

version number: 0.0.2

Build Say thanks!

Overview

Looks up for words in a stardict dictionary.

Installation / Usage

To install use pip:

$ pip install stargaze

Or clone the repo:

$ git clone https://github.com/codito/stargaze.git
$ python setup.py install

Example

>>> import stargaze
>>> d = stargaze.Dictionary("./docs/words")
>>> d.lookup("word1")
'word1_defn'
>>> # let's lookup for a synonym
... d.lookup("word1_syn1")
'word1_defn'

License

MIT

Contributing

Pull requests are most welcome.

About

Stargaze looks up words in a stardict dictionary.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages