Shreeshrii / hindi-hunspell

Hindi wordlists, dictionary and affix files in hunspell format
40 stars 18 forks source link

path of saving dictionary files does not match with the one mentioned in the config file #8

Open shantanuo opened 4 years ago

shantanuo commented 4 years ago

Correct your dictionary as shown below:

## Download and unzip your file
# mkdir hindi
# cd hindi
# wget https://github.com/Shreeshrii/hindi-hunspell/raw/master/hi_spellchecker_OOo3.oxt
# unzip hi_spellchecker_OOo3.oxt 

## Note the path mentioned in config file
# grep origin dictionaries.xcu
<value>%origin%/dictionaries/hi_IN.aff %origin%/dictionaries/hi_IN.dic</value>

## affix and dict files should be in a folder and not at root
## Create a folder and move dict files
# mkdir dictionaries
# mv hi_IN.* dictionaries/
# cd dictionaries

## Add number of lines at the top of the dict file
# wc -l hi_IN.dic
207694 hi_IN.dic
# vi hi_IN.dic

## SET UTF-8 at the top of affix file
# vi hi_IN.aff

## zip the file and test with libreoffice
# cd ..
# zip -r hindi.oxt *
shantanuo commented 4 years ago

Please add the new file to release and remove all older versions with wrong path :)

Shreeshrii commented 4 years ago

-rw-rw-r-- 1 ubuntu ubuntu 2688652 Apr 24 09:26 hindi.oxt -rw-rw-r-- 1 ubuntu ubuntu 1344390 Apr 24 09:26 hi_spellchecker_OOo3.oxt

The new file from you is twice as big as old one. Is that intended?

Do I need to do the other changes mentioned by you above?

Shreeshrii commented 4 years ago

@shantanuo It's been a while since I worked on hunspell. Please help with the following:

The hi_IN.aff file in hi_spellchecker_OOo3.oxt is different from the one in repo. I have changes some rules. Please review if the repo version is better.

shantanuo commented 4 years ago

1) The new file is twice as big as old one because I forgot to remove your .oxt file before zipping. Sorry for the mistake. Please do the needful since you know that the path was missing in your config file. 2) I do not see any problem with your affix file in the repo. I will check again and let you know if I come across any issues.

shantanuo commented 4 years ago

Are you the author of hi_IN.aff file?

Shreeshrii commented 4 years ago

Yes, I am.

On Tue, Jul 28, 2020 at 2:16 PM Shantanu Oak notifications@github.com wrote:

Are you the author of hi_IN.aff file?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Shreeshrii/hindi-hunspell/issues/8#issuecomment-664874846, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG37IYE3KXYUQ7UMOAWG43R52F5XANCNFSM4MPZZ6MA .

--


भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

shantanuo commented 4 years ago

I have added the libre office and firefox addon to official site. Can you please give 5 Stars on this page?

https://addons.mozilla.org/en-US/firefox/addon/hindi-spell-check/