Modifier and Type | Field and Description |
---|---|
private Item |
head |
private String |
name |
private Utterance |
owner |
static String |
PHRASE
Name of the relation that groups elements from the Word relation
into phrases.
|
static String |
SEGMENT
Name of the relation that contains the ordered list of the
smallest units of speech (typically phonemes) for the entire
utterance.
|
static String |
SYLLABLE
Name of the relation that contains the description of the
syllables for the Utterance.
|
static String |
SYLLABLE_STRUCTURE
Name of the relation that contains the syllable structure
for the utterance.
|
private Item |
tail |
static String |
TARGET
Name of the relation that maps fundamental frequency targets
to absolute times for wave to be generated from the utterance.
|
static String |
TOKEN
Name of the relation that contains tokens from the original
input text.
|
static 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 String |
WORD
Name of the relation that contains the normalized version of
the original input text.
|
Constructor and Description |
---|
Relation(String name,
Utterance owner)
Creates a relation.
|
Modifier and Type | Method and Description |
---|---|
Item |
appendItem()
Adds a new item to this relation.
|
Item |
appendItem(Item originalItem)
Adds a new item to this relation.
|
void |
dump(PrintWriter pw,
int pad,
String title)
Dumps this relation to the print writer.
|
Item |
getHead()
Gets the head of the item list.
|
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.
|
(package private) void |
setHead(Item item)
Sets the head of the item list.
|
(package private) void |
setTail(Item item)
Sets the tail of the item list.
|
public static final String TOKEN
WORD
,
Constant Field Valuespublic static final String WORD
TOKEN
,
Constant Field Valuespublic static final String PHRASE
public static final String SEGMENT
SYLLABLE
,
SYLLABLE_STRUCTURE
,
Segmenter
,
Constant Field Valuespublic static final String SYLLABLE
Segment
and
SylStructure
relations.SEGMENT
,
SYLLABLE_STRUCTURE
,
Segmenter
,
Constant Field Valuespublic static final String SYLLABLE_STRUCTURE
SEGMENT
,
SYLLABLE
,
Segmenter
,
Constant Field Valuespublic static final String TARGET
public static final String UNIT
public String getName()
void setHead(Item item)
item
- the new head itemvoid setTail(Item item)
item
- the new tail itempublic Item appendItem()
public Item appendItem(Item originalItem)
originalItem
- the ItemContents that will be
shared by the new itempublic Utterance getUtterance()
public void dump(PrintWriter pw, int pad, String title)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses