To repeat: compile spellers in e.g. lang-mns. As shown, the intended иӈ for ин has a distance of 2, as defined in ditdist.default.txt. Unfortunately, mns.zhfst does not read this definition, and returns 10 (one Levenshtein operation).
uit-mac-443 lang-mns (main)$ e ин|hfst-ospell -S -n 10 tools/spellcheckers/mns.zhfst
"ин" is NOT in the lexicon:
Corrections for "ин":
и 10.000000
и- 10.000000
ис 10.000000
иӈ 10.000000
щин 10.000000
шин 10.000000
итн 10.000000
ит 10.000000
исн 10.000000
и. 10.000000
uit-mac-443 lang-mns (main)$ grep ӈ tools/spellcheckers/editdist.default.txt
ӈ
н ӈ 2
uit-mac-443 lang-mns (main)$
Also the other files (strings.default.txt, final.default.txt etc) are invisible to msn.zhfst.
The same goes for other languages, but not for all: sme and sms work fine, the same does the cyrillic-based mhr.
To repeat: compile spellers in e.g. lang-mns. As shown, the intended иӈ for ин has a distance of 2, as defined in ditdist.default.txt. Unfortunately, mns.zhfst does not read this definition, and returns 10 (one Levenshtein operation).
Also the other files (strings.default.txt, final.default.txt etc) are invisible to msn.zhfst.
The same goes for other languages, but not for all: sme and sms work fine, the same does the cyrillic-based mhr.