提交 86e5dd38 编写于 作者: B Behdad Esfahbod

[Indic] Don't give up syllable parsing upon junk

上级 ef24cc8c
......@@ -74,13 +74,13 @@ action next_syllable {
consonant_syllable = (c.N? (H.z?|z.H))* c.N? A? (H.z? | matra_group*)? syllable_tail %(found_consonant_syllable);
vowel_syllable = (Ra H)? V N? (z?.H.c | ZWJ.c)? matra_group* syllable_tail %(found_vowel_syllable);
standalone_cluster = (Ra H)? NBSP N? (z? H c)? matra_group* syllable_tail %(found_standalone_cluster);
non_indic = X %(found_non_indic);
other = /./ %(found_non_indic);
syllable =
consonant_syllable
| vowel_syllable
| standalone_cluster
| non_indic
| other
;
main := (syllable %(next_syllable))**;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册