[khmer] Relax number of consonants / matras allowed

New numbers (down from 39):

KHMER: 299086 out of 299124 tests passed. 38 failed (0.0127038%)
This commit is contained in:
Behdad Esfahbod 2018-01-05 17:57:39 +00:00
parent 80c870bcda
commit 574e42e1cf
1 changed files with 3 additions and 3 deletions

View File

@ -60,11 +60,11 @@ cn = c.ZWJ?.n?;
matra_group = z{0,3}.M.N?.Coeng?;
syllable_tail = (SM.SM?)? A{0,3}?;
halant_group = Coeng;
halant_or_matra_group = (matra_group{0,4}) (Coeng (cn|V))?;
halant_or_matra_group = (matra_group*) (Coeng (cn|V))?;
consonant_syllable = (c|PLACEHOLDER|DOTTEDCIRCLE).n? (halant_group.cn){0,4} halant_or_matra_group syllable_tail;
broken_cluster = n? (halant_group.cn){0,4} halant_or_matra_group syllable_tail;
consonant_syllable = (c|PLACEHOLDER|DOTTEDCIRCLE).n? (halant_group.cn)* halant_or_matra_group syllable_tail;
broken_cluster = n? (halant_group.cn)* halant_or_matra_group syllable_tail;
other = any;
main := |*