1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
\r
5 <!-- Generated by javadoc (build 1.4.2_16) on Mon Mar 09 18:20:30 CET 2009 -->
\r
7 DiphoneUnitSelector (FreeTTS 1.2)
\r
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.diphone.DiphoneUnitSelector class">
\r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
\r
14 <SCRIPT type="text/javascript">
\r
15 function windowTitle()
\r
17 parent.document.title="DiphoneUnitSelector (FreeTTS 1.2)";
\r
23 <BODY BGCOLOR="white" onload="windowTitle();">
\r
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
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> </TD>
\r
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
45 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
52 <A HREF="../../../../../com/sun/speech/freetts/diphone/DiphoneUnitDatabase.html" title="class in com.sun.speech.freetts.diphone"><B>PREV CLASS</B></A>
\r
53 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>
\r
56 <A HREF="DiphoneUnitSelector.html" target="_top"><B>NO FRAMES</B></A>
\r
57 <SCRIPT type="text/javascript">
\r
60 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
65 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
71 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
72 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
73 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
74 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
77 <A NAME="skip-navbar_top"></A>
78 <!-- ========= END OF TOP NAVBAR ========= -->
\r
81 <!-- ======== START OF CLASS DATA ======== -->
\r
84 com.sun.speech.freetts.diphone</FONT>
\r
86 Class DiphoneUnitSelector</H2>
\r
89 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.diphone.DiphoneUnitSelector</B>
\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
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
99 Generates the Unit Relation of an Utterance from the
107 <!-- ======== NESTED CLASS SUMMARY ======== -->
\r
110 <!-- =========== FIELD SUMMARY =========== -->
\r
113 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
\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
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 url)</CODE>
\r
125 Constructs a DiphoneUnitSelector.</TD>
\r
129 <!-- ========== METHOD SUMMARY =========== -->
\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
137 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
139 <CODE> <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
143 Get the sample info for the underlying database.</TD>
\r
145 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
146 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
147 <CODE> 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> utterance)</CODE>
\r
151 Generates the Unit Relation from the Segment Relation.</TD>
\r
153 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
155 <CODE> 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
159 Returns a string representation of this object.</TD>
\r
162 <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
167 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
168 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
\r
174 <!-- ============ FIELD DETAIL =========== -->
\r
177 <!-- ========= CONSTRUCTOR DETAIL ======== -->
\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
187 <A NAME="DiphoneUnitSelector(java.net.URL)"><!-- --></A><H3>
\r
188 DiphoneUnitSelector</H3>
\r
190 public <B>DiphoneUnitSelector</B>(java.net.URL url)
191 throws java.io.IOException</PRE>
\r
193 <DD>Constructs a DiphoneUnitSelector.
\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
199 <DD><CODE>java.io.IOException</CODE> - if an error occurs while loading the
202 <!-- ============ METHOD DETAIL ========== -->
\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
212 <A NAME="getSampleInfo()"><!-- --></A><H3>
\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
217 <DD>Get the sample info for the underlying database.
\r
224 <DT><B>Returns:</B><DD>the sample info object</DL>
\r
229 <A NAME="processUtterance(com.sun.speech.freetts.Utterance)"><!-- --></A><H3>
\r
230 processUtterance</H3>
\r
232 public void <B>processUtterance</B>(<A HREF="../../../../../com/sun/speech/freetts/Utterance.html" title="class in com.sun.speech.freetts">Utterance</A> utterance)
233 throws <A HREF="../../../../../com/sun/speech/freetts/ProcessException.html" title="class in com.sun.speech.freetts">ProcessException</A></PRE>
\r
235 <DD>Generates the Unit Relation from the Segment Relation.
\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
241 <DT><B>Parameters:</B><DD><CODE>utterance</CODE> - the utterance to generate the Unit Relation
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
249 <A NAME="toString()"><!-- --></A><H3>
\r
252 public java.lang.String <B>toString</B>()</PRE>
\r
254 <DD>Returns a string representation of this object.
\r
261 <DT><B>Returns:</B><DD>a string representation of this object</DL>
\r
264 <!-- ========= END OF CLASS DATA ========= -->
\r
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
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> </TD>
\r
278 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
279 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
280 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
281 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
282 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
283 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
287 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
293 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
294 <A HREF="../../../../../com/sun/speech/freetts/diphone/DiphoneUnitDatabase.html" title="class in com.sun.speech.freetts.diphone"><B>PREV CLASS</B></A>
\r
295 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>
\r
298 <A HREF="DiphoneUnitSelector.html" target="_top"><B>NO FRAMES</B></A>
\r
299 <SCRIPT type="text/javascript">
\r
302 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
307 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
313 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
314 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
315 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
316 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
319 <A NAME="skip-navbar_bottom"></A>
320 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r