Lately, I have been working on adding new features to wordgroupz like dictionary support, wiktionary support, pronunciation support. I have also made some changes to the wordgroupz gui optimized for the new features.
wordgroupz v 0.2 screenshot:
The dictionary support features online dict.org webster dictionary and a offline wordnet dictionary. I used the server interface to retrieve definitions from it.
I used the nltk library to retrieve definitions from wordnet dicitionary database.
I implemented the wiktionary support using webkit, BeautifulSoup and urllib2. Pronunciations if availale on wiktionary are allowed to be downloaded.
The new interface looks like this below:
Due to the frequent changes made in the wordgroupz
repository at http://gitorious.org/wordgroupz/wordgroupz/trees/master
, I have not been able to update the setup.py, README, etc. files. I also added a nltk*tar.gz in the src folder, that looks weird. I will be cleaning up the repository.
For the time being, to test the code, follow the following steps:
1) download the src code
2) do not install it via setup.py
3) extract the nltk*.tar.gz and install the nltk python module from the setup.py inside nltk.
4) install pywebkitgtk
5) Now run the new interface using wordgroupz_new.py
All the previous features have not been ported to the wordgroupz_new.py, which I wrote while coding for the wiktionary support. I will updating the file soon.
Please give your valuable feedback for improvements.
The post is brought to you by lekhonee-gnome v0.9