Closed Wu-Urbanek closed 4 years ago
An issue that I found when writing a check structure code: words like an³⁵, aw³³ or im⁵³ which start with a vowel, the script returns a question mark to the initial position. The output looks like: | |||
---|---|---|---|
an³⁵ | ['a', 'n', '³⁵'] | ['?', '?', 't'] | |
aw³³ | ['a', 'w', '³³'] | ['?', '?', 't'] | |
a:p¹¹ | ['aː', 'p', '¹¹'] | ['?', '?', 't'] |
@MacyL, do you want to check this bug yourself?
You see, we check the lenght of the sequence to be 3 in this case, and we have the vowel in first position. This is okay, but the condition is also: the second position needs to be a consonant, and the last should be a tone, then it can be interepreted accordingly. I forgot that possibility.
You could add the if-statement to linse and make a PR. Do you want to go for it?
I can try :)
I made some changes to the code, but I don't have the right to create and update a branch.
Okay, we have holidays anyway. I manage access when we go back to work or when I find time before. Can't do it from smartphone...
oh, I just remember that I have to make a PR but I don't have the right to create a PR in this repository.
a reminder that I made some changes in