apertium / apertium-chv

Apertium linguistic data for Chuvash
GNU General Public License v3.0
2 stars 0 forks source link

<opt><p3><sg> #19

Open hectoralos opened 5 years ago

hectoralos commented 5 years ago

<opt><p3><sg>has a specific behaviour. I have used for it the new archiphoneme {И}. The и ending overwrites the final а or е vowels of the stem, if they exists. For у and и, an epenthesis must be added.

$ aq-morftest -ci v_кил_del.yaml | grep "<opt><p3><sg>"
[PASS] кил<v><iv><opt><p3><sg> => килин
$ aq-morftest -ci v_кай_del.yaml | grep "<opt><p3><sg>"
[PASS] кай<v><iv><opt><p3><sg> => кайин
[PASS] кайин => кай<v><iv><opt><p3><sg>
$ aq-morftest -ci v_кала_del.yaml | grep "<opt><p3><sg>"
[FAIL] кала<v><tv><opt><p3><sg> => missing results: калин
[FAIL] кала<v><tv><opt><p3><sg> => unexpected results: калаин
$ echo "кала<v><iv><opt><p3><sg>" | hfst-lookup .deps/chv.LR.lexc.hfst 2>/dev/null
кала<v><iv><opt><p3><sg>    кала<v><iv><opt><p3><sg>+?  inf
$ aq-morftest -ci v_ту_del.yaml | grep "<opt><p3><sg>"
[FAIL] ту<v><tv><opt><p3><sg> => missing results: тӑвин
[FAIL] ту<v><tv><opt><p3><sg> => unexpected results: тувин
$ echo "ту<v><tv><opt><p3><sg>" | hfst-lookup .deps/chv.LR.lexc.hfst 2>/dev/null
ту<v><tv><opt><p3><sg>  ту{в}>{И}н  0,000000
$ aq-morftest -ci v_выля_del.yaml | grep "<opt><p3><sg>"
[FAIL] выля<v><tv><opt><p3><sg> => missing results: вылин
[FAIL] выля<v><tv><opt><p3><sg> => unexpected results: выляин
$ echo "выля<v><tv><opt><p3><sg>" | hfst-lookup .deps/chv.LR.lexc.hfst 2>/dev/null
выля<v><tv><opt><p3><sg>    выля>{И}н   0,000000
jonorthwash commented 4 years ago

I'm also getting forms like this:

^вӗре<v><iv><opt><p3><sg>/вӗреин$
^пуҫла<v><iv><opt><p3><sg>/пуҫлаин $

My guess is that the correct forms are вӗрин and пуҫлин; could you confirm?

hectoralos commented 4 years ago

Yes, right. These are the correct forms.