shreeshrii / hindi-hunspell Goto Github PK
View Code? Open in Web Editor NEWHindi wordlists, dictionary and affix files in hunspell format
Hindi wordlists, dictionary and affix files in hunspell format
Hi guys,
this is an awesome piece of work!
I think LibreOffice project would be very interested in adding it to its spellcheckers.
Their vocab is no match.
I think the only link that is missing is a license statement (maybe MIT license?).
Best,
Barney
The following rule in affix file is duplicated. Please remove one line.
SFX 3 ी िए ी
Use the validator found here...
I have tried to generate all forms of Arabic words in this dictionary
https://github.com/linuxscout/ayaspell/tree/master/dict
It generated only 294224 words
I know there are millions of valid cases
Any idea why?
Here my modified unmunchit.sh file
LC_ALL=ar_AE.utf8 ../tools/unmunch.sh \
../Arab/arb_alias.dic \
../Arab/arb_alias.aff \
> results.txt
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 *
Convert PDF of tables to CSV-formatted tables.
Tried hi_IN
dictionary with Hunspell (v1.7.0) on macOS 10.13. It is producing incorrect results for words within and outside the dictionary.
Hunspell 1.7.0
शब्द
# शब्द 0
द्वारा
# द्व 0
# र 4
ढूंढेगा
# ढूंढेग 0
आवश्यकता
# आवश्यकत 0
कोशिश
# क 0
# श 2
# श 4
बिंदु
# ब 0
# ंदु 2
दुनिया
# ब 0
# ंदुन 2
# य 7
बनाना
# बन 0
# न 3
अपरिमाप्य
# अपर 0
# म 4
# प्य 6
I have also noticed that the words are incorrectly split where ा
, ि
, ी
, ो
, ौ
mAtra occurs. This may contribute to the incorrect results.
Suppose that I have a Sanskrit pada list in devanAgarI. How do I make a hunspell file? Detailed step by step instructions would be very helpful. नमः पार्वतीपतये 🙏
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.