/dports/audio/festival/festival/src/arch/festival/ |
H A D | web.cc | 65 EST_String url(get_c_string(l_url)); in lisp_parse_url() 84 us.open_string(get_c_string(url)); 121 get_c_string(filename) << "\"\n"; 147 get_c_string(url) << "\"\n"; 153 get_c_string(filename) << "\"\n"; 168 get_c_string(url) << "\"\n"; 182 if (streq(get_c_string(how),"rw")) 185 EST_String(get_c_string(host))+ 190 ":"+get_c_string(port), 198 how_c = get_c_string(how); [all …]
|
H A D | audspio.cc | 105 else if (streq("async",get_c_string(mode))) in l_audio_mode() 113 audsp_send(EST_String("method ")+get_c_string(audio)); in l_audio_mode() 117 EST_String flattened = get_c_string(command); in l_audio_mode() 123 audsp_send(EST_String("rate ")+get_c_string(audio)); in l_audio_mode() 125 audsp_send(EST_String("otype ")+get_c_string(audio)); in l_audio_mode() 127 audsp_send(EST_String("device ")+get_c_string(audio)); in l_audio_mode() 131 else if (streq("sync",get_c_string(mode))) in l_audio_mode() 138 else if (streq("shutup",get_c_string(mode))) in l_audio_mode() 148 else if (streq("close",get_c_string(mode))) in l_audio_mode() 153 else if (streq("query",get_c_string(mode))) in l_audio_mode() [all …]
|
H A D | wave.cc | 74 filename = get_c_string(fname); in wave_save() 83 filetype = get_c_string(ftype); in wave_save() 92 sampletype = get_c_string(stype); in wave_save() 110 r = w->load(get_c_string(fname)); in wave_load() 113 get_c_string(ftype), in wave_load() 115 get_c_string(stype), in wave_load() 119 r = w->load(get_c_string(fname),get_c_string(ftype)); in wave_load() 275 r = t->load(get_c_string(fname), in track_load() 276 get_c_string(ftype), in track_load() 521 type = get_c_string(ltype); in utt_send_wave_client() [all …]
|
H A D | utterance.cc | 79 EST_String f = get_c_string(feat); in utt_feat() 99 EST_String n = get_c_string(name); in utt_set_feat() 117 EST_String type = get_c_string(ltype); in utt_save() 310 s->set_name(get_c_string(newname)); in set_item_name() 408 s->set_name(get_c_string(car(li))); in utt_relation_append() 552 s->set_name(get_c_string(car(nli))); in item_append_daughter() 571 s->set_name(get_c_string(car(nli))); in item_prepend_daughter() 609 dir = get_c_string(direction); in item_insert() 629 s->set_name(get_c_string(car(nli))); in item_insert() 713 EST_String f = get_c_string(fname); in item_remove_feature() [all …]
|
H A D | features.cc | 148 prefix = get_c_string(CAR(CAR(l))); in ff_pref_assoc() 298 EST_String fname = get_c_string(name); in lisp_item_feature() 307 EST_String fname = get_c_string(name); in lisp_item_raw_feature() 321 EST_String fname = get_c_string(name); in lisp_item_set_feat() 338 s->set_function(get_c_string(name),get_c_string(funcname)); in lisp_item_set_function() 347 EST_String fname = get_c_string(name); in lisp_relation_feature() 356 EST_String fname = get_c_string(name); in lisp_relation_set_feat() 366 EST_String fname = get_c_string(name); in lisp_relation_remove_item_feat() 377 EST_String fname = get_c_string(name); in lisp_relation_remove_feat() 388 value_sort(*(feats(f)), get_c_string(name)); in lisp_feature_value_sort() [all …]
|
H A D | wagon_interp.cc | 45 #define ques_oper_str(X) (get_c_string(car(cdr(X)))) 66 return EST_Val(get_c_string(val)); in wagon_predict() 70 return EST_Val(get_c_string(val)); in wagon_predict() 107 const EST_String fname = get_c_string(car(question)); in wagon_ask() 124 (streq("+internal-comma",get_c_string(car(operand))))) in wagon_ask() 128 if (answer.string() == get_c_string(operand)) in wagon_ask() 154 if (answer.string().matches(make_regex(get_c_string(operand)))) in wagon_ask()
|
/dports/audio/festival/speech_tools/siod/ |
H A D | slib_str.cc | 63 {return read_from_string(get_c_string(x));} in read_from_lstring() 85 size += strlen(get_c_string(car(l))); in string_append() 90 strcat(data,get_c_string(car(l))); in string_append() 99 c = get_c_string(x); in parse_number() 142 EST_Pathname path(get_c_string(lpath)); in path_is_dirname() 149 EST_Pathname path(get_c_string(lpath)); in path_is_filename() 156 EST_Pathname path(get_c_string(lpath)); in path_as_directory() 177 res = res +get_c_string(car(lpaths)); in path_append() 205 suff = get_c_string(suffix); in symbol_basename() 282 if (streq(get_c_string(atom1),get_c_string(atom2))) in l_strequal() [all …]
|
H A D | slib_sys.cc | 23 return rintern(getenv(get_c_string(name))); in lgetenv() 28 char *entry=walloc(char,strlen(get_c_string(name))+ in lsetenv() 29 strlen(get_c_string(value))+16); in lsetenv() 30 sprintf(entry,"%s=%s",get_c_string(name),get_c_string(value)); in lsetenv() 37 (void)system(get_c_string(name)); in lsystem() 63 chdir(get_c_string(leval(car(args),env))); in lchdir()
|
H A D | slib_doc.cc | 26 get_c_string(name) << endl; in setdoc() 125 return EST_strcasecmp(get_c_string(car(a)),get_c_string(car(b))); in sort_compare_docstrings() 188 if (streq(get_c_string(type),"function")) in siod_sort_and_dump_docstrings() 190 else if (streq(get_c_string(type),"features")) in siod_sort_and_dump_docstrings() 202 siod_print_docstring(get_c_string(car(array[i])), in siod_sort_and_dump_docstrings() 203 get_c_string(cdr(array[i])), in siod_sort_and_dump_docstrings() 218 return get_c_string(doc); in siod_docstring() 229 return get_c_string(info); in siod_manual_sym()
|
/dports/audio/festival/festival/src/modules/Text/ |
H A D | text.cc | 66 text = get_c_string(utt_iform(*u)); in FT_Text_Utt() 77 ts.set_WhiteSpaceChars(get_c_string(ws)); in FT_Text_Utt() 81 ts.set_PunctuationSymbols(get_c_string(punc)); in FT_Text_Utt() 85 ts.set_PrePunctuationSymbols(get_c_string(punc)); in FT_Text_Utt() 89 ts.set_SingleCharSymbols(get_c_string(scs)); in FT_Text_Utt() 104 (streq(get_c_string(mode),"text")) || in tts_file() 105 (streq(get_c_string(mode),"fundamental"))) in tts_file() 142 stream = fopen_c(get_c_string(filename), "rb"); in tts_file_raw() 154 ts.set_WhiteSpaceChars(get_c_string(ws)); in tts_file_raw() 158 ts.set_PunctuationSymbols(get_c_string(punc)); in tts_file_raw() [all …]
|
H A D | xxml.cc | 63 EST_String inname = get_c_string(filename); in tts_file_xxml() 82 if (ts.peek() != get_c_string(car(car(element_defs)))) in tts_file_xxml() 84 cerr << "xxml parse error: " << get_c_string(filename) << in tts_file_xxml() 85 " Expected " << get_c_string(car(car(element_defs))) in tts_file_xxml() 231 (!streq("NAME",get_c_string(car(car(a)))))) in tts_xxml_token() 234 t->set(get_c_string(car(car(a))), in tts_xxml_token() 235 get_c_string(car(cdr(car(a))))); in tts_xxml_token() 239 t->set(get_c_string(car(car(a))), in tts_xxml_token() 262 get_c_string(siod_get_lval("token.punctuation", in xxml_get_tokens() 265 get_c_string(siod_get_lval("token.prepunctuation", in xxml_get_tokens() [all …]
|
/dports/audio/festival/festival/src/modules/Lexicon/ |
H A D | lts_rules.cc | 99 p_name = get_c_string(name); in VAL_REGISTER_CLASS() 128 if (streq("[",get_c_string(car(c)))) in normalize() 135 if (streq("]",get_c_string(car(c)))) in normalize() 142 if (streq("=",get_c_string(car(c)))) in normalize() 192 if ((streq("*",get_c_string(car(p)))) || in fix_postfix_ops() 193 (streq("+",get_c_string(car(p))))) in fix_postfix_ops() 263 cerr << get_c_string(car(t)) << " "; in rewrite() 266 cerr << get_c_string(car(t)) << " "; in rewrite() 337 if (streq(get_c_string(actual_item),get_c_string(rule_item))) in item_match() 391 get_c_string(rulesetname) << "\"\n"; in lts_in_alphabet() [all …]
|
H A D | lex_aux.cc | 84 ph = get_c_string(car(p)); in lex_syllabify_phstress() 87 if (car(s) && (!streq(get_c_string(car(s)),"0"))) in lex_syllabify_phstress() 115 nph = v_stress(get_c_string(car(p)),stress); in split_stress() 160 if (ph_is_vowel(get_c_string(car(rest)))) in syl_breakable() 164 int p = ph_sonority(get_c_string(car(syl))); in syl_breakable() 165 int n = ph_sonority(get_c_string(car(rest))); in syl_breakable() 166 int nn = ph_sonority(get_c_string(car(cdr(rest)))); in syl_breakable() 185 if (strchr("aiueoAIUEO",get_c_string(car(p))[0]) != NULL) in syl_contains_vowel() 187 else if (ph_is_vowel(get_c_string(car(p)))) in syl_contains_vowel() 189 else if (ph_is_silence(get_c_string(car(p)))) in syl_contains_vowel()
|
H A D | complex.cc | 92 if ((fin=fopen(get_c_string(finname),"rb")) == NULL) in lexicon_compile() 94 cerr << "Lexicon compile: unable to open " << get_c_string(finname) in lexicon_compile() 105 *cdebug << "Processing entry " << get_c_string(car(entry)) << in lexicon_compile() 108 e->word = get_c_string(car(entry)); in lexicon_compile() 123 if ((fout=fopen(get_c_string(foutname),"wb")) == NULL) in lexicon_compile() 125 cerr << "Lexicon compile: unable to open " << get_c_string(foutname) in lexicon_compile() 141 cwarn << "Compiled lexicon \"" << get_c_string(finname) << in lexicon_compile() 142 "\" into \"" << get_c_string(foutname) << "\" " << in lexicon_compile() 184 check_sylphones(get_c_string(car(entry)),syls); in check_and_fix() 188 (streq(get_c_string(lex_syllabification),"NONE"))) in check_and_fix()
|
/dports/audio/festival/festival/src/modules/UniSyn/ |
H A D | UniSyn.cc | 116 EST_String rname = get_c_string(lrname); in FT_us_energy_normalise() 124 EST_String filter_method = get_c_string(l_f_method); in FT_us_generate_wave() 125 EST_String ola_method = get_c_string(l_o_method); in FT_us_generate_wave() 139 us_mapping(*get_c_utt(lutt), get_c_string(method)); in FT_us_mapping() 148 EST_String sig_file = get_c_string(l_sig_file); in FT_us_get_copy_wave() 149 EST_String seg_file = get_c_string(l_seg_file); in FT_us_get_copy_wave() 150 EST_String pm_file = get_c_string(l_pm_file); in FT_us_get_copy_wave() 188 f0_rel = utt->relation(get_c_string(l_f0_name), 1); in FT_f0_to_pitchmarks() 189 pm_rel = utt->create_relation(get_c_string(l_pm_name)); in FT_f0_to_pitchmarks() 223 utt->create_relation(get_c_string(lrel_name)); in FT_map_to_relation() [all …]
|
/dports/audio/festival/festival/src/modules/UniSyn_phonology/ |
H A D | UniSyn_phonology.cc | 122 EST_String relname = get_c_string(lrel); in FT_focus_nth_item() 150 EST_String relname = get_c_string(lrel); in FT_focus_nth_tree_item() 157 dir = get_c_string(car(l)); in FT_focus_nth_tree_item() 297 as_relation(get_c_string(l_relation)); in FT_copy_sub_tree() 302 n = new_utt->id(get_c_string(l_id))-> in FT_copy_sub_tree() 303 as_relation(get_c_string(l_relation)); in FT_copy_sub_tree() 316 n = new_utt->id(get_c_string(l_id))-> in FT_copy_sub_tree() 317 as_relation(get_c_string(l_relation)); in FT_copy_sub_tree() 400 EST_String f0_name = get_c_string(l_f0_name); in FT_tilt_to_f0() 425 get_c_string(l_met_name)); in FT_phrase_factor() [all …]
|
/dports/audio/festival/festival/src/modules/base/ |
H A D | word.cc | 80 w->set("pos",get_c_string(car(cdr(entry)))); in FT_Classic_Word_Utt() 88 seg = add_segment(u,get_c_string(car(p))); in FT_Classic_Word_Utt() 137 w->set("pos",get_c_string(car(lexpos))); in FT_Unilex_Word_Utt() 141 w->set("pos",get_c_string(lexpos)); in FT_Unilex_Word_Utt() 150 seg = add_segment(u,get_c_string(car(p))); in FT_Unilex_Word_Utt() 155 sname = get_c_string(car(p)); in FT_Unilex_Word_Utt() 156 s2name = get_c_string(car(p2)); in FT_Unilex_Word_Utt() 176 seg = add_segment(u,get_c_string(car(p))); in FT_Unilex_Word_Utt() 236 si_word->set(get_c_string(car(car(f))), in add_word() 237 get_c_string(car(cdr(car(f))))); in add_word() [all …]
|
H A D | phrinfo.cc | 66 if (streq("Phrase",get_c_string(car(car(l))))) in create_phraseinput() 72 token = make_token_node(u,get_c_string(car(car(t))), in create_phraseinput() 75 token = make_token_node(u,get_c_string(car(t)),NIL); in create_phraseinput() 111 const char *nname = get_c_string(car(car(f))); in make_token_node() 113 li->set("punc",get_c_string(car(cdr(car(f))))); in make_token_node() 115 li->set(nname,get_c_string(car(cdr(car(f))))); in make_token_node()
|
/dports/audio/festival/speech_tools/grammar/wfst/ |
H A D | ltscompile.cc | 133 if (!siod_member_str(get_c_string(car(t)),e)) in add_alpha() 148 if (streq("[",get_c_string(car(c)))) in find_ins() 150 else if (streq("]",get_c_string(car(c)))) in find_ins() 167 if (streq("=",get_c_string(car(c)))) in find_outs() 194 if (!siod_member_str(get_c_string(car(p)),fp)) in lts_find_feasible_pairs() 220 is = get_c_string(car(i)); in make_fp() 224 os = get_c_string(car(o)); in make_fp() 336 EST_String ss = get_c_string(car(s)); in expand_set() 337 EST_String sf = get_c_string(car(f)); in expand_set() 356 p = get_c_string(car(m)); in find_notMAP() [all …]
|
H A D | wfst_regex.cc | 94 if (l && !consp(l) && (streq("or",get_c_string(l)))) in operator_or() 102 if (l && !consp(l) && (streq("+",get_c_string(l)))) in operator_plus() 110 if (l && !consp(l) && (streq("not",get_c_string(l)))) in operator_not() 118 if (l && !consp(l) && (streq("*",get_c_string(l)))) in operator_star() 126 if (l && !consp(l) && (streq("?",get_c_string(l)))) in operator_optional() 134 if (l && !consp(l) && (streq("and",get_c_string(l)))) in operator_and() 146 EST_String s_name(get_c_string(regex)); in build_wfst() 154 in = p_in_symbols.name(get_c_string(regex)); in build_wfst() 155 out = p_out_symbols.name(get_c_string(regex)); in build_wfst() 158 cerr << "WFST_build: symbol " << get_c_string(regex) << in build_wfst()
|
H A D | tlcompile.cc | 81 if (streq("->",get_c_string(car(s)))) in tl_find_l_w() 83 if (!siod_member_str(get_c_string(car(cdr(s))),words)) in tl_find_l_w() 87 else if (!siod_member_str(get_c_string(car(s)),letters)) in tl_find_l_w() 124 if (streq("->",get_c_string(car(l)))) in build_tree_lex() 128 p_out_symbols.name(get_c_string(car(cdr(l))))); in build_tree_lex() 134 p_out_symbols.name(get_c_string(car(cdr(l))))); in build_tree_lex() 145 p_in_symbols.name(get_c_string(car(l))), in build_tree_lex() 155 p_in_symbols.name(get_c_string(car(l))), in build_tree_lex() 185 istring += EST_String(get_c_string(car(p))) + " "; in production_index()
|
H A D | rgcompile.cc | 106 if (!siod_member_str(get_c_string(car(car(r))),nonterms)) in rg_find_nt_ts() 111 if ((!siod_member_str(get_c_string(car(s)),terms)) && in rg_find_nt_ts() 112 (!siod_member_str(get_c_string(car(s)),nonterms)) && in rg_find_nt_ts() 113 (!siod_assoc_str(get_c_string(car(s)),sets))) in rg_find_nt_ts() 115 else if ((set=siod_assoc_str(get_c_string(car(s)),sets))) in rg_find_nt_ts() 118 if (!siod_member_str(get_c_string(car(t)),terms)) in rg_find_nt_ts() 161 current_sym = get_c_string(car(cdr(current))); in build_from_rg() 175 p_in_symbols.name(get_c_string(car(s))), in build_from_rg() 176 p_out_symbols.name(get_c_string(car(s)))); in build_from_rg() 240 istring += EST_String(get_c_string(car(p))) + " "; in production_index() [all …]
|
/dports/audio/festival/speech_tools/grammar/scfg/ |
H A D | EST_SCFG.cc | 99 if (!strlist_member(nt,get_c_string(p))) in find_terms_nonterms() 100 nt.append(get_c_string(p)); in find_terms_nonterms() 104 if (!strlist_member(t,get_c_string(d))) in find_terms_nonterms() 105 t.append(get_c_string(d)); in find_terms_nonterms() 111 if (!strlist_member(nt,get_c_string(d1))) in find_terms_nonterms() 112 nt.append(get_c_string(d1)); in find_terms_nonterms() 113 if (!strlist_member(nt,get_c_string(d2))) in find_terms_nonterms() 114 nt.append(get_c_string(d2)); in find_terms_nonterms() 135 nonterminal(get_c_string(car(cdr(car(lrules))))); in set_rules() 151 int m = nonterminal(get_c_string(car(cdr(car(r))))); in set_rules() [all …]
|
/dports/audio/festival/speech_tools/stats/wagon/ |
H A D | wagonint.cc | 53 if (streq(get_c_string(value), in wagon_ask_question() 54 get_c_string(wgn_ques_operand(question)))) in wagon_ask_question() 76 EST_Regex rgx(get_c_string(wgn_ques_operand(question))); in wagon_ask_question() 77 if (EST_String(get_c_string(value)).matches(rgx)) in wagon_ask_question() 83 if (siod_member_str(get_c_string(value), in wagon_ask_question()
|
/dports/audio/festival/festival/src/modules/diphone/ |
H A D | oc.cc | 75 coeffs_dir = get_c_string(siod_get_lval("oc_coeffs_dir","no coeffs dir")); in find_optimal_coupling() 76 coeffs_ext = get_c_string(siod_get_lval("oc_coeffs_ext","no coeffs ext")); in find_optimal_coupling() 81 if (ph_is_silence(get_c_string(LEFT_PHONE(car(d))))) in find_optimal_coupling() 85 if (ph_is_silence(get_c_string(RIGHT_PHONE(car(d))))) in find_optimal_coupling() 129 if (streq(get_c_string(car(d1)),get_c_string(car(cdr(car(l)))))) in before_ds() 141 if (streq(get_c_string(car(cdr(d1))),get_c_string(car(car(l))))) in after_ds() 156 get_track_for_phone(a,get_c_string(FILEID(d)), in find_best_left() 169 get_track_for_phone(b,get_c_string(FILEID(car(l))), in find_best_left() 222 get_track_for_phone(a,get_c_string(FILEID(d)), in find_best_right() 235 get_track_for_phone(b,get_c_string(FILEID(car(l))), in find_best_right()
|