[libvoikko] tatar and chuvash in libvoikko
Francis Tyers
ftyers at prompsit.com
Mon Sep 16 23:43:16 EEST 2013
El dl 16 de 09 de 2013 a les 20:31 +0000, en/na Francis Tyers va
escriure:
> Hello all!
>
> Would it be possible to add Tatar and Chuvash to the libreoffice-voikko
> plugin ? I think it needs to be added in:
>
> static Bcp47ToOOoMapping const bcpToOOoMapping[] = {
> ...
> {"chv", "chv", "RU"},
> {"tat", "tat", "RU"},
> ...
>
> But without any joy... What is the structure of that struct ?
>
> It works in voikkospell:
>
> $ voikkospell -l
> se-x-standard: Giellatekno/divvun/UiT morphological analyser-based
> speller (Northern Sami)
> sma-x-standard: Giellatekno/divvun/UiT morphological analyser-based
> speller (Southern Sami)
> tat-x-standard: Apertium morphological analyser-based speller (Tatar)
>
> $ echo "Казахстан" | voikkospell -s -d tat
> W: Казахстан
> S: Казакъстан
> S: Канзастан
Oops, it should probably be:
{"tat", "tt", "RU"},
But now, although I can select Tatar in the dropdown list (it comes up
with the little blue ABC tick), I get every word underlined in red. Any
suggestions ?
Fran
More information about the Libvoikko
mailing list