Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gemination works in fst but not in twolc-test and vice versa. ( #9

Open
albbas opened this issue Feb 12, 2019 · 2 comments
Open

Gemination works in fst but not in twolc-test and vice versa. ( #9

albbas opened this issue Feb 12, 2019 · 2 comments
Labels
bug Something isn't working minor

Comments

@albbas
Copy link
Contributor

albbas commented Feb 12, 2019

This issue was created automatically with bugzilla2github

Bugzilla Bug 2540

Date: 2019-02-12T09:49:08+01:00
From: Thomas Brevik Kjærstad <>
To: Trond Trosterud <<trond.trosterud>>
CC: sjur.n.moshagen, thomas

Last updated: 2019-02-12T10:00:20+01:00

@albbas
Copy link
Contributor Author

albbas commented Feb 12, 2019

Comment 13134

Date: 2019-02-12 09:49:08 +0100
From: Thomas Brevik Kjærstad <>

To repeat:

echo flaku+N+Pl+Gen|lookup -q src/generator-gt-norm-dial_Por.xfst
flaku+N+Pl+Gen flakkuin

But twolc test gives:

flak0u>i2>n
flakku>i>n
f
l
a
k
0:k
u

i2:i

n
REJECTED: "Gemination 0:k" in nonfinal state 139

Then I change rule "Gemination 0:k" from
[.#.|#:] Cns:* Vow:+ k _ u %> [:u|:i (%> n) # ] ;
to
[.#.|#:] Cns:* Vow:+ k _ u %> [:u|:i (%> n) .#. ] ;

and then the opposite happens: Twolc test works, but the fst test fails.

We definitely want to give priority to the fst, but still it is a bit uncomfortable that the test fails.

@albbas
Copy link
Contributor Author

albbas commented Feb 12, 2019

Comment 13135

Date: 2019-02-12 10:00:20 +0100
From: Trond Trosterud <<trond.trosterud>>

Both xfst and hfst work, and we talk about Por (it works for all hufkv):
echo flaku+N+Pl+Gen|hfst-lookup -q src/generator-gt-norm-dial_Por.hfstol
flaku+N+Pl+Gen flakkuin 0.000000

Fixing something that works is of course not our top priority, but the misbehaviour may conceal other errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor
Projects
None yet
Development

No branches or pull requests

1 participant