e4e8d6e6608996afdb3b1e58c89fd741d65be688
[debian/freetts] / javadoc / com / sun / speech / freetts / diphone / DiphoneUnitSelector.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:30 CET 2009 -->\r
6 <TITLE>\r
7 DiphoneUnitSelector (FreeTTS 1.2)\r
8 </TITLE>\r
9 \r
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.diphone.DiphoneUnitSelector 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="DiphoneUnitSelector (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/diphone/DiphoneUnitDatabase.html" title="class in com.sun.speech.freetts.diphone"><B>PREV CLASS</B></A>&nbsp;\r
53 &nbsp;NEXT CLASS</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="DiphoneUnitSelector.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.diphone</FONT>\r
85 <BR>\r
86 Class DiphoneUnitSelector</H2>\r
87 <PRE>\r
88 java.lang.Object\r
89   <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.diphone.DiphoneUnitSelector</B>\r
90 </PRE>\r
91 <DL>\r
92 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../com/sun/speech/freetts/UtteranceProcessor.html" title="interface in com.sun.speech.freetts">UtteranceProcessor</A></DD>\r
93 </DL>\r
94 <HR>\r
95 <DL>\r
96 <DT>public class <B>DiphoneUnitSelector</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../com/sun/speech/freetts/UtteranceProcessor.html" title="interface in com.sun.speech.freetts">UtteranceProcessor</A></DL>\r
97 \r
98 <P>\r
99 Generates the Unit Relation of an Utterance from the
100  Segment Relation.\r
101 <P>\r
102 \r
103 <P>\r
104 <HR>\r
105 \r
106 <P>\r
107 <!-- ======== NESTED CLASS SUMMARY ======== -->\r
108 \r
109 \r
110 <!-- =========== FIELD SUMMARY =========== -->\r
111 \r
112 \r
113 <!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
114 \r
115 <A NAME="constructor_summary"><!-- --></A>
116 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
117 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
118 <TD COLSPAN=2><FONT SIZE="+2">\r
119 <B>Constructor Summary</B></FONT></TD>\r
120 </TR>\r
121 <TR BGCOLOR="white" CLASS="TableRowColor">\r
122 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/DiphoneUnitSelector.html#DiphoneUnitSelector(java.net.URL)">DiphoneUnitSelector</A></B>(java.net.URL&nbsp;url)</CODE>\r
123 \r
124 <BR>\r
125 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a DiphoneUnitSelector.</TD>\r
126 </TR>\r
127 </TABLE>\r
128 &nbsp;\r
129 <!-- ========== METHOD SUMMARY =========== -->\r
130 \r
131 <A NAME="method_summary"><!-- --></A>
132 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
133 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
134 <TD COLSPAN=2><FONT SIZE="+2">\r
135 <B>Method Summary</B></FONT></TD>\r
136 </TR>\r
137 <TR BGCOLOR="white" CLASS="TableRowColor">\r
138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
139 <CODE>&nbsp;<A HREF="../../../../../com/sun/speech/freetts/relp/SampleInfo.html" title="class in com.sun.speech.freetts.relp">SampleInfo</A></CODE></FONT></TD>\r
140 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/DiphoneUnitSelector.html#getSampleInfo()">getSampleInfo</A></B>()</CODE>\r
141 \r
142 <BR>\r
143 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the sample info for the underlying database.</TD>\r
144 </TR>\r
145 <TR BGCOLOR="white" CLASS="TableRowColor">\r
146 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
147 <CODE>&nbsp;void</CODE></FONT></TD>\r
148 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/DiphoneUnitSelector.html#processUtterance(com.sun.speech.freetts.Utterance)">processUtterance</A></B>(<A HREF="../../../../../com/sun/speech/freetts/Utterance.html" title="class in com.sun.speech.freetts">Utterance</A>&nbsp;utterance)</CODE>\r
149 \r
150 <BR>\r
151 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generates the Unit Relation from the Segment Relation.</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;java.lang.String</CODE></FONT></TD>\r
156 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/diphone/DiphoneUnitSelector.html#toString()">toString</A></B>()</CODE>\r
157 \r
158 <BR>\r
159 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this object.</TD>\r
160 </TR>\r
161 </TABLE>\r
162 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
163 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
164 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
165 <TD><B>Methods inherited from class java.lang.Object</B></TD>\r
166 </TR>\r
167 <TR BGCOLOR="white" CLASS="TableRowColor">\r
168 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>\r
169 </TR>\r
170 </TABLE>\r
171 &nbsp;\r
172 <P>\r
173 \r
174 <!-- ============ FIELD DETAIL =========== -->\r
175 \r
176 \r
177 <!-- ========= CONSTRUCTOR DETAIL ======== -->\r
178 \r
179 <A NAME="constructor_detail"><!-- --></A>
180 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
181 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
182 <TD COLSPAN=1><FONT SIZE="+2">\r
183 <B>Constructor Detail</B></FONT></TD>\r
184 </TR>\r
185 </TABLE>\r
186 \r
187 <A NAME="DiphoneUnitSelector(java.net.URL)"><!-- --></A><H3>\r
188 DiphoneUnitSelector</H3>\r
189 <PRE>\r
190 public <B>DiphoneUnitSelector</B>(java.net.URL&nbsp;url)
191                     throws java.io.IOException</PRE>\r
192 <DL>\r
193 <DD>Constructs a DiphoneUnitSelector.\r
194 <P>\r
195 <DT><B>Parameters:</B><DD><CODE>url</CODE> - the URL for the unit database. If the URL path ends
196      with a '.bin' it is assumed that the DB is a binary database,
197      otherwise, its assumed that its a text database1
198 <DT><B>Throws:</B>
199 <DD><CODE>java.io.IOException</CODE> - if an error occurs while loading the
200      database</DL>\r
201 \r
202 <!-- ============ METHOD DETAIL ========== -->\r
203 \r
204 <A NAME="method_detail"><!-- --></A>
205 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
206 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
207 <TD COLSPAN=1><FONT SIZE="+2">\r
208 <B>Method Detail</B></FONT></TD>\r
209 </TR>\r
210 </TABLE>\r
211 \r
212 <A NAME="getSampleInfo()"><!-- --></A><H3>\r
213 getSampleInfo</H3>\r
214 <PRE>\r
215 public <A HREF="../../../../../com/sun/speech/freetts/relp/SampleInfo.html" title="class in com.sun.speech.freetts.relp">SampleInfo</A> <B>getSampleInfo</B>()</PRE>\r
216 <DL>\r
217 <DD>Get the sample info for the underlying database.\r
218 <P>\r
219 <DD><DL>\r
220 </DL>\r
221 </DD>\r
222 <DD><DL>\r
223
224 <DT><B>Returns:</B><DD>the sample info object</DL>\r
225 </DD>\r
226 </DL>\r
227 <HR>\r
228 \r
229 <A NAME="processUtterance(com.sun.speech.freetts.Utterance)"><!-- --></A><H3>\r
230 processUtterance</H3>\r
231 <PRE>\r
232 public void <B>processUtterance</B>(<A HREF="../../../../../com/sun/speech/freetts/Utterance.html" title="class in com.sun.speech.freetts">Utterance</A>&nbsp;utterance)
233                       throws <A HREF="../../../../../com/sun/speech/freetts/ProcessException.html" title="class in com.sun.speech.freetts">ProcessException</A></PRE>\r
234 <DL>\r
235 <DD>Generates the Unit Relation from the Segment Relation.\r
236 <P>\r
237 <DD><DL>\r
238 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/freetts/UtteranceProcessor.html#processUtterance(com.sun.speech.freetts.Utterance)">processUtterance</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/freetts/UtteranceProcessor.html" title="interface in com.sun.speech.freetts">UtteranceProcessor</A></CODE></DL>\r
239 </DD>\r
240 <DD><DL>\r
241 <DT><B>Parameters:</B><DD><CODE>utterance</CODE> - the utterance to generate the Unit Relation
242 <DT><B>Throws:</B>
243 <DD><CODE><A HREF="../../../../../com/sun/speech/freetts/ProcessException.html" title="class in com.sun.speech.freetts">ProcessException</A></CODE> - if an IOException is thrown during the
244          processing of the utterance</DL>\r
245 </DD>\r
246 </DL>\r
247 <HR>\r
248 \r
249 <A NAME="toString()"><!-- --></A><H3>\r
250 toString</H3>\r
251 <PRE>\r
252 public java.lang.String <B>toString</B>()</PRE>\r
253 <DL>\r
254 <DD>Returns a string representation of this object.\r
255 <P>\r
256 <DD><DL>\r
257 </DL>\r
258 </DD>\r
259 <DD><DL>\r
260
261 <DT><B>Returns:</B><DD>a string representation of this object</DL>\r
262 </DD>\r
263 </DL>\r
264 <!-- ========= END OF CLASS DATA ========= -->\r
265 <HR>\r
266 \r
267
268 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
269 <A NAME="navbar_bottom"><!-- --></A>
270 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
271 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
272 <TR>\r
273 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
274 <A NAME="navbar_bottom_firstrow"><!-- --></A>
275 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
276   <TR ALIGN="center" VALIGN="top">\r
277   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
278   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
279   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
280   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
281   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
282   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
283   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
284   </TR>\r
285 </TABLE>\r
286 </TD>\r
287 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
288 </EM>\r
289 </TD>\r
290 </TR>\r
291 \r
292 <TR>\r
293 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
294 &nbsp;<A HREF="../../../../../com/sun/speech/freetts/diphone/DiphoneUnitDatabase.html" title="class in com.sun.speech.freetts.diphone"><B>PREV CLASS</B></A>&nbsp;\r
295 &nbsp;NEXT CLASS</FONT></TD>\r
296 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
297   <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
298 &nbsp;<A HREF="DiphoneUnitSelector.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
299 &nbsp;<SCRIPT type="text/javascript">\r
300   <!--\r
301   if(window==top) {\r
302     document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
303   }\r
304   //-->\r
305 </SCRIPT>\r
306 <NOSCRIPT>\r
307   <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
308 </NOSCRIPT>
309 \r
310 </FONT></TD>\r
311 </TR>\r
312 <TR>\r
313 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
314   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
315 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
316 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
317 </TR>\r
318 </TABLE>\r
319 <A NAME="skip-navbar_bottom"></A>
320 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
321 \r
322 <HR>\r
323 \r
324 </BODY>\r
325 </HTML>\r