luni, 13 decembrie 2010

DEX pentru Kindle in format Mobipocket, acum cu forme flexionare

Dupa cum era de asteptat, prima imbunatatire adusa dictionarului pentru Kindle este adaugarea formelor flexionare.

Din nou baza de date furnizata de DEXOnline a facut ca rezolvarea sa fie floare la ureche, informatia fiind usor de extras
De data aceasta a trebuit sa invat putin Python pentu a putea modifica scriptul tab2opf.py si sa studiez putin tagurile pentru forme flexionare din Mobipocket.

Noul dictionar se gaseste aici. Este o versiune beta, unul dintre buguri fiind ca are probleme cu "a" : baiat, flacau, vazut. Uneori merge, alteori nu.

Codul pentru scriptul de generare a dictionarului mai are nevoie de putina mentenanta deoarece acum e o hackereala struto-camila (citeste dictionarul din fisier tab-delimited si formele flexionare din mysql).
Mi-am propus sa rescriu o versiune care citeste doar din baza de date.
Mai tarziu s-ar putea scrie si o versiune care genereaza dictionarul direct prin conectarea la serverul dexonline, desi nu sunt sigur daca acest lucru va fi agreat din cauza incarcarii suplimentare pe care o va genera pe server.

Avand in vedere comentariile in limba romana de la postul anterior, am renuntat la engleza.

luni, 29 noiembrie 2010

DEX for Kindle - Romanian dictionary

I just finished converting the main definitions from the dexonline.ro database into a basic working Kindle dictionary.

Tools I used:

  1. DEXOnline database snapshot - definitions table contains everything already formatted. Great work ! http://dexonline.ro
  2. xampp lite (for instant mysql and phpMyAdmin ) http://www.apachefriends.org/en/xampp.html
  3. phpMyAdmin for exporting data into a tab delimited file.
  4. tab2opf.py script from http://www.klokan.cz/projects/stardict-lingea/
  5. Mobipocket Creator : http://www.mobipocket.com/en/downloadsoft/productdetailscreator.asp
Main credits for the tool chain go to this forum : http://www.mobileread.com/forums/showthread.php?t=20480 .

The final product can be downloaded here.

marți, 10 august 2010

Blackberry OS 5.0 on Curve 8900

I just finished upgrading the firmware on my Blackberry using the tutorial from BerryReview.
Everything went smooth, after I downloaded the actual phone software instead of the Desktop Manager with the wrong name.

I recommend using BBSAK, it works perfectly.

This is the url for the tutorial : http://www.berryreview.com/2010/01/31/how-to-upgrade-your-blackberry-operating-system/
This is the url for the BBSAK : http://rimgeeks.com/viewtopic.php?f=59&t=56

You can get latest versions of phone software from this list : http://na.blackberry.com/eng/support/downloads/download_sites.jsp

I used firmware version 5.0.0.1168 from Vodafone UK because not all carriers offer the latest sofware versions.

The first thing I did was to confirm that my app still works, which it did.