wordgroupz development news

Lately, I worked on fine tuning the code for wordgroupz. I fixed some bugs that I was aware of, like unable to parse data retrieved from wiktionary pages which did not have any ‘Contents’ field, error launching games when no words in db, some bugs in webster view, etc. Now, I have added a dialog which will show a message saying ‘Not enough data’ if the number of words in the db are not enough for playing games. I have also added support for parsing data from wiktionary pages which have no ‘Contents’ field. Also made some fixes in the webster view. ...

August 29, 2010 · 1 min · Ratnadeep Debnath

wordGroupz development News

Although, I had added the accuracy for the words in wordGroupz in the treeview, it was not satisfactory. First, the app crashed whenever I added a new word to the database. I fixed that easily. But then, the new word would show its accuracy as 0% even before attempting to answer it. I decided to set the CellRendererProgress bar text to ‘New’ for new/not attempted words. I got some help for IRC Nick: Juhaz at #pygtk in GimpNet. I came to know that set different properties of a cell for a particular column in a gtk.TreeView, I have to set a function in gtk.TreeViewColumn.set_cell_data_func(). I got further help from the documentation at Develp in Fedora. ...

August 24, 2010 · 1 min · Ratnadeep Debnath

wordGroupz development news

wordGroupz is now slowly moving to the version 0.3 release. I launched the v0.3 b quite some time back. Since then, I have worked on many new features, adding features, deprecating old features and many random changes. In this time, wordgroupz underwent a considerable upgrade in its GUI. Based on the outcome of the games, I decided to store the accuracy of the user for each word and show a bar chart for that. But that did not look good. So, I dropped it. I, instead, showed the accuracy % alongside the words in the wordgroupz tree view with the help of gtk.CellRendererProgressBar. ...

August 21, 2010 · 1 min · Ratnadeep Debnath

wordgroupz development news

Finally got time to write this post. I’ve been a lot busy lately. Had to do some changes in wordgroupz.I was working on the output display format for wordgroupz, i.e, how to show the definitions stored in the wordgroupz database. I created a policy that whenever a word is added, wordgroupz will fetch its definition from the default “Wordnet” dictionary. Then one has the option to search for more of the word’s details on wiktionary from within wordgroupz. Once the wiktionary page is viewed online, the wiktionary data is saved in the database.I have implemented a tabbed design for viewing the details of the word: one for wordnet and the other for wiktionary, till now. I have to expand it for webster as well. A few extra lines of code will do that. The rest remains the same.Below are the screenshots of the new tabbed view:![](http://rtnpro.fedorapeople.org/images/wordnet_view.png)Wordnet output![](http://rtnpro.fedorapeople.org/images/wik_view.png)Wiktionary Output View Then, I started working on the games frontend. I took inspiration from kwordquiz. I put the flash card and the multiple-choice-question in a tabbed view. I am also recording the number of correct responses given along with the attempts made on a particular word in both the games : flash-card and MCQ. This will help the user to identify the words that are difficult to remember for him. Thus, he can pay more attention on those words. Below are the screenshots for the games module.![](http://rtnpro.fedorapeople.org/images/flash_card.png)Flash-Card![](http://rtnpro.fedorapeople.org/images/mcq.png)MCQHave to improve the GUI for games. The functional code is almost done. Now, remains beautification.I request readers of this blog to give their kind suggestions to make the UI better.To test the games module, you can do :$git clone git://gitorious.org/wordgroupz/wordgroupz.git$cd wordgroupz$python wordgroupz.pyNote: Now you can add some words to wordgroupzNote: run the games module$python games.py The post is brought to you by [lekhonee-gnome](http://fedorahosted.org/lekhonee) v0.9

August 11, 2010 · 2 min · Ratnadeep Debnath

Resuming work on wordgroupz

For some days, I have not been able to work on wordgroupz. I was sufferring from fever. Apart from that, I came back to Durgapur yesterday. I am, kind of, well now. Now, I started working on the saving the various details from wiktionary. Still having some problems regarding customizing wiktionary view. Some trivial issues like :* webkit.WebView.load_string(), the backward_forward list doesn’t work nicely. Rather, if you jump to a new link, you cannot come back to the original load_string page.* opening and editing html with beautifulsoup disables the javascripts.The post is brought to you by [lekhonee-gnome](http://fedorahosted.org/lekhonee) v0.9

August 2, 2010 · 1 min · Ratnadeep Debnath

working on flash-card module for wordgroupz

Now, I am working on making the flash-card module for wordgroupz. I plan to collect the responses( incorrect/ correct) for the words. This will come to use for performance stats generation. Below are the screenshots of the flash-card module. ![](http://rtnpro.fedorapeople.org/images/Screenshot-games.py.png)![](http://rtnpro.fedorapeople.org/images/Screenshot-games.py-1.png)Suggestions are welcome ![:)](http://127.0.0.1:8080/wordpress/wp-includes/images/smilies/icon_smile.gif)The post is brought to you by [lekhonee-gnome](http://fedorahosted.org/lekhonee) v0.9

July 25, 2010 · 1 min · Ratnadeep Debnath

wordgroupz development news

For some time now, I have been working on wordgroupz. Since version 0.2, I have added some new features. The new features include dictionary support: online webster dictionary from dict.org and offline wordnet. For implementing the online dictionary support, I used the server interface of dict.org. For offline, I used the dictionary databases of the wordnet application and the python-nltk library. I also included wiktionary support this time. I used to find it tedious opening a notebook, browser to search wikipedia/wiktionary, copy-paste notes. That’s why I decided to get them all together under one hood – wordgroupz. I include a gtkNotebook : 1st page for showing, editing details of the selected word and the 2nd page for browsing through wiktionary and downloading pronunciations if available. I had to study urllib2, BeautifulStone, pywebkitgtk for the purpose. ...

July 23, 2010 · 2 min · Ratnadeep Debnath

wordgroupz v 0.3 beta released!

Today I released wordgroupz v 0.3b. New Features -1. Dictionary support – online dict.org webster, offline wordnet2. Wiktionary support – lookup details of the word on wiktionary, download pronunciations if available3. New interface![](http://rtnpro.fedorapeople.org/images/Screenshot-wordGroupz-2.png)![](http://rtnpro.fedorapeople.org/images/Screenshot-wordGroupz-3.png)Dependencies for wordgroupz:1) gtk, pygtk22) python-nltk3) wordnet4) pywebkitgtk5) BeautifulSoupTo install wordgroupz for fedora:1) download [http://rtnpro.fedorapeople.org/rtnpro.repo](http://rtnpro.fedorapeople.org/rtnpro.repo) into /etc/yum.repos.d/2) as root do: yum install wordgroupzTo install wordgroupz on any other linux OS:1) download [http://rtnpro.fedorapeople.org/wordgroupz/wordgroupz-0.3b.tar.gz](http://rtnpro.fedorapeople.org/wordgroupz/wordgroupz-0.3b.tar.gz)2) Untar it: $tar xvf wordgroupz-0.3b.tar.gz3) Change directory to wordgroupz-0.3b: $cd wordgroupz-0.3b4) As root, install from setup.py:$su#python setup.py installFeel free to report any bugs, new feature request or suggestions.

July 23, 2010 · 1 min · Ratnadeep Debnath

wordgroupz development news

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:![](http://rtnpro.fedorapeople.org/Screenshot-wordGroupz.png)![](http://home/rtnpro/Pictures/Screenshot-wordGroupz.png)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:![](http://rtnpro.fedorapeople.org/Screenshot-wordGroupz-1.png)Due to the frequent changes made in the **wordgroupz** repository at [http://gitorious.org/**wordgroupz**/**wordgroupz**/trees/master](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 code2) do not install it via setup.py3) extract the nltk*.tar.gz and install the nltk python module from the setup.py inside nltk.4) install pywebkitgtk5) Now run the new interface using wordgroupz_new.pyAll 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](http://fedorahosted.org/lekhonee) v0.9 // //

July 22, 2010 · 2 min · Ratnadeep Debnath

FAD Pune 2010

It was a great experience at the FAD in Red Hat, Pune. The FAD was conducted for two days, 29th and 30th May, 2010. Day 01 Siddhesh took a session on autotools. The session was informative and interactive. I came to know how the big Makefile and Configure files are automatically generated from makefile.am and configure.ac (Makefile.in is first generated though, then the Makefile). Siddhesh used the linkc program for the purpose. ...

June 1, 2010 · 3 min · Ratnadeep Debnath