giellalt / lang-sms

Finite state and Constraint Grammar based analysers and proofing tools, and language resources for the Skolt Sami language
https://giellalt.uit.no
GNU Lesser General Public License v3.0
4 stars 0 forks source link

System-wide speller suggests what it does not accept in TextEdit MacOS #8

Closed rueter closed 8 months ago

rueter commented 8 months ago

On 13.5.1 Ventura the spell checker does not accept word forms like ‹säämas›, but its top suggestion is the very same ‹säämas› form. This is related to https://github.com/giellalt/lang-lut/issues/4 and, most likely, https://github.com/giellalt/lang-lut/issues/1

hfst-lookup src/fst/analyser-gt-norm.hfstol 
> säämas
säämas  säämas+Adv  0,000000
säämas  sääʹmm+N+Lat    0,000000

echo 'säämas' | hfst-tokenise -g tools/tokenisers/tokeniser-disamb-gt-desc.pmhfst 
"<säämas>"
    "säämas" Adv <W:0.0>
    "sääʹmm" N Sem/Hum Lat <W:0.0>

hfst-ospell -S -n 5 tools/spellcheckers/sms.zhfst 
säämas
"säämas" is in the lexicon...

BUT, it is not accepted by the speller.

Screenshot 2024-01-30 at 12 18 13
snomos commented 8 months ago

Can you please post a bit more of the text into this issue, exactly as it is written in the editor? Preferably a whole sentence or paragraph that includes the word in question.

This also goes for the other bug reports that you mention (for lut).

snomos commented 8 months ago

Updated information:

but I found the sms bug was not repeating itself very well for me. Good news: few problems in sms

Thus closing this one.