Debian Codegraph @

3rdparty/flite_hts_engine/flite/lang/usenglish/usenglish.h

raw symbols SCIP
1 /*************************************************************************/
2 /* */
3 /* Language Technologies Institute */
4 /* Carnegie Mellon University */
5 /* Copyright (c) 2000 */
6 /* All Rights Reserved. */
7 /* */
8 /* Permission is hereby granted, free of charge, to use and distribute */
9 /* this software and its documentation without restriction, including */
10 /* without limitation the rights to use, copy, modify, merge, publish, */
11 /* distribute, sublicense, and/or sell copies of this work, and to */
12 /* permit persons to whom this work is furnished to do so, subject to */
13 /* the following conditions: */
14 /* 1. The code must retain the above copyright notice, this list of */
15 /* conditions and the following disclaimer. */
16 /* 2. Any modifications must be clearly marked as such. */
17 /* 3. Original authors' names are not deleted. */
18 /* 4. The authors' names are not used to endorse or promote products */
19 /* derived from this software without specific prior written */
20 /* permission. */
21 /* */
22 /* CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK */
23 /* DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING */
24 /* ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT */
25 /* SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE */
26 /* FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES */
27 /* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN */
28 /* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, */
29 /* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF */
30 /* THIS SOFTWARE. */
31 /* */
32 /*************************************************************************/
33 /* Author: Alan W Black ([email protected]) */
34 /* Date: December 2000 */
35 /*************************************************************************/
36 /* Generic models for US English */
37 /*************************************************************************/
38
39 /* ----------------------------------------------------------------- */
40 /* The English TTS System "Flite+hts_engine" */
41 /* developed by HTS Working Group */
42 /* http://hts-engine.sourceforge.net/ */
43 /* ----------------------------------------------------------------- */
44 /* */
45 /* Copyright (c) 2005-2013 Nagoya Institute of Technology */
46 /* Department of Computer Science */
47 /* */
48 /* 2005-2008 Tokyo Institute of Technology */
49 /* Interdisciplinary Graduate School of */
50 /* Science and Engineering */
51 /* */
52 /* All rights reserved. */
53 /* */
54 /* Redistribution and use in source and binary forms, with or */
55 /* without modification, are permitted provided that the following */
56 /* conditions are met: */
57 /* */
58 /* - Redistributions of source code must retain the above copyright */
59 /* notice, this list of conditions and the following disclaimer. */
60 /* - Redistributions in binary form must reproduce the above */
61 /* copyright notice, this list of conditions and the following */
62 /* disclaimer in the documentation and/or other materials provided */
63 /* with the distribution. */
64 /* - Neither the name of the HTS working group nor the names of its */
65 /* contributors may be used to endorse or promote products derived */
66 /* from this software without specific prior written permission. */
67 /* */
68 /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND */
69 /* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, */
70 /* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
71 /* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */
72 /* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS */
73 /* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, */
74 /* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED */
75 /* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */
76 /* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON */
77 /* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, */
78 /* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY */
79 /* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE */
80 /* POSSIBILITY OF SUCH DAMAGE. */
81 /* ----------------------------------------------------------------- */
82
83 #ifndef _US_ENGLISH_H_
84 #define _US_ENGLISH_H_
85
86 #ifdef __cplusplus
87 extern "C" {
88 #endif /* __cplusplus */
89
90 #include "cst_utterance.h"
91 #include "cst_cart.h"
92 #include "cst_val.h"
93 #include "cst_phoneset.h"
94 #include "cst_lexicon.h"
95 #include "cst_synth.h"
96
97 /* Voices call this to use usenglish. */
98 void usenglish_init(cst_voice *v);
99
100 /* Default functions and values that you might need. */
101 #ifndef FLITE_PLUS_HTS_ENGINE
102 cst_utterance *us_f0_model(cst_utterance *u);
103 #endif /* !FLITE_PLUS_HTS_ENGINE */
104 extern const cst_phoneset us_phoneset;
105 extern const cst_cart us_phrasing_cart;
106 extern const cst_cart us_int_accent_cart;
107 extern const cst_cart us_int_tone_cart;
108 #ifndef FLITE_PLUS_HTS_ENGINE
109 extern const cst_cart us_durz_cart;
110 #endif /* !FLITE_PLUS_HTS_ENGINE */
111 extern const cst_cart us_pos_cart;
112 #ifndef FLITE_PLUS_HTS_ENGINE
113 extern const dur_stat * const us_dur_stats[];
114 #endif /* !FLITE_PLUS_HTS_ENGINE */
115
116 #ifdef __cplusplus
117 } /* extern "C" */
118 #endif /* __cplusplus */
119
120 #endif