Words not being recognized well

App Store Can't reproduce Typing & autocorrect Croatian Normal

itsidjx · 17 pro max ·

Steps to reproduce

  1. (m)Any typing in Serbian or Croatian is not well detected, the words are not being recognized.
  2. Evo pišem da sam išaouskolu
  3. Da li ste videli moj novi auto u crvenojboji

What I expected

Evo pišem da sam išao u školu.

Da li ste videli moj novi auto u crvenoj boji

What happened instead

It did not recognize words and did not separate them. I guess this is just a matter of better dictionary?

Discussion

efko DEV ·

@itsidjx the words themselves are in the dictionary. išao, školu, crvenoj and boji are all there. What breaks is the missing space. Right now the keyboard only splits a glued word when it falls apart into exactly two common words, each at least 3 letters long. crvenojboji fails because crvenoj isn't common enough for that check, and išaouskolu needs three pieces with a one-letter u in the middle, which it doesn't handle at all.

While looking into this I also found that the Croatian and Serbian word lists have no one-letter words, so u, i, a, o, s, k, v and z are unknown to the keyboard. That one is a gap on my side and it hurts next-word suggestions too.

This won't make the next update. Splitting glued words is easy to get wrong because it starts chopping names and brands into pieces, so I want to measure it properly before I touch it.

If you run into words it doesn't recognize even when the space is there, send me a few examples. That would be a separate problem.

efko DEV ·
status → Needs info
efko DEV ·
status → Can't reproduce

Sign in to comment or vote.