add a cleanup script to elide the non-free jsapi binary blob from the sources
[debian/freetts] / javadoc / com / sun / speech / freetts / Utterance.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
2 <!--NewPage-->\r
3 <HTML>\r
4 <HEAD>\r
5 <!-- Generated by javadoc (build 1.4.2_16) on Mon Mar 09 18:20:29 CET 2009 -->\r
6 <TITLE>\r
7 Utterance (FreeTTS 1.2)\r
8 </TITLE>\r
9 \r
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.Utterance class">\r
11 \r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">\r
13 \r
14 <SCRIPT type="text/javascript">\r
15 function windowTitle()\r
16 {\r
17     parent.document.title="Utterance (FreeTTS 1.2)";\r
18 }\r
19 </SCRIPT>\r
20 \r
21 </HEAD>\r
22 \r
23 <BODY BGCOLOR="white" onload="windowTitle();">\r
24 \r
25
26 <!-- ========= START OF TOP NAVBAR ======= -->\r
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
30 <TR>\r
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
34   <TR ALIGN="center" VALIGN="top">\r
35   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
36   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
37   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
38   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
39   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
42   </TR>\r
43 </TABLE>\r
44 </TD>\r
45 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
46 </EM>\r
47 </TD>\r
48 </TR>\r
49 \r
50 <TR>\r
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
52 &nbsp;<A HREF="../../../../com/sun/speech/freetts/Token.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>&nbsp;\r
53 &nbsp;<A HREF="../../../../com/sun/speech/freetts/Voice.html" title="class in com.sun.speech.freetts"><B>NEXT CLASS</B></A></FONT></TD>\r
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
55   <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
56 &nbsp;<A HREF="Utterance.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
57 &nbsp;<SCRIPT type="text/javascript">\r
58   <!--\r
59   if(window==top) {\r
60     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
61   }\r
62   //-->\r
63 </SCRIPT>\r
64 <NOSCRIPT>\r
65   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
66 </NOSCRIPT>
67 \r
68 </FONT></TD>\r
69 </TR>\r
70 <TR>\r
71 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
72   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
73 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
74 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
75 </TR>\r
76 </TABLE>\r
77 <A NAME="skip-navbar_top"></A>
78 <!-- ========= END OF TOP NAVBAR ========= -->\r
79 \r
80 <HR>\r
81 <!-- ======== START OF CLASS DATA ======== -->\r
82 <H2>\r
83 <FONT SIZE="-1">\r
84 com.sun.speech.freetts</FONT>\r
85 <BR>\r
86 Class Utterance</H2>\r
87 <PRE>\r
88 java.lang.Object\r
89   <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.Utterance</B>\r
90 </PRE>\r
91 <DL>\r
92 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/sun/speech/freetts/Dumpable.html" title="interface in com.sun.speech.freetts">Dumpable</A>, <A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A>, java.io.Serializable</DD>\r
93 </DL>\r
94 <HR>\r
95 <DL>\r
96 <DT>public class <B>Utterance</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A>, java.io.Serializable</DL>\r
97 \r
98 <P>\r
99 Holds all the data for an utterance to be spoken.
100  It is incrementally modified by various UtteranceProcessor
101  implementations.  An utterance contains a set of Features (essential
102  a set of properties) and a set of Relations. A Relation is an
103  ordered set of Item graphs. The utterance contains a set of
104  features and implements FeatureSet so that applications can set/get
105  features directly from the utterance. If a feature query is not
106  found in the utterance feature set, the query is forwarded to the
107  FeatureSet of the voice associated with the utterance.\r
108 <P>\r
109 \r
110 <P>\r
111 <DL>\r
112 <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.sun.speech.freetts.Utterance">Serialized Form</A></DL>\r
113 <HR>\r
114 \r
115 <P>\r
116 <!-- ======== NESTED CLASS SUMMARY ======== -->\r
117 \r
118 \r
119 <!-- =========== FIELD SUMMARY =========== -->\r
120 \r
121 \r
122 <!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
123 \r
124 <A NAME="constructor_summary"><!-- --></A>
125 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
126 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
127 <TD COLSPAN=2><FONT SIZE="+2">\r
128 <B>Constructor Summary</B></FONT></TD>\r
129 </TR>\r
130 <TR BGCOLOR="white" CLASS="TableRowColor">\r
131 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#Utterance(com.sun.speech.freetts.Voice)">Utterance</A></B>(<A HREF="../../../../com/sun/speech/freetts/Voice.html" title="class in com.sun.speech.freetts">Voice</A>&nbsp;voice)</CODE>\r
132 \r
133 <BR>\r
134 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new, empty utterance.</TD>\r
135 </TR>\r
136 <TR BGCOLOR="white" CLASS="TableRowColor">\r
137 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#Utterance(com.sun.speech.freetts.Voice, java.util.List)">Utterance</A></B>(<A HREF="../../../../com/sun/speech/freetts/Voice.html" title="class in com.sun.speech.freetts">Voice</A>&nbsp;voice,
138           java.util.List&nbsp;tokenList)</CODE>\r
139 \r
140 <BR>\r
141 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an utterance with the given set of tokenized text.</TD>\r
142 </TR>\r
143 </TABLE>\r
144 &nbsp;\r
145 <!-- ========== METHOD SUMMARY =========== -->\r
146 \r
147 <A NAME="method_summary"><!-- --></A>
148 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
149 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
150 <TD COLSPAN=2><FONT SIZE="+2">\r
151 <B>Method Summary</B></FONT></TD>\r
152 </TR>\r
153 <TR BGCOLOR="white" CLASS="TableRowColor">\r
154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
155 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/Relation.html" title="class in com.sun.speech.freetts">Relation</A></CODE></FONT></TD>\r
156 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#createRelation(java.lang.String)">createRelation</A></B>(java.lang.String&nbsp;name)</CODE>\r
157 \r
158 <BR>\r
159 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new relation with the given name and adds it to this
160  utterance.</TD>\r
161 </TR>\r
162 <TR BGCOLOR="white" CLASS="TableRowColor">\r
163 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
164 <CODE>&nbsp;void</CODE></FONT></TD>\r
165 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#dump(java.io.PrintWriter, int, java.lang.String)">dump</A></B>(java.io.PrintWriter&nbsp;output,
166      int&nbsp;pad,
167      java.lang.String&nbsp;title)</CODE>\r
168 \r
169 <BR>\r
170 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps this utterance in textual form.</TD>\r
171 </TR>\r
172 <TR BGCOLOR="white" CLASS="TableRowColor">\r
173 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
174 <CODE>&nbsp;void</CODE></FONT></TD>\r
175 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#dump(java.io.PrintWriter, int, java.lang.String, boolean)">dump</A></B>(java.io.PrintWriter&nbsp;output,
176      int&nbsp;pad,
177      java.lang.String&nbsp;title,
178      boolean&nbsp;justRelations)</CODE>\r
179 \r
180 <BR>\r
181 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps this utterance in textual form.</TD>\r
182 </TR>\r
183 <TR BGCOLOR="white" CLASS="TableRowColor">\r
184 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
185 <CODE>&nbsp;void</CODE></FONT></TD>\r
186 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#dump(java.io.PrintWriter, java.lang.String)">dump</A></B>(java.io.PrintWriter&nbsp;output,
187      java.lang.String&nbsp;title)</CODE>\r
188 \r
189 <BR>\r
190 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps this utterance in textual form.</TD>\r
191 </TR>\r
192 <TR BGCOLOR="white" CLASS="TableRowColor">\r
193 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
194 <CODE>&nbsp;void</CODE></FONT></TD>\r
195 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#dump(java.lang.String)">dump</A></B>(java.lang.String&nbsp;title)</CODE>\r
196 \r
197 <BR>\r
198 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps this utterance in textual form.</TD>\r
199 </TR>\r
200 <TR BGCOLOR="white" CLASS="TableRowColor">\r
201 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
202 <CODE>&nbsp;void</CODE></FONT></TD>\r
203 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#dumpRelations(java.lang.String)">dumpRelations</A></B>(java.lang.String&nbsp;title)</CODE>\r
204 \r
205 <BR>\r
206 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dumps the utterance in textual form</TD>\r
207 </TR>\r
208 <TR BGCOLOR="white" CLASS="TableRowColor">\r
209 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
210 <CODE>&nbsp;float</CODE></FONT></TD>\r
211 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#getDuration()">getDuration</A></B>()</CODE>\r
212 \r
213 <BR>\r
214 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the duration of this Utterance in seconds. </TD>\r
215 </TR>\r
216 <TR BGCOLOR="white" CLASS="TableRowColor">\r
217 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
218 <CODE>&nbsp;float</CODE></FONT></TD>\r
219 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#getFloat(java.lang.String)">getFloat</A></B>(java.lang.String&nbsp;name)</CODE>\r
220 \r
221 <BR>\r
222 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method that returns the named feature as a float.
223  </TD>\r
224 </TR>\r
225 <TR BGCOLOR="white" CLASS="TableRowColor">\r
226 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
227 <CODE>&nbsp;int</CODE></FONT></TD>\r
228 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#getInt(java.lang.String)">getInt</A></B>(java.lang.String&nbsp;name)</CODE>\r
229 \r
230 <BR>\r
231 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method that returns the named feature as a int.
232  </TD>\r
233 </TR>\r
234 <TR BGCOLOR="white" CLASS="TableRowColor">\r
235 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
236 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/Item.html" title="class in com.sun.speech.freetts">Item</A></CODE></FONT></TD>\r
237 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#getItem(java.lang.String, float)">getItem</A></B>(java.lang.String&nbsp;relation,
238         float&nbsp;time)</CODE>\r
239 \r
240 <BR>\r
241 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Item in the given Relation associated with the given time.</TD>\r
242 </TR>\r
243 <TR BGCOLOR="white" CLASS="TableRowColor">\r
244 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
245 <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>\r
246 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#getObject(java.lang.String)">getObject</A></B>(java.lang.String&nbsp;name)</CODE>\r
247 \r
248 <BR>\r
249 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the named feature as an object.
250  </TD>\r
251 </TR>\r
252 <TR BGCOLOR="white" CLASS="TableRowColor">\r
253 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
254 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/Relation.html" title="class in com.sun.speech.freetts">Relation</A></CODE></FONT></TD>\r
255 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#getRelation(java.lang.String)">getRelation</A></B>(java.lang.String&nbsp;name)</CODE>\r
256 \r
257 <BR>\r
258 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a relation from this utterance.</TD>\r
259 </TR>\r
260 <TR BGCOLOR="white" CLASS="TableRowColor">\r
261 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
262 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/FreeTTSSpeakable.html" title="interface in com.sun.speech.freetts">FreeTTSSpeakable</A></CODE></FONT></TD>\r
263 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#getSpeakable()">getSpeakable</A></B>()</CODE>\r
264 \r
265 <BR>\r
266 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the queueitem associated with this utterance.</TD>\r
267 </TR>\r
268 <TR BGCOLOR="white" CLASS="TableRowColor">\r
269 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
270 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
271 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#getString(java.lang.String)">getString</A></B>(java.lang.String&nbsp;name)</CODE>\r
272 \r
273 <BR>\r
274 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method that returns the named feature as a string.
275  </TD>\r
276 </TR>\r
277 <TR BGCOLOR="white" CLASS="TableRowColor">\r
278 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
279 <CODE>&nbsp;<A HREF="../../../../com/sun/speech/freetts/Voice.html" title="class in com.sun.speech.freetts">Voice</A></CODE></FONT></TD>\r
280 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#getVoice()">getVoice</A></B>()</CODE>\r
281 \r
282 <BR>\r
283 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the Voice associated with this Utterance.</TD>\r
284 </TR>\r
285 <TR BGCOLOR="white" CLASS="TableRowColor">\r
286 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
287 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
288 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#hasRelation(java.lang.String)">hasRelation</A></B>(java.lang.String&nbsp;name)</CODE>\r
289 \r
290 <BR>\r
291 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if this utterance contains a relation with the given
292  name.</TD>\r
293 </TR>\r
294 <TR BGCOLOR="white" CLASS="TableRowColor">\r
295 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
296 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
297 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#isFirst()">isFirst</A></B>()</CODE>\r
298 \r
299 <BR>\r
300 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this utterance is the first is a series of
301  utterances.</TD>\r
302 </TR>\r
303 <TR BGCOLOR="white" CLASS="TableRowColor">\r
304 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
305 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
306 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#isLast()">isLast</A></B>()</CODE>\r
307 \r
308 <BR>\r
309 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this utterance is the last is a series of
310  utterances.</TD>\r
311 </TR>\r
312 <TR BGCOLOR="white" CLASS="TableRowColor">\r
313 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
314 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
315 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#isPresent(java.lang.String)">isPresent</A></B>(java.lang.String&nbsp;name)</CODE>\r
316 \r
317 <BR>\r
318 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if the given feature is present. </TD>\r
319 </TR>\r
320 <TR BGCOLOR="white" CLASS="TableRowColor">\r
321 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
322 <CODE>&nbsp;void</CODE></FONT></TD>\r
323 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#remove(java.lang.String)">remove</A></B>(java.lang.String&nbsp;name)</CODE>\r
324 \r
325 <BR>\r
326 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the named feature from this set of features.</TD>\r
327 </TR>\r
328 <TR BGCOLOR="white" CLASS="TableRowColor">\r
329 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
330 <CODE>&nbsp;void</CODE></FONT></TD>\r
331 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#setFirst(boolean)">setFirst</A></B>(boolean&nbsp;first)</CODE>\r
332 \r
333 <BR>\r
334 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this utterance as the first in a series.</TD>\r
335 </TR>\r
336 <TR BGCOLOR="white" CLASS="TableRowColor">\r
337 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
338 <CODE>&nbsp;void</CODE></FONT></TD>\r
339 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#setFloat(java.lang.String, float)">setFloat</A></B>(java.lang.String&nbsp;name,
340          float&nbsp;value)</CODE>\r
341 \r
342 <BR>\r
343 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method that sets the named feature as a float.</TD>\r
344 </TR>\r
345 <TR BGCOLOR="white" CLASS="TableRowColor">\r
346 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
347 <CODE>&nbsp;void</CODE></FONT></TD>\r
348 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#setInt(java.lang.String, int)">setInt</A></B>(java.lang.String&nbsp;name,
349        int&nbsp;value)</CODE>\r
350 \r
351 <BR>\r
352 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method that sets the named feature as an int.</TD>\r
353 </TR>\r
354 <TR BGCOLOR="white" CLASS="TableRowColor">\r
355 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
356 <CODE>&nbsp;void</CODE></FONT></TD>\r
357 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#setLast(boolean)">setLast</A></B>(boolean&nbsp;last)</CODE>\r
358 \r
359 <BR>\r
360 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this utterance as the last in a series.</TD>\r
361 </TR>\r
362 <TR BGCOLOR="white" CLASS="TableRowColor">\r
363 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
364 <CODE>&nbsp;void</CODE></FONT></TD>\r
365 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#setObject(java.lang.String, java.lang.Object)">setObject</A></B>(java.lang.String&nbsp;name,
366           java.lang.Object&nbsp;value)</CODE>\r
367 \r
368 <BR>\r
369 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the named feature.</TD>\r
370 </TR>\r
371 <TR BGCOLOR="white" CLASS="TableRowColor">\r
372 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
373 <CODE>&nbsp;void</CODE></FONT></TD>\r
374 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#setSpeakable(com.sun.speech.freetts.FreeTTSSpeakable)">setSpeakable</A></B>(<A HREF="../../../../com/sun/speech/freetts/FreeTTSSpeakable.html" title="interface in com.sun.speech.freetts">FreeTTSSpeakable</A>&nbsp;speakable)</CODE>\r
375 \r
376 <BR>\r
377 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the speakable item for this utterance.</TD>\r
378 </TR>\r
379 <TR BGCOLOR="white" CLASS="TableRowColor">\r
380 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
381 <CODE>&nbsp;void</CODE></FONT></TD>\r
382 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Utterance.html#setString(java.lang.String, java.lang.String)">setString</A></B>(java.lang.String&nbsp;name,
383           java.lang.String&nbsp;value)</CODE>\r
384 \r
385 <BR>\r
386 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method that sets the named feature as a String.</TD>\r
387 </TR>\r
388 </TABLE>\r
389 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
390 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
391 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
392 <TD><B>Methods inherited from class java.lang.Object</B></TD>\r
393 </TR>\r
394 <TR BGCOLOR="white" CLASS="TableRowColor">\r
395 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>\r
396 </TR>\r
397 </TABLE>\r
398 &nbsp;\r
399 <P>\r
400 \r
401 <!-- ============ FIELD DETAIL =========== -->\r
402 \r
403 \r
404 <!-- ========= CONSTRUCTOR DETAIL ======== -->\r
405 \r
406 <A NAME="constructor_detail"><!-- --></A>
407 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
408 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
409 <TD COLSPAN=1><FONT SIZE="+2">\r
410 <B>Constructor Detail</B></FONT></TD>\r
411 </TR>\r
412 </TABLE>\r
413 \r
414 <A NAME="Utterance(com.sun.speech.freetts.Voice)"><!-- --></A><H3>\r
415 Utterance</H3>\r
416 <PRE>\r
417 public <B>Utterance</B>(<A HREF="../../../../com/sun/speech/freetts/Voice.html" title="class in com.sun.speech.freetts">Voice</A>&nbsp;voice)</PRE>\r
418 <DL>\r
419 <DD>Creates a new, empty utterance.\r
420 <P>\r
421 <DT><B>Parameters:</B><DD><CODE>voice</CODE> - the voice associated with the utterance</DL>\r
422 <HR>\r
423 \r
424 <A NAME="Utterance(com.sun.speech.freetts.Voice, java.util.List)"><!-- --></A><H3>\r
425 Utterance</H3>\r
426 <PRE>\r
427 public <B>Utterance</B>(<A HREF="../../../../com/sun/speech/freetts/Voice.html" title="class in com.sun.speech.freetts">Voice</A>&nbsp;voice,
428                  java.util.List&nbsp;tokenList)</PRE>\r
429 <DL>\r
430 <DD>Creates an utterance with the given set of tokenized text.\r
431 <P>\r
432 <DT><B>Parameters:</B><DD><CODE>voice</CODE> - the voice associated with the utterance<DD><CODE>tokenList</CODE> - the list of tokens for this utterance</DL>\r
433 \r
434 <!-- ============ METHOD DETAIL ========== -->\r
435 \r
436 <A NAME="method_detail"><!-- --></A>
437 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
438 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
439 <TD COLSPAN=1><FONT SIZE="+2">\r
440 <B>Method Detail</B></FONT></TD>\r
441 </TR>\r
442 </TABLE>\r
443 \r
444 <A NAME="setSpeakable(com.sun.speech.freetts.FreeTTSSpeakable)"><!-- --></A><H3>\r
445 setSpeakable</H3>\r
446 <PRE>\r
447 public void <B>setSpeakable</B>(<A HREF="../../../../com/sun/speech/freetts/FreeTTSSpeakable.html" title="interface in com.sun.speech.freetts">FreeTTSSpeakable</A>&nbsp;speakable)</PRE>\r
448 <DL>\r
449 <DD>Sets the speakable item for this utterance.\r
450 <P>\r
451 <DD><DL>\r
452 </DL>\r
453 </DD>\r
454 <DD><DL>\r
455 <DT><B>Parameters:</B><DD><CODE>speakable</CODE> - the speakable item for this utterance</DL>\r
456 </DD>\r
457 </DL>\r
458 <HR>\r
459 \r
460 <A NAME="getSpeakable()"><!-- --></A><H3>\r
461 getSpeakable</H3>\r
462 <PRE>\r
463 public <A HREF="../../../../com/sun/speech/freetts/FreeTTSSpeakable.html" title="interface in com.sun.speech.freetts">FreeTTSSpeakable</A> <B>getSpeakable</B>()</PRE>\r
464 <DL>\r
465 <DD>Returns the queueitem associated with this utterance.\r
466 <P>\r
467 <DD><DL>\r
468 </DL>\r
469 </DD>\r
470 <DD><DL>\r
471
472 <DT><B>Returns:</B><DD>the queue item</DL>\r
473 </DD>\r
474 </DL>\r
475 <HR>\r
476 \r
477 <A NAME="createRelation(java.lang.String)"><!-- --></A><H3>\r
478 createRelation</H3>\r
479 <PRE>\r
480 public <A HREF="../../../../com/sun/speech/freetts/Relation.html" title="class in com.sun.speech.freetts">Relation</A> <B>createRelation</B>(java.lang.String&nbsp;name)</PRE>\r
481 <DL>\r
482 <DD>Creates a new relation with the given name and adds it to this
483  utterance.\r
484 <P>\r
485 <DD><DL>\r
486 </DL>\r
487 </DD>\r
488 <DD><DL>\r
489 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the new relation
490 <DT><B>Returns:</B><DD>the newly created relation</DL>\r
491 </DD>\r
492 </DL>\r
493 <HR>\r
494 \r
495 <A NAME="getRelation(java.lang.String)"><!-- --></A><H3>\r
496 getRelation</H3>\r
497 <PRE>\r
498 public <A HREF="../../../../com/sun/speech/freetts/Relation.html" title="class in com.sun.speech.freetts">Relation</A> <B>getRelation</B>(java.lang.String&nbsp;name)</PRE>\r
499 <DL>\r
500 <DD>Retrieves a relation from this utterance.\r
501 <P>\r
502 <DD><DL>\r
503 </DL>\r
504 </DD>\r
505 <DD><DL>\r
506 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the Relation
507 <DT><B>Returns:</B><DD>the relation or null if the relation is not found</DL>\r
508 </DD>\r
509 </DL>\r
510 <HR>\r
511 \r
512 <A NAME="hasRelation(java.lang.String)"><!-- --></A><H3>\r
513 hasRelation</H3>\r
514 <PRE>\r
515 public boolean <B>hasRelation</B>(java.lang.String&nbsp;name)</PRE>\r
516 <DL>\r
517 <DD>Determines if this utterance contains a relation with the given
518  name.\r
519 <P>\r
520 <DD><DL>\r
521 </DL>\r
522 </DD>\r
523 <DD><DL>\r
524 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the relation of interest.</DL>\r
525 </DD>\r
526 </DL>\r
527 <HR>\r
528 \r
529 <A NAME="getVoice()"><!-- --></A><H3>\r
530 getVoice</H3>\r
531 <PRE>\r
532 public <A HREF="../../../../com/sun/speech/freetts/Voice.html" title="class in com.sun.speech.freetts">Voice</A> <B>getVoice</B>()</PRE>\r
533 <DL>\r
534 <DD>Retrieves the Voice associated with this Utterance.\r
535 <P>\r
536 <DD><DL>\r
537 </DL>\r
538 </DD>\r
539 <DD><DL>\r
540
541 <DT><B>Returns:</B><DD>the voice associated with this utterance.</DL>\r
542 </DD>\r
543 </DL>\r
544 <HR>\r
545 \r
546 <A NAME="dump(java.io.PrintWriter, int, java.lang.String, boolean)"><!-- --></A><H3>\r
547 dump</H3>\r
548 <PRE>\r
549 public void <B>dump</B>(java.io.PrintWriter&nbsp;output,
550                  int&nbsp;pad,
551                  java.lang.String&nbsp;title,
552                  boolean&nbsp;justRelations)</PRE>\r
553 <DL>\r
554 <DD>Dumps this utterance in textual form.\r
555 <P>\r
556 <DD><DL>\r
557 </DL>\r
558 </DD>\r
559 <DD><DL>\r
560 <DT><B>Parameters:</B><DD><CODE>output</CODE> - where to send the formatted output<DD><CODE>pad</CODE> - the initial padding<DD><CODE>title</CODE> - the title to print when dumping out the utterance<DD><CODE>justRelations</CODE> - if true don't print voice features</DL>\r
561 </DD>\r
562 </DL>\r
563 <HR>\r
564 \r
565 <A NAME="dump(java.io.PrintWriter, int, java.lang.String)"><!-- --></A><H3>\r
566 dump</H3>\r
567 <PRE>\r
568 public void <B>dump</B>(java.io.PrintWriter&nbsp;output,
569                  int&nbsp;pad,
570                  java.lang.String&nbsp;title)</PRE>\r
571 <DL>\r
572 <DD>Dumps this utterance in textual form.\r
573 <P>\r
574 <DD><DL>\r
575 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html#dump(java.io.PrintWriter, int, java.lang.String)">dump</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></DL>\r
576 </DD>\r
577 <DD><DL>\r
578 <DT><B>Parameters:</B><DD><CODE>output</CODE> - where to send the formatted output<DD><CODE>pad</CODE> - the initial padding<DD><CODE>title</CODE> - the title to print when dumping out the utterance</DL>\r
579 </DD>\r
580 </DL>\r
581 <HR>\r
582 \r
583 <A NAME="dump(java.io.PrintWriter, java.lang.String)"><!-- --></A><H3>\r
584 dump</H3>\r
585 <PRE>\r
586 public void <B>dump</B>(java.io.PrintWriter&nbsp;output,
587                  java.lang.String&nbsp;title)</PRE>\r
588 <DL>\r
589 <DD>Dumps this utterance in textual form.\r
590 <P>\r
591 <DD><DL>\r
592 </DL>\r
593 </DD>\r
594 <DD><DL>\r
595 <DT><B>Parameters:</B><DD><CODE>output</CODE> - where to send the formatted output<DD><CODE>title</CODE> - the title to print when dumping out the utterance</DL>\r
596 </DD>\r
597 </DL>\r
598 <HR>\r
599 \r
600 <A NAME="dump(java.lang.String)"><!-- --></A><H3>\r
601 dump</H3>\r
602 <PRE>\r
603 public void <B>dump</B>(java.lang.String&nbsp;title)</PRE>\r
604 <DL>\r
605 <DD>Dumps this utterance in textual form.\r
606 <P>\r
607 <DD><DL>\r
608 </DL>\r
609 </DD>\r
610 <DD><DL>\r
611 <DT><B>Parameters:</B><DD><CODE>title</CODE> - the title to print when dumping out the utterance</DL>\r
612 </DD>\r
613 </DL>\r
614 <HR>\r
615 \r
616 <A NAME="dumpRelations(java.lang.String)"><!-- --></A><H3>\r
617 dumpRelations</H3>\r
618 <PRE>\r
619 public void <B>dumpRelations</B>(java.lang.String&nbsp;title)</PRE>\r
620 <DL>\r
621 <DD>Dumps the utterance in textual form\r
622 <P>\r
623 <DD><DL>\r
624 </DL>\r
625 </DD>\r
626 <DD><DL>\r
627 <DT><B>Parameters:</B><DD><CODE>title</CODE> - the title to print when dumping out the utterance</DL>\r
628 </DD>\r
629 </DL>\r
630 <HR>\r
631 \r
632 <A NAME="isPresent(java.lang.String)"><!-- --></A><H3>\r
633 isPresent</H3>\r
634 <PRE>\r
635 public boolean <B>isPresent</B>(java.lang.String&nbsp;name)</PRE>\r
636 <DL>\r
637 <DD>Determines if the given feature is present. If the feature is
638  not present in the utterance, the feature set of the voice is
639  checked.\r
640 <P>\r
641 <DD><DL>\r
642 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html#isPresent(java.lang.String)">isPresent</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></DL>\r
643 </DD>\r
644 <DD><DL>\r
645 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the feature of interest
646 <DT><B>Returns:</B><DD>true if the named feature is present</DL>\r
647 </DD>\r
648 </DL>\r
649 <HR>\r
650 \r
651 <A NAME="remove(java.lang.String)"><!-- --></A><H3>\r
652 remove</H3>\r
653 <PRE>\r
654 public void <B>remove</B>(java.lang.String&nbsp;name)</PRE>\r
655 <DL>\r
656 <DD>Removes the named feature from this set of features.\r
657 <P>\r
658 <DD><DL>\r
659 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html#remove(java.lang.String)">remove</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></DL>\r
660 </DD>\r
661 <DD><DL>\r
662 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the feature of interest</DL>\r
663 </DD>\r
664 </DL>\r
665 <HR>\r
666 \r
667 <A NAME="getString(java.lang.String)"><!-- --></A><H3>\r
668 getString</H3>\r
669 <PRE>\r
670 public java.lang.String <B>getString</B>(java.lang.String&nbsp;name)</PRE>\r
671 <DL>\r
672 <DD>Convenience method that returns the named feature as a string.
673  If the named feature is not present in the utterance, then this
674  attempts to retrieve it from the voice.\r
675 <P>\r
676 <DD><DL>\r
677 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html#getString(java.lang.String)">getString</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></DL>\r
678 </DD>\r
679 <DD><DL>\r
680 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the feature
681 <DT><B>Returns:</B><DD>the value associated with the name or null if the value
682    is not found
683 <DT><B>Throws:</B>
684 <DD><CODE>java.lang.ClassCastException</CODE> - if the associated value is not a
685    String</DL>\r
686 </DD>\r
687 </DL>\r
688 <HR>\r
689 \r
690 <A NAME="getInt(java.lang.String)"><!-- --></A><H3>\r
691 getInt</H3>\r
692 <PRE>\r
693 public int <B>getInt</B>(java.lang.String&nbsp;name)</PRE>\r
694 <DL>\r
695 <DD>Convenience method that returns the named feature as a int.
696  If the named feature is not present in the utterance, then this
697  attempts to retrieve it from the voice.\r
698 <P>\r
699 <DD><DL>\r
700 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html#getInt(java.lang.String)">getInt</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></DL>\r
701 </DD>\r
702 <DD><DL>\r
703 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the feature
704 <DT><B>Returns:</B><DD>the value associated with the name or null if the value
705    is not found
706 <DT><B>Throws:</B>
707 <DD><CODE>java.lang.ClassCastException</CODE> - if the associated value is not an
708    int</DL>\r
709 </DD>\r
710 </DL>\r
711 <HR>\r
712 \r
713 <A NAME="getFloat(java.lang.String)"><!-- --></A><H3>\r
714 getFloat</H3>\r
715 <PRE>\r
716 public float <B>getFloat</B>(java.lang.String&nbsp;name)</PRE>\r
717 <DL>\r
718 <DD>Convenience method that returns the named feature as a float.
719  If the named feature is not present in the utterance, then this
720  attempts to retrieve it from the voice.\r
721 <P>\r
722 <DD><DL>\r
723 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html#getFloat(java.lang.String)">getFloat</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></DL>\r
724 </DD>\r
725 <DD><DL>\r
726 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the feature
727 <DT><B>Returns:</B><DD>the value associated with the name or null if the value
728    is not found
729 <DT><B>Throws:</B>
730 <DD><CODE>java.lang.ClassCastException</CODE> - if the associated value is not a
731    float</DL>\r
732 </DD>\r
733 </DL>\r
734 <HR>\r
735 \r
736 <A NAME="getObject(java.lang.String)"><!-- --></A><H3>\r
737 getObject</H3>\r
738 <PRE>\r
739 public java.lang.Object <B>getObject</B>(java.lang.String&nbsp;name)</PRE>\r
740 <DL>\r
741 <DD>Returns the named feature as an object.
742  If the named feature is not present in the utterance, then this
743  attempts to retrieve it from the voice.\r
744 <P>\r
745 <DD><DL>\r
746 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html#getObject(java.lang.String)">getObject</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></DL>\r
747 </DD>\r
748 <DD><DL>\r
749 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the feature
750 <DT><B>Returns:</B><DD>the value associated with the name or null if the value
751    is not found</DL>\r
752 </DD>\r
753 </DL>\r
754 <HR>\r
755 \r
756 <A NAME="setInt(java.lang.String, int)"><!-- --></A><H3>\r
757 setInt</H3>\r
758 <PRE>\r
759 public void <B>setInt</B>(java.lang.String&nbsp;name,
760                    int&nbsp;value)</PRE>\r
761 <DL>\r
762 <DD>Convenience method that sets the named feature as an int.\r
763 <P>\r
764 <DD><DL>\r
765 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html#setInt(java.lang.String, int)">setInt</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></DL>\r
766 </DD>\r
767 <DD><DL>\r
768 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the feature<DD><CODE>value</CODE> - the value of the feature</DL>\r
769 </DD>\r
770 </DL>\r
771 <HR>\r
772 \r
773 <A NAME="setFloat(java.lang.String, float)"><!-- --></A><H3>\r
774 setFloat</H3>\r
775 <PRE>\r
776 public void <B>setFloat</B>(java.lang.String&nbsp;name,
777                      float&nbsp;value)</PRE>\r
778 <DL>\r
779 <DD>Convenience method that sets the named feature as a float.\r
780 <P>\r
781 <DD><DL>\r
782 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html#setFloat(java.lang.String, float)">setFloat</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></DL>\r
783 </DD>\r
784 <DD><DL>\r
785 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the feature<DD><CODE>value</CODE> - the value of the feature</DL>\r
786 </DD>\r
787 </DL>\r
788 <HR>\r
789 \r
790 <A NAME="setString(java.lang.String, java.lang.String)"><!-- --></A><H3>\r
791 setString</H3>\r
792 <PRE>\r
793 public void <B>setString</B>(java.lang.String&nbsp;name,
794                       java.lang.String&nbsp;value)</PRE>\r
795 <DL>\r
796 <DD>Convenience method that sets the named feature as a String.\r
797 <P>\r
798 <DD><DL>\r
799 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html#setString(java.lang.String, java.lang.String)">setString</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></DL>\r
800 </DD>\r
801 <DD><DL>\r
802 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the feature<DD><CODE>value</CODE> - the value of the feature</DL>\r
803 </DD>\r
804 </DL>\r
805 <HR>\r
806 \r
807 <A NAME="setObject(java.lang.String, java.lang.Object)"><!-- --></A><H3>\r
808 setObject</H3>\r
809 <PRE>\r
810 public void <B>setObject</B>(java.lang.String&nbsp;name,
811                       java.lang.Object&nbsp;value)</PRE>\r
812 <DL>\r
813 <DD>Sets the named feature.\r
814 <P>\r
815 <DD><DL>\r
816 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html#setObject(java.lang.String, java.lang.Object)">setObject</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/FeatureSet.html" title="interface in com.sun.speech.freetts">FeatureSet</A></CODE></DL>\r
817 </DD>\r
818 <DD><DL>\r
819 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the feature<DD><CODE>value</CODE> - the value of the feature</DL>\r
820 </DD>\r
821 </DL>\r
822 <HR>\r
823 \r
824 <A NAME="getItem(java.lang.String, float)"><!-- --></A><H3>\r
825 getItem</H3>\r
826 <PRE>\r
827 public <A HREF="../../../../com/sun/speech/freetts/Item.html" title="class in com.sun.speech.freetts">Item</A> <B>getItem</B>(java.lang.String&nbsp;relation,
828                     float&nbsp;time)</PRE>\r
829 <DL>\r
830 <DD>Returns the Item in the given Relation associated with the given time.\r
831 <P>\r
832 <DD><DL>\r
833 </DL>\r
834 </DD>\r
835 <DD><DL>\r
836 <DT><B>Parameters:</B><DD><CODE>relation</CODE> - the name of the relation<DD><CODE>time</CODE> - the time
837 <DT><B>Throws:</B>
838 <DD><CODE>java.lang.IllegalStateException</CODE> - if the Segment durations
839    have not been calculated in the Utterance or if the
840    given relation is not present in the Utterance</DL>\r
841 </DD>\r
842 </DL>\r
843 <HR>\r
844 \r
845 <A NAME="getDuration()"><!-- --></A><H3>\r
846 getDuration</H3>\r
847 <PRE>\r
848 public float <B>getDuration</B>()</PRE>\r
849 <DL>\r
850 <DD>Returns the duration of this Utterance in seconds. It does this
851  by looking at last Item in the following Relations, in this order:
852  Segment, Target. If none of these Relations exist, or if these
853  Relations contain no Items, an IllegalStateException will be thrown.\r
854 <P>\r
855 <DD><DL>\r
856 </DL>\r
857 </DD>\r
858 <DD><DL>\r
859
860 <DT><B>Returns:</B><DD>the duration of this Utterance in seconds</DL>\r
861 </DD>\r
862 </DL>\r
863 <HR>\r
864 \r
865 <A NAME="isFirst()"><!-- --></A><H3>\r
866 isFirst</H3>\r
867 <PRE>\r
868 public boolean <B>isFirst</B>()</PRE>\r
869 <DL>\r
870 <DD>Returns true if this utterance is the first is a series of
871  utterances.\r
872 <P>\r
873 <DD><DL>\r
874 </DL>\r
875 </DD>\r
876 <DD><DL>\r
877
878 <DT><B>Returns:</B><DD>true if this is the first utterance in a series of
879      connected utterances.</DL>\r
880 </DD>\r
881 </DL>\r
882 <HR>\r
883 \r
884 <A NAME="setFirst(boolean)"><!-- --></A><H3>\r
885 setFirst</H3>\r
886 <PRE>\r
887 public void <B>setFirst</B>(boolean&nbsp;first)</PRE>\r
888 <DL>\r
889 <DD>Sets this utterance as the first in a series.\r
890 <P>\r
891 <DD><DL>\r
892 </DL>\r
893 </DD>\r
894 <DD><DL>\r
895 <DT><B>Parameters:</B><DD><CODE>first</CODE> - if true, the item is the first in a series</DL>\r
896 </DD>\r
897 </DL>\r
898 <HR>\r
899 \r
900 <A NAME="isLast()"><!-- --></A><H3>\r
901 isLast</H3>\r
902 <PRE>\r
903 public boolean <B>isLast</B>()</PRE>\r
904 <DL>\r
905 <DD>Returns true if this utterance is the last is a series of
906  utterances.\r
907 <P>\r
908 <DD><DL>\r
909 </DL>\r
910 </DD>\r
911 <DD><DL>\r
912
913 <DT><B>Returns:</B><DD>true if this is the last utterance in a series of
914      connected utterances.</DL>\r
915 </DD>\r
916 </DL>\r
917 <HR>\r
918 \r
919 <A NAME="setLast(boolean)"><!-- --></A><H3>\r
920 setLast</H3>\r
921 <PRE>\r
922 public void <B>setLast</B>(boolean&nbsp;last)</PRE>\r
923 <DL>\r
924 <DD>Sets this utterance as the last in a series.\r
925 <P>\r
926 <DD><DL>\r
927 </DL>\r
928 </DD>\r
929 <DD><DL>\r
930 <DT><B>Parameters:</B><DD><CODE>last</CODE> - if true, the item is the last in a series</DL>\r
931 </DD>\r
932 </DL>\r
933 <!-- ========= END OF CLASS DATA ========= -->\r
934 <HR>\r
935 \r
936
937 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
938 <A NAME="navbar_bottom"><!-- --></A>
939 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
940 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
941 <TR>\r
942 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
943 <A NAME="navbar_bottom_firstrow"><!-- --></A>
944 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
945   <TR ALIGN="center" VALIGN="top">\r
946   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
947   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
948   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
949   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
950   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
951   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
952   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
953   </TR>\r
954 </TABLE>\r
955 </TD>\r
956 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
957 </EM>\r
958 </TD>\r
959 </TR>\r
960 \r
961 <TR>\r
962 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
963 &nbsp;<A HREF="../../../../com/sun/speech/freetts/Token.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>&nbsp;\r
964 &nbsp;<A HREF="../../../../com/sun/speech/freetts/Voice.html" title="class in com.sun.speech.freetts"><B>NEXT CLASS</B></A></FONT></TD>\r
965 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
966   <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
967 &nbsp;<A HREF="Utterance.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
968 &nbsp;<SCRIPT type="text/javascript">\r
969   <!--\r
970   if(window==top) {\r
971     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
972   }\r
973   //-->\r
974 </SCRIPT>\r
975 <NOSCRIPT>\r
976   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
977 </NOSCRIPT>
978 \r
979 </FONT></TD>\r
980 </TR>\r
981 <TR>\r
982 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
983   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
984 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
985 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
986 </TR>\r
987 </TABLE>\r
988 <A NAME="skip-navbar_bottom"></A>
989 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
990 \r
991 <HR>\r
992 \r
993 </BODY>\r
994 </HTML>\r