2 * Portions Copyright 2001 Sun Microsystems, Inc.
3 * Portions Copyright 1999-2001 Language Technologies Institute,
4 * Carnegie Mellon University.
5 * All Rights Reserved. Use is subject to license terms.
7 * See the file "license.terms" for information on usage and
8 * redistribution of this file, and for a DISCLAIMER OF ALL
11 package com.sun.speech.freetts;
15 * Maintains a list of phones with various features for those phones.
17 public interface PhoneSet {
20 * Vowel or consonant: + = vowel, - = consonant.
22 public final static String VC = "vc";
25 * Vowel length: s = short, l = long, d = dipthong, a = schwa.
27 public final static String VLNG = "vlng";
30 * Vowel height: 1 = high, 2 = mid, 3 = low.
32 public final static String VHEIGHT = "vheight";
35 * Vowel frontness: 1 = front, 2 = mid, 3 = back.
37 public final static String VFRONT = "vfront";
40 * Lip rounding: + = on, - = off.
42 public final static String VRND = "vrnd";
45 * Consonant type: s = stop, f = fricative, a = affricative,
46 * n = nasal, l = liquid.
48 public final static String CTYPE = "ctype";
51 * Consonant cplace: l = labial, a = alveolar, p = palatal,
52 * b = labio_dental, d = dental, v = velar
54 public final static String CPLACE = "cplace";
57 * Consonant voicing: + = on, - = off
59 public final static String CVOX = "cvox";
62 * Given a phoneme and a feature name, return the feature.
64 * @param phone the phoneme of interest
65 * @param featureName the name of the feature of interest
67 * @return the feature with the given name
69 public String getPhoneFeature(String phone, String featureName);