Practice Russian

As an intermediate student of Russian, one is quite comfortable with most basic issues of grammar. The only impediment to reading relatively fluently is vocabulary. If one reads a Russian text with a dictionary, especially a dictionary in book form, the reading goes very slowly. This site lists some alternatives.

1. Use an electronic dictionary, which can be frustrating because one has to type in Russian.
2. Use Multitran where one can search words using the English transliteration of Russian words, e.g., privlekatel'nyj instead of привлекательный.
3. Try to find some program similar to ToolTip Dictionary that searched properly in some Russian dictionary.


A Russian Reader Program

I wrote a python script that attempts to do the following.
1. Given a Russian text uses Multitran to find the undeclined/unconjugated form of every word.
2. Uses Rambler to search the undeclined/unconjugated words in the dictionary.
3. Creates an html page containing the text, but instead of word the html file contains the string
,
which means that one can read the text and whenever one doesn't know a word it suffices to put the mouse on top of the word and the definition appears.

Problems
1. Some words may be the declined/conjugated forms of several Russian words.
2. My program uses a local copy of a part of the Multitran word database, which means that for some of the words it cannot find the undeclined/unconjugated form.
3. There are numerous translations to every word.
4. Quite importantly, the original Russian text need have all the ё letters, since the Multitran database contains the properly spelled words. This is a minor fix, but takes time.

Results
I took Pushkin's Медный Всадник and fed it into the program.
1. Here is the output from the program Медный Всадник. This is a slight variant, the tooltip containing only the undeclined/unconjugated word, the translations appearing in the status bar. Perhaps you might need to use Internet Explorer to allow the text in the status bar to appear.
2. I manually fixed every tag using a reasonable translation of the words (or related words) and obtained Медный Всадник.


Annotated Works
By annotated I mean an html file with each (hard) word translated in a tooltip. Ideally this will contain longer prose, but it is often hard to find prose on the Internet with properly spelled ё. For now I will try to put some poetry here.
Александр Пушкин Медный Всадник