|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.speech.freetts.Relation
Represents an ordered set of Items and their associated
children. A relation has a name and a list of items, and is
added to an Utterance via an UtteranceProcessor.
| Field Summary | |
static java.lang.String |
PHRASE
Name of the relation that groups elements from the Word relation into phrases. |
static java.lang.String |
SEGMENT
Name of the relation that contains the ordered list of the smallest units of speech (typically phonemes) for the entire utterance. |
static java.lang.String |
SYLLABLE
Name of the relation that contains the description of the syllables for the Utterance. |
static java.lang.String |
SYLLABLE_STRUCTURE
Name of the relation that contains the syllable structure for the utterance. |
static java.lang.String |
TARGET
Name of the relation that maps fundamental frequency targets to absolute times for wave to be generated from the utterance. |
static java.lang.String |
TOKEN
Name of the relation that contains tokens from the original input text. |
static java.lang.String |
UNIT
Name of the relation that contains the ordered list of the units from the unit database that will be used to create the synthesized wave. |
static java.lang.String |
WORD
Name of the relation that contains the normalized version of the original input text. |
| Method Summary | |
Item |
appendItem()
Adds a new item to this relation. |
Item |
appendItem(Item originalItem)
Adds a new item to this relation. |
void |
dump(java.io.PrintWriter pw,
int pad,
java.lang.String title)
Dumps this relation to the print writer. |
Item |
getHead()
Gets the head of the item list. |
java.lang.String |
getName()
Retrieves the name of this Relation. |
Item |
getTail()
Gets the tail of the item list. |
Utterance |
getUtterance()
Returns the utterance that contains this relation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String TOKEN
WORD,
Constant Field Valuespublic static final java.lang.String WORD
TOKEN,
Constant Field Valuespublic static final java.lang.String PHRASE
public static final java.lang.String SEGMENT
SYLLABLE,
SYLLABLE_STRUCTURE,
Segmenter,
Constant Field Valuespublic static final java.lang.String SYLLABLE
Segment and
SylStructure relations.
SEGMENT,
SYLLABLE_STRUCTURE,
Segmenter,
Constant Field Valuespublic static final java.lang.String SYLLABLE_STRUCTURE
SEGMENT,
SYLLABLE,
Segmenter,
Constant Field Valuespublic static final java.lang.String TARGET
public static final java.lang.String UNIT
| Method Detail |
public java.lang.String getName()
public Item getHead()
public Item getTail()
public Item appendItem()
public Item appendItem(Item originalItem)
originalItem - the ItemContents that will be
shared by the new item
public Utterance getUtterance()
public void dump(java.io.PrintWriter pw,
int pad,
java.lang.String title)
dump in interface Dumpablepw - the output streampad - the paddingtitle - the title for the dump
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||