Sorry if this is the wrong place to ask this, but I'm just playing with SCA2 and I'm not sure why something isn't working the way I expect. It might just be me rather than a bug, though.
I have the categories V=aiou and C=ptkfshlmnyw, and the rule y//#(C)_V. I'm expecting this to cause:
pyara -> para
yara -> ara
because the C is indicated as optional. However, I'm getting:
pyara -> para
yara -> yara
Why isn't the rule affecting "yara"?
SCA2 question
Re: SCA2 question
Maybe the <y> is immediately taken to be the optional C (which unfortunately functions as a "greedy"?)
yyara gives yara, lending credence to this hypothesis.
yyara gives yara, lending credence to this hypothesis.
Yaa unák thual na !
Re: SCA2 question
Ah, that would make sense. Thanks!
-
- Site Admin
- Posts: 2992
- Joined: Sun Jul 08, 2018 5:46 am
- Location: Right here, probably
- Contact:
Re: SCA2 question
I haven't checked the code, but I'm sure vilike is right. SCA2 doesn't do any backtracking, so since y matches C it can't undo that decision.
One way around this is to define an "anything but y" category
K=ptkfshlmnw
y//#(K)_V
One way around this is to define an "anything but y" category
K=ptkfshlmnw
y//#(K)_V
-
- Posts: 332
- Joined: Tue Aug 14, 2018 9:52 am
Re: SCA2 question
Or define the semivowels as category Y which may be helpful for other changes as well. Whichever one is more economical for the changes you have planned.
Duriac Thread | he/him