Comment 1 for bug 910452

Revision history for this message
Richard Wordingham (richard-wordingham) wrote :

I forgot to report the effects of the bug.

The effect of the bug can be demonstrated using spelling dictionary th_TH.dic from myspell-th Version 1:3.2.0-3ubuntu3.1 but with th_TH.aff modified by correcting 'SET TIS620-2533' to 'SET TIS620' (http://bugs.launchpad.net/ubuntu/+source/openoffice.org-dictionaries/+bug/910447 refers). Without this change, the corrections of สะกัด to สกัด and หณา to หมา are not offered - running with locale set by LANG=en_GB.utf8 the suggestion lines for input are are

& สะกัด 4 0: สะกิด, สะกดทัพ, สะกด, สะบัด
& อไร 4 16: อุไร, อะไร, ขอบไร, ฤร้
& หณา 4 26: อาณา, อุณา, สกุณา, ยฆษณา

when the program is run using (echo '\!'; echo '-'; echo สะกัด อไร หณา)| hunspell -d th_TH

When encds[] is corrected as suggested above, the suggestion lines become

& สะกัด 6 0: สะกด, สกัด, สะกิด, สะบัด, สังกัด, สะดวก
& อไร 4 16: อุไร, อะไร, อมร, อรไท
& หณา 5 26: หา, ห่า, หรา, หมา, หนา

 Note that the corrections of สะกัด to สกัด and หณา to หมา are then offered. Additionally, the non-existent words ฤร้ and ยฆษณา are no longer offered.