ref: 277210ab0b851fe9d87806db2777852374e4bcac
parent: 4020d8c725d62670640c9b670982ea2e90dc7ee5
author: Shyam Krishna <krishnshyam@gmail.com>
date: Tue Apr 17 12:34:29 EDT 2018
Nasal postlex modification Kannada and Telugu don't nasalize vowels with anuswara
--- a/lang/cmu_indic_lex/cmu_indic_lex.c
+++ b/lang/cmu_indic_lex/cmu_indic_lex.c
@@ -939,47 +939,6 @@
return phones;
}
-/*
-static cst_val *cmu_indic_lex_sanskrit_visarga_postfixes(cst_val *rphones)
-{
- const cst_val *p;
- const cst_val *q;
- cst_val *tbd;
-
- p=rphones;
-
- if (p && (cst_streq(val_string(val_car(p)),"h")) && val_cdr(p) && val_cdr(val_cdr(p)))
- {
- q = rphones;
- while (q && val_cdr(q))
- {
- if (cmu_indic_is_vowel(val_string(val_car(q))))
- {
- const char *last_vowel;
- const char *repl_ph;
- last_vowel = val_string(val_car(q));
- if ((!last_vowel[1]) || (last_vowel[1] == ':'))
- {
- switch (next_c[0]) {
- case 'v': repl_ph = "N"; break;
- case 'p': repl_ph = "n~"; break;
- case 'a': repl_ph = "nr"; break;
- case 'd': repl_ph = "nB"; break;
- case 'l': repl_ph = "m"; break;
- default: repl_ph = "nB";
- };
- replace_car(p,string_val(repl_ph));
- }
- }
- }
- replace_car(p,string_val("s"));
- p = val_cdr(p);
- }
-
- return rphones;
-}
-*/
-
static const char * const eng_to_indic[99][3] =
{