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:29 CET 2009 -->
\r
7 ClusterUnitDatabase (FreeTTS 1.2)
\r
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.clunits.ClusterUnitDatabase 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="ClusterUnitDatabase (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 PREV CLASS
\r
53 <A HREF="../../../../../com/sun/speech/freetts/clunits/ClusterUnitPitchmarkGenerator.html" title="class in com.sun.speech.freetts.clunits"><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>
\r
56 <A HREF="ClusterUnitDatabase.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
73 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
74 DETAIL: FIELD | CONSTR | <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.clunits</FONT>
\r
86 Class ClusterUnitDatabase</H2>
\r
89 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.clunits.ClusterUnitDatabase</B>
\r
93 <DT>public class <B>ClusterUnitDatabase</B><DT>extends java.lang.Object</DL>
\r
96 Provides support for the cluster unit database. The use of the
97 cluster unit database is confined to this clunits package. This
98 class provides a main program that can be used to convert from a
99 text version of the database to a binary version of the database.
101 The ClusterUnitDataBase can be loaded from a text or a binary
102 source. The binary form of the database loads much faster and
103 therefore is generally used in a deployed system.
\r
110 <!-- ======== NESTED CLASS SUMMARY ======== -->
\r
113 <!-- =========== FIELD SUMMARY =========== -->
\r
116 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
\r
119 <!-- ========== METHOD SUMMARY =========== -->
\r
121 <A NAME="method_summary"><!-- --></A>
122 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
123 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
124 <TD COLSPAN=2><FONT SIZE="+2">
\r
125 <B>Method Summary</B></FONT></TD>
\r
127 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
128 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
129 <CODE> boolean</CODE></FONT></TD>
\r
130 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/clunits/ClusterUnitDatabase.html#compare(com.sun.speech.freetts.clunits.ClusterUnitDatabase)">compare</A></B>(<A HREF="../../../../../com/sun/speech/freetts/clunits/ClusterUnitDatabase.html" title="class in com.sun.speech.freetts.clunits">ClusterUnitDatabase</A> other)</CODE>
\r
133 Determines if two databases are identical.</TD>
\r
135 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
136 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
137 <CODE>static void</CODE></FONT></TD>
\r
138 <TD><CODE><B><A HREF="../../../../../com/sun/speech/freetts/clunits/ClusterUnitDatabase.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
\r
141 Manipulates a ClusterUnitDatabase.
146 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
147 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
148 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
149 <TD><B>Methods inherited from class java.lang.Object</B></TD>
\r
151 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
152 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
\r
158 <!-- ============ FIELD DETAIL =========== -->
\r
161 <!-- ========= CONSTRUCTOR DETAIL ======== -->
\r
164 <!-- ============ METHOD DETAIL ========== -->
\r
166 <A NAME="method_detail"><!-- --></A>
167 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
168 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
169 <TD COLSPAN=1><FONT SIZE="+2">
\r
170 <B>Method Detail</B></FONT></TD>
\r
174 <A NAME="compare(com.sun.speech.freetts.clunits.ClusterUnitDatabase)"><!-- --></A><H3>
\r
177 public boolean <B>compare</B>(<A HREF="../../../../../com/sun/speech/freetts/clunits/ClusterUnitDatabase.html" title="class in com.sun.speech.freetts.clunits">ClusterUnitDatabase</A> other)</PRE>
\r
179 <DD>Determines if two databases are identical.
\r
182 <DT><B>Parameters:</B><DD><CODE>other</CODE> - the database to compare this one to
183 <DT><B>Returns:</B><DD>true if the databases are identical</DL>
\r
188 <A NAME="main(java.lang.String[])"><!-- --></A><H3>
\r
191 public static void <B>main</B>(java.lang.String[] args)</PRE>
\r
193 <DD>Manipulates a ClusterUnitDatabase.
198 <code> java com.sun.speech.freetts.clunits.ClusterUnitDatabase
204 <li> <code> -src path </code> provides a directory
205 path to the source text for the database
206 <li> <code> -dest path </code> provides a directory
207 for where to place the resulting binaries
208 <li> <code> -generate_binary [filename]</code> reads
209 in the text version of the database and generates
210 the binary version of the database.
211 <li> <code> -compare </code> Loads the text and
212 binary versions of the database and compares them to
213 see if they are equivalent.
214 <li> <code> -showTimes </code> shows timings for any
215 loading, comparing or dumping operation
222 <!-- ========= END OF CLASS DATA ========= -->
\r
226 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
227 <A NAME="navbar_bottom"><!-- --></A>
228 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
229 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
231 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
232 <A NAME="navbar_bottom_firstrow"><!-- --></A>
233 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
234 <TR ALIGN="center" VALIGN="top">
\r
235 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
236 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
237 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
238 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
239 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
240 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
241 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
245 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
251 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
252 PREV CLASS
\r
253 <A HREF="../../../../../com/sun/speech/freetts/clunits/ClusterUnitPitchmarkGenerator.html" title="class in com.sun.speech.freetts.clunits"><B>NEXT CLASS</B></A></FONT></TD>
\r
254 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
255 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
\r
256 <A HREF="ClusterUnitDatabase.html" target="_top"><B>NO FRAMES</B></A>
\r
257 <SCRIPT type="text/javascript">
\r
260 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
265 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
271 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
272 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
273 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
274 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
277 <A NAME="skip-navbar_bottom"></A>
278 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r