apertium / apertium-uzb

Apertium linguistic data for Uzbek
GNU General Public License v3.0
6 stars 12 forks source link

Qo` ko` analysis #2

Closed koghuzhan closed 3 years ago

koghuzhan commented 5 years ago

The machine seems to break down words such as

korsatadi qomitasi

at `.

Maybe it's only when the character used is one other than the actual Ozbek one but it still needs to be dealt with.

ftyers commented 4 years ago

The machine seems to break down words such as

korsatadi qomitasi

at `.

Maybe it's only when the character used is one other than the actual Ozbek one but it still needs to be dealt with.

This should be in the spellrelax file. Something like:

[
 [ ?* [ ʼ  -> [ %' | ’ | %` | %´ | %‘ | %ʻ ] | ʼ ] ?* ]
]
ftyers commented 3 years ago

Fixed in b9203d5.

ftyers commented 3 years ago
$ echo "qo\`mitasi" | apertium -d . uzb-morph
^qo`mitasi/qoʻmita<n><px3sp><nom>/qoʻmita<n><px3sp><nom>+e<cop><aor><p3><pl>/qoʻmita<n><px3sp><nom>+e<cop><aor><p3><sg>$^./.<sent>$