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

Update xnoise.spec

I got a nice and long review for my first package of xnoise :). You can read the review at https://bugzilla.redhat.com/show_bug.cgi?id=586433 I made the suggested changes – 4c4 < Summary: A media player for gtk+ — Summary: A media player for GTK+ 6c6 < License: GPLv2 — License: GPLv2+ 12c12,14 < Source0: xnoise-0.1.2.tar.gz — # make dist #to generate xnoise-0.1.2.tar.bz2 Source0: xnoise-%{version}.tar.bz2 15,16c17,20 < BuildArch: i686 < BuildRequires: vala, vala-devel, intltool, libtool, autogen, automake >= 1.11, gnome-common, gtk2-devel, sqlite-devel, taglib-devel, unique-devel, gstreamer-devel, gstreamer-plugins-base-devel, gettext, desktop-file-utils — #BuildArch: noarch BuildRequires: intltool, libtool, autogen, automake >= 1.11 BuildRequires: gnome-common, gtk2-devel, sqlite-devel, taglib-devel BuildRequires: unique-devel, gstreamer-devel, gstreamer-plugins-base-devel, gettext, desktop-file-utils 18c22 < Requires: gstreamer, gstreamer-plugins-base, gtk2, gettext — #Requires: gstreamer, gstreamer-plugins-base, gtk2 21,32c25,27 < Xnoise is a media player for gtk+ < Xnoise is written in vala < Xnoise can play every kind of audio/video data that gstreamer can handle < < #%package devel < #Summary: Development files for %{name} < #Group: Development/Libraries < #License: GPLv2 < #Requires: %{name} = %{version}-%{release} < #Requires: pkgconfig < #%description devel < #Development packages for Xnoise — Xnoise is a media player written in vala for GTK+. Xnoise can play every kind of audio/video data that gstreamer can handle. Xnoise uses a tracklist centric design and uses a hierarchical tree structure media browser along with plugin interface. Xnoise is always running in a single instance,so that music files that are associated with it, will always be added to the tracklist instead of starting a new instance. 67,70c62 < %{_libdir}/pkgconfig/xnoise-1.0.pc < #%files devel < #%{_libdir}/pkgconfig/xnoise-1.0.pc < #%{_libdir}/xnoise — %exclude %{_libdir}/pkgconfig/xnoise-1.0.pc 74,75c66,69 < * Tue Apr 27 2010 rtnpro rtnpro@gmail.com 0.1.2 < – RPM package xnoise — ...

May 1, 2010 · 2 min · Ratnadeep Debnath

RPM Packaging xnoise for fedora

This is the first time I am packaging a software. I chose xnoise. I have been using xnoise (compiled from the source repository) for sometime and I like it. What is Xnoise? Xnoise can play every kind of audio/video data that gstreamer can handle. Xnoise uses a tracklist centric design and uses a hierarchical tree structure media browser. It also has a plugin interface. Xnoise is always running in a single instance, so that music files that are associated with it, will always be added to the tracklist instead of starting a new instance. ...

April 28, 2010 · 1 min · Ratnadeep Debnath