Don't merge an -ent syllable back into an open first syllable
This commit is contained in:
1 parent
99f9003a2e
commit
346dd33a4f
2 files changed
+5
-1
No files matched your search
@@ -49,7 +49,7 @@ const postprocess = function (arr) {
|
||||
const first_is_open =
|
||||
(arr[0].length === 1 || arr[0].match(starts_with_consonant_vowel)) &&
|
||||
arr[0].match(ends_with_vowel)
|
||||
const second_is_joining = arr[1].match(joining_consonant_vowel)
|
||||
const second_is_joining = arr[1].match(joining_consonant_vowel) && ones.every(re => !arr[1].match(re))
|
||||
|
||||
if (first_is_open && second_is_joining) {
|
||||
const possible_combination = arr[0] + arr[1]
|
||||
|
||||
@@ -56,6 +56,10 @@ const words = [
|
||||
'tur key',
|
||||
'cor si ca',
|
||||
'dev iled',
|
||||
'si lent',
|
||||
'ta lent',
|
||||
'pa rent',
|
||||
'a gent',
|
||||
// 'horse',
|
||||
// 'chance',
|
||||
// 'peo ple'
|
||||
|
||||
Reference in new issue
Block a user