|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrita.support.RiPhone
public abstract class RiPhone
Static utility methods for operations involving phonemes.
TTS-Phoneme Example Translation (39 entries, 11 missing?)
========================================================
AA odd AA D
AE at AE T
AH hut HH AH T
AO ought AO T
AW cow K AW
AY hide HH AY D
B be B IY
CH cheese CH IY Z
D dee D IY
DH thee DH IY
EH Ed EH D
ER hurt HH ER T
EY ate EY T
F fee F IY
G green G R IY N
HH he HH IY
IH it IH T
IY eat IY T
JH gee JH IY
K key K IY
L lee L IY
M me M IY
N knee N IY
NG ping P IH NG
OW oat OW T
OY toy T OY
P pee P IY
R read R IY D
S sea S IY
SH she SH IY
T tea T IY
TH theta TH EY T AH
UH hood HH UH D
UW two T UW
V vee V IY
W we W IY
Y yield Y IY L D
Z zee Z IY
ZH seizure S IY ZH ER
SAMPA IPA(hex), IPA(dec), DESC 29 Entries
========================================================================
('A', '?', 593, "open back unrounded, Cardinal 5, Eng. start");
('{', '', 230, "near-open front unrounded, Eng. trap");
('6', '?', 592, "open schwa, Ger. besser");
('Q', '?', 594, "open back rounded, Eng. lot");
('E', '?', 603, "open-mid front unrounded, C3, Fr. m�me");
('@', '?', 601, "schwa, Eng. banana");
('3', '?', 604, "long mid central, Eng. nurse");
('I', '?', 618, "lax close front unrounded, Eng. kit");
('O', '?', 596, "open-mid back rounded, Eng. thought");
('2', '', 248, "close-mid front rounded, Fr. deux");
('9', '', 339, "open-mid front rounded, Fr. neuf");
('&', '?', 630, "open front rounded");
('U', '?', 650, "lax close back rounded, Eng. foot");
('}', '?', 649, "close central rounded, Swedish sju");
('V', '?', 652, "open-mid back unrounded, Eng. strut");
('Y', '?', 655, "lax [y], Ger. h�bsc");
('B', '?', 946, "voiced bilabial fricative, Sp. cabo");
('C', '', 231, "voiceless palatal fricative, Ger. ich");
('D', '?', 240, "voiced dental fricative, Eng. then");
('G', '?', 611, "voiced velar fricative, Sp. fuego");
('L', '?', 654, "palatal lateral, It. famiglia");
('J', '?', 626, "palatal nasal, Sp. a�o");
('N', '?', 331, "velar nasal, Eng. thing");
('R', '?', 641, "vd. uvular fric. or trill, Fr. roi");
('S', '?', 643, "voiceless palatoalveolar fricative, Eng. ship");
('T', '?', 952, "voiceless dental fricative, Eng. thin");
('H', '?', 613, "labial-palatal semivowel, Fr. huit");
('Z', '?', 658, "vd. palatoalveolar fric., Eng. measure");
('?', '?', 660, "glottal stop, Ger. Verein, also Danish st�d");
| Field Summary | |
|---|---|
static java.lang.String[] |
TTS_PHONEMES
|
| Constructor Summary | |
|---|---|
RiPhone()
|
|
| Method Summary | |
|---|---|
static int |
getSonority(java.lang.String phone)
Determines the sonority for the given phone. |
static boolean |
hasVowel(java.util.List phones)
Determines if there is a vowel in given list of phones. |
static boolean |
hasVowel(java.lang.String[] phones,
int index)
Determines if there is a vowel in the remainder of the array, starting at the given index. |
static boolean |
isConsonant(java.lang.String phoneme)
Determines if the given phone is a consonant |
static boolean |
isPhoneme(java.lang.String phoneme)
|
static boolean |
isSilence(java.lang.String phone)
Determines if the given phone represents a silent phone. |
static boolean |
isVowel(java.lang.String phone)
Determines if the given phone is a vowel |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] TTS_PHONEMES
| Constructor Detail |
|---|
public RiPhone()
| Method Detail |
|---|
public static boolean isPhoneme(java.lang.String phoneme)
public static boolean isVowel(java.lang.String phone)
phone - the phone to test
true if phone is a vowel
otherwise false.public static boolean isConsonant(java.lang.String phoneme)
phoneme - the phone to test
true if phone is a consonant
otherwise false.public static boolean isSilence(java.lang.String phone)
phone - the phone to test
true if the phone represents a silent
phone; otherwise false.
public static boolean hasVowel(java.lang.String[] phones,
int index)
phones - the set of phones to checkindex - start checking at this index
true if a vowel is found;
otherwise false.public static boolean hasVowel(java.util.List phones)
phones - the list of phones
true if a vowel is found;
otherwise false.public static int getSonority(java.lang.String phone)
phone - the phone of interest
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||