giellalt / keyboard-crk

Plains Cree keyboard layout
https://giellalt.github.io/keyboard-crk
MIT License
2 stars 4 forks source link

Various issues with the CRK iPad keyboard + speller #8

Open aarppe opened 2 years ago

aarppe commented 2 years ago

Testing the new morpheme-completion based mobile keyboard and speller on my new iPad Mini (6th generation), I ran into a number of errant non unexpected behavior.

  1. It appears that the spelling relaxation component has not been integrated, as suggestions of any type are only provided for initial strings which are correctly written, i.e. with the correct vowel-marking with circumflexes as well as hyphens to delineate prefixes/preverbs. When the beginning of the word doesn't have special diacritics, then suggestions are provided, as e.g. maskonâhk for masko-, or nimaskoma or nimaskomak for nimaskom-

maskon

nimaskom

  1. Sort-of-decent behavior is received for the following sequence of correctly spelled word-initial fragments:

Nevertheless, this behavior is not what the terminal version provides, cf.

hfst-ospell -S -X -n 10 crk-x-predict_morphs-mobile.zhfst                                     
nikî-

nikî

"nikî-" is NOT in the lexicon:
Corrections for "nikî-":
nikî-|    6.366840
nikî-pê-|    10.573179
nikî-itik    10.964153
nikî-it|    11.539517
nikî-ayâ|    11.751834
nikî-ayân    11.790831
nikî-isi-|    12.434157

nikî-nitaw

nikî-nitaw
"nikî-nitaw" is NOT in the lexicon:
Corrections for "nikî-nitaw":
nikî-nitawi-|    12.127303
nikî-nitawi-wa-|    15.236742
nikî-nitaw-|    25.499439
nêkî-nitaw-|    25.499838
nêki-nitaw-|    25.500210
nikî-nihtâwâ|    26.999439

nikî-nitawi-wâpam

nikî-nitawi-wâpam
"nikî-nitawi-wâpam" is NOT in the lexicon:
Corrections for "nikî-nitawi-wâpam":
nikî-nitawi-wâpamâw    11.638130
nikî-nitawi-wâpam|    30.999462
nêkî-nitawi-wâpam|    30.999838
nêki-nitawi-wâpam|    31.000210
nikî-nitawi-wâpamo|    32.499462
nikî-nitawi-wâpamik    33.999458

nikî-nitawi-wâpamâ

nikî-nitawi-wâpamâw 
"nikî-nitawi-wâpamâw" is in the lexicon...
(but correcting anyways)
Corrections for "nikî-nitawi-wâpamâw":
nikî-nitawi-wâpamâw    10.638130
nikî-nitawi-wâpamâwak    35.999454
nikî-nitawi-wâpamâwaso|    37.499458
nêkî-nitawi-wâpamâwaso|    37.499840
nikî-nitawi-wâpamâwason    38.999458

nikî-nitawi-wâpamâw

  1. Furthermore, the terminal version works with underspecified vowel-diacritics as well as left-out hyphens, cf.
niki
"niki" is NOT in the lexicon:
Corrections for "niki":
nikî-|    6.866840
nêki    8.903528
nîkihk    10.171791
nîkinâhk    10.302754
nikikwa    10.528691
nikî-pê-|    11.073179
nikî-itik    11.464153

nikinita
"nikinita" is NOT in the lexicon:
Corrections for "nikinita":
nikî-nitawi-|    13.127303
nikî-nihtâ-|    13.736741
nikînihtâ|    23.999657
nêkînihtâ|    23.999838
nêkinihtâ|    24.000210

nikinitawi
"nikinitawi" is NOT in the lexicon:
Corrections for "nikinitawi":
nikî-nitawi-|    12.127303
nikî-nitawêyimik    14.736741
nikî-nitawi-wa-|    15.236742
nikînitawi|    24.999657
nêkînitawi|    24.999838

nikinitawiwa
"nikinitawiwa" is NOT in the lexicon:
Corrections for "nikinitawiwa":
nikî-nitawi-wâpamâw    14.138130
nikî-nitawi-wa-|    14.236742
nikînitawiwâ|    26.999657
nikînitawiwa|    26.999657
nêkînitawiwâ|    26.999838
nêkînitawiwa|    26.999838