Parse and query stargaze dictionary files.
Project description
version number: 0.0.1
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stargaze-0.0.1.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for stargaze-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d5bd0f614ed4ee63b671434ae2d1bc826bbea6f213073d860e3c4df7f3f1f4e |
|
MD5 | 37b88656bc65b1e0335cea109fa06453 |
|
BLAKE2b-256 | 795ddf2eb14f2928e59be3c2da4a6352e500522bf7e08f914d5f62f59be53d40 |