A colleague of me has a word list for Tajik with at least 8,000 words.
1. What would be the best way to change the word list into a format that can be used by Hunspell?

If I understand you correctly, you've got a world list as a plain-text file. I'm not sure, what is “best”, but the quickest solution can be as follows: 1) Save your word list as a text file in UTF-8 with .dic extension (say, tojik.dic) 2) Create an affix file with the same name and .aff. extension (for the given example, this should be tojik.aff). Just to begin with that, you'll need there only one line:

SET UTF-8

3) Then copy you files to the folder with spellcheck modules and modify dictionary.lst file. Since Tajik is not supported currently, you'll have to engage you module for another language. For example, you can replace German(Germany), if you don't need that one:

DICT de DE tojik

It does not matter much, which language you replace, but you'll have to format your text language respectively.

So, here it is.

An advanced way is to create a true affix file. As far as I understand, Tajik, as an Iranian language, should have a grammar more or less similar to European languages, so there should be no problem. You can start with instructions at http://lingucomponent.openoffice.org/dictionary.html, and this group is also ready to help.

2. Currently, Tajik (only 6 million native speakers)

Only? Well, many languages currently supported have less…

is not a language that is selectable in the list of default languages. Once we have the dictionary, would it be possible to add it?

This is not only about an antry to the spellcheck list, but also about
many data items necessary to build a locale. I'm not very competent in this matter, hopefully, someone will comment more.

Best regards,

Dmitri Gabinski
---
Хочешь вкусно перекусить? Загляни в синема - кафе "Дом" и закажи один
из домашних обедов. Домашние обеды от 8000. Мы находимся по адресу:
Минск, ул.Красноармейская, 3 (Центральный дом офицеров)
кафе "Дом", т.768-90-73, e-mail: [EMAIL PROTECTED], http://www.cafedom.by

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to