1
/* ----------------------------------------------------------------- */
2
/* The Japanese TTS System "Open JTalk" */
3
/* developed by HTS Working Group */
4
/* http://open-jtalk.sourceforge.net/ */
5
/* ----------------------------------------------------------------- */
7
/* Copyright (c) 2008-2011 Nagoya Institute of Technology */
8
/* Department of Computer Science */
10
/* All rights reserved. */
12
/* Redistribution and use in source and binary forms, with or */
13
/* without modification, are permitted provided that the following */
14
/* conditions are met: */
16
/* - Redistributions of source code must retain the above copyright */
17
/* notice, this list of conditions and the following disclaimer. */
18
/* - Redistributions in binary form must reproduce the above */
19
/* copyright notice, this list of conditions and the following */
20
/* disclaimer in the documentation and/or other materials provided */
21
/* with the distribution. */
22
/* - Neither the name of the HTS working group nor the names of its */
23
/* contributors may be used to endorse or promote products derived */
24
/* from this software without specific prior written permission. */
26
/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND */
27
/* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, */
28
/* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
29
/* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */
30
/* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS */
31
/* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, */
32
/* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED */
33
/* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */
34
/* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON */
35
/* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, */
36
/* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY */
37
/* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE */
38
/* POSSIBILITY OF SUCH DAMAGE. */
39
/* ----------------------------------------------------------------- */
41
#ifndef JPCOMMON_RULE_H
42
#define JPCOMMON_RULE_H
45
#define JPCOMMON_RULE_H_START extern "C" {
46
#define JPCOMMON_RULE_H_END }
48
#define JPCOMMON_RULE_H_START
49
#define JPCOMMON_RULE_H_END
50
#endif /* __CPLUSPLUS */
52
JPCOMMON_RULE_H_START;
54
#define JPCOMMON_MORA_UNVOICE "��"
55
#define JPCOMMON_MORA_LONG_VOWEL "��"
56
#define JPCOMMON_MORA_SHORT_PAUSE "��"
57
#define JPCOMMON_MORA_QUESTION "��"
58
#define JPCOMMON_PHONEME_SHORT_PAUSE "pau"
59
#define JPCOMMON_PHONEME_SILENT "sil"
60
#define JPCOMMON_PHONEME_UNKNOWN "xx"
61
#define JPCOMMON_FLAG_QUESTION "1"
63
static const char *jpcommon_unvoice_list[] = {
72
static const char *jpcommon_mora_list[] = {
235
static const char *jpcommon_pos_list[] = {
245
"����-��³����", "12",
250
"��Ƭ��-������Ū", "16",
251
"��Ƭ��-���ƻ�Ū", "16",
254
"������-������Ū", "16",
255
"������-���ƻ�Ū", "15",
272
static const char *jpcommon_cform_list[] = {
284
static const char *jpcommon_ctype_list[] = {
302
#endif /* !JPCOMMON_RULE_H */