[espeak-ng:master] new issue: Cherokee language support is broken #github


espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Issue Created by michael-conrad:
#801 Cherokee language support is broken

The commit which added:

 	case L3('c', 'h', 'r'): // Cherokee
 	{
 		tr->langopts.stress_flags = S_NO_AUTO_2 | S_FINAL_DIM | S_FINAL_DIM_ONLY | S_EO_CLAUSE1;
 	}

Needs to be patched:

diff --git a/src/libespeak-ng/tr_languages.c b/src/libespeak-ng/tr_languages.c
index 0783286..00a21d6 100644
--- a/src/libespeak-ng/tr_languages.c
+++ b/src/libespeak-ng/tr_languages.c
@@ -573,6 +573,7 @@
 		break;
 	case L3('c', 'h', 'r'): // Cherokee
 	{
+		tr->langopts.param[LOPT_UNPRONOUNCABLE] = 1; // disable check for unpronouncable words
 		tr->langopts.stress_flags = S_NO_AUTO_2 | S_FINAL_DIM | S_FINAL_DIM_ONLY | S_EO_CLAUSE1;
 	}
 		break;

This seems to correct the issue with certain short vowels in the first syllable disappearing and the engine deciding that the "xc ... etc" tone mark place holders should instead be pronounced as letters.

Join espeak-ng@groups.io to automatically receive all group messages.