[Kbabel] About rough translations
Stanislav Visnovsky
visnovsky at kde.org
Wed Jun 4 13:43:05 CEST 2003
Dňa St 4. Jún 2003 12:35 Andrea Rizzi napísal:
> Alle 08:43, giovedě 29 maggio 2003, Stanislav Visnovsky ha scritto:
> > Hi Bernd!
> >
> > You use "translate single words", right?
>
> Actually it use SearchEngine::translate right?
> We could do better. "Translate" is supposed to return only exact
> translations but the DBSearchEngine (exp new version) can do smart fuzzy
> translation (i.e. better than word by word) so I think we can change the
> SearchEngine API so that we can specify how fuzzy translation could be, say
>
> SearchEngine::translate(QString original, int minscore=100)
There is SearchEngine::fuzzyTranslation(), but it gets the score from the
plugin and would evaluate that on its own.
Stanislav
More information about the kbabel
mailing list