upstream version 1.2.2
[debian/freetts] / javadoc / com / sun / speech / freetts / en / us / CMUTimeLexicon.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 CMUTimeLexicon (FreeTTS 1.2)\r
8 </TITLE>\r
9 \r
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.en.us.CMUTimeLexicon 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="CMUTimeLexicon (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/en/us/CMULexicon.html" title="class in com.sun.speech.freetts.en.us"><B>PREV CLASS</B></A>&nbsp;\r
53 &nbsp;<A HREF="../../../../../../com/sun/speech/freetts/en/us/CMUTimeVoice.html" title="class in com.sun.speech.freetts.en.us"><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="CMUTimeLexicon.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;<A HREF="#fields_inherited_from_class_com.sun.speech.freetts.lexicon.LexiconImpl">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_com.sun.speech.freetts.en.us.CMULexicon">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;METHOD</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.en.us</FONT>\r
85 <BR>\r
86 Class CMUTimeLexicon</H2>\r
87 <PRE>\r
88 java.lang.Object\r
89   <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html" title="class in com.sun.speech.freetts.lexicon">com.sun.speech.freetts.lexicon.LexiconImpl</A>\r
90       <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html" title="class in com.sun.speech.freetts.en.us">com.sun.speech.freetts.en.us.CMULexicon</A>\r
91           <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.en.us.CMUTimeLexicon</B>\r
92 </PRE>\r
93 <DL>\r
94 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../com/sun/speech/freetts/lexicon/Lexicon.html" title="interface in com.sun.speech.freetts.lexicon">Lexicon</A></DD>\r
95 </DL>\r
96 <HR>\r
97 <DL>\r
98 <DT>public class <B>CMUTimeLexicon</B><DT>extends <A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html" title="class in com.sun.speech.freetts.en.us">CMULexicon</A></DL>\r
99 \r
100 <P>\r
101 Provides a CMU time lexicon-specific implementation of a Lexicon.
102  stored in a text file.\r
103 <P>\r
104 \r
105 <P>\r
106 <HR>\r
107 \r
108 <P>\r
109 <!-- ======== NESTED CLASS SUMMARY ======== -->\r
110 \r
111 \r
112 <!-- =========== FIELD SUMMARY =========== -->\r
113 \r
114 <A NAME="field_summary"><!-- --></A>
115 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
116 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
117 <TD COLSPAN=2><FONT SIZE="+2">\r
118 <B>Field Summary</B></FONT></TD>\r
119 </TR>\r
120 </TABLE>\r
121 &nbsp;<A NAME="fields_inherited_from_class_com.sun.speech.freetts.lexicon.LexiconImpl"><!-- --></A>
122 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
123 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
124 <TD><B>Fields inherited from class com.sun.speech.freetts.lexicon.<A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html" title="class in com.sun.speech.freetts.lexicon">LexiconImpl</A></B></TD>\r
125 </TR>\r
126 <TR BGCOLOR="white" CLASS="TableRowColor">\r
127 <TD><CODE><A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#tokenizeOnLoad">tokenizeOnLoad</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#tokenizeOnLookup">tokenizeOnLookup</A></CODE></TD>\r
128 </TR>\r
129 </TABLE>\r
130 &nbsp;\r
131 <!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
132 \r
133 <A NAME="constructor_summary"><!-- --></A>
134 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
135 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
136 <TD COLSPAN=2><FONT SIZE="+2">\r
137 <B>Constructor Summary</B></FONT></TD>\r
138 </TR>\r
139 <TR BGCOLOR="white" CLASS="TableRowColor">\r
140 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/freetts/en/us/CMUTimeLexicon.html#CMUTimeLexicon()">CMUTimeLexicon</A></B>()</CODE>\r
141 \r
142 <BR>\r
143 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a default CMUTimeLexicon which is a binary lexicon</TD>\r
144 </TR>\r
145 </TABLE>\r
146 &nbsp;\r
147 <!-- ========== METHOD SUMMARY =========== -->\r
148 \r
149 <A NAME="methods_inherited_from_class_com.sun.speech.freetts.en.us.CMULexicon"><!-- --></A>
150 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
151 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
152 <TD><B>Methods inherited from class com.sun.speech.freetts.en.us.<A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html" title="class in com.sun.speech.freetts.en.us">CMULexicon</A></B></TD>\r
153 </TR>\r
154 <TR BGCOLOR="white" CLASS="TableRowColor">\r
155 <TD><CODE><A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html#getInstance(boolean)">getInstance</A>, <A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html#getInstance(java.lang.String, boolean)">getInstance</A>, <A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html#getSonority(java.lang.String)">getSonority</A>, <A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html#hasVowel(java.util.List)">hasVowel</A>, <A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html#hasVowel(java.lang.String[], int)">hasVowel</A>, <A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html#isSilence(java.lang.String)">isSilence</A>, <A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html#isSyllableBoundary(java.util.List, java.lang.String[], int)">isSyllableBoundary</A>, <A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html#isVowel(java.lang.String)">isVowel</A>, <A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html#main(java.lang.String[])">main</A></CODE></TD>\r
156 </TR>\r
157 </TABLE>\r
158 &nbsp;<A NAME="methods_inherited_from_class_com.sun.speech.freetts.lexicon.LexiconImpl"><!-- --></A>
159 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
160 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
161 <TD><B>Methods inherited from class com.sun.speech.freetts.lexicon.<A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html" title="class in com.sun.speech.freetts.lexicon">LexiconImpl</A></B></TD>\r
162 </TR>\r
163 <TR BGCOLOR="white" CLASS="TableRowColor">\r
164 <TD><CODE><A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#addAddendum(java.lang.String, java.lang.String, java.lang.String[])">addAddendum</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#compare(com.sun.speech.freetts.lexicon.LexiconImpl)">compare</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#createLexicon(java.io.InputStream, boolean, int)">createLexicon</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#dumpBinary(java.lang.String)">dumpBinary</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#fixPartOfSpeech(java.lang.String)">fixPartOfSpeech</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#getPhones(java.util.Map, java.lang.String)">getPhones</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#getPhones(java.util.Map, java.lang.String, java.lang.String)">getPhones</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#getPhones(java.lang.String)">getPhones</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#getPhones(java.lang.String, java.lang.String)">getPhones</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#getPhones(java.lang.String, java.lang.String, boolean)">getPhones</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#isLoaded()">isLoaded</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#load()">load</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#loadTextLexicon(java.io.InputStream, int)">loadTextLexicon</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#parseAndAdd(java.util.Map, java.lang.String)">parseAndAdd</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#removeAddendum(java.lang.String, java.lang.String)">removeAddendum</A>, <A HREF="../../../../../../com/sun/speech/freetts/lexicon/LexiconImpl.html#setLexiconParameters(java.net.URL, java.net.URL, java.net.URL, boolean)">setLexiconParameters</A></CODE></TD>\r
165 </TR>\r
166 </TABLE>\r
167 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
168 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
169 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
170 <TD><B>Methods inherited from class java.lang.Object</B></TD>\r
171 </TR>\r
172 <TR BGCOLOR="white" CLASS="TableRowColor">\r
173 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>\r
174 </TR>\r
175 </TABLE>\r
176 &nbsp;\r
177 <P>\r
178 \r
179 <!-- ============ FIELD DETAIL =========== -->\r
180 \r
181 \r
182 <!-- ========= CONSTRUCTOR DETAIL ======== -->\r
183 \r
184 <A NAME="constructor_detail"><!-- --></A>
185 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
186 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
187 <TD COLSPAN=1><FONT SIZE="+2">\r
188 <B>Constructor Detail</B></FONT></TD>\r
189 </TR>\r
190 </TABLE>\r
191 \r
192 <A NAME="CMUTimeLexicon()"><!-- --></A><H3>\r
193 CMUTimeLexicon</H3>\r
194 <PRE>\r
195 public <B>CMUTimeLexicon</B>()</PRE>\r
196 <DL>\r
197 <DD>Creates a default CMUTimeLexicon which is a binary lexicon\r
198 <P>\r
199 </DL>\r
200 \r
201 <!-- ============ METHOD DETAIL ========== -->\r
202 \r
203 <!-- ========= END OF CLASS DATA ========= -->\r
204 <HR>\r
205 \r
206
207 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
208 <A NAME="navbar_bottom"><!-- --></A>
209 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
210 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
211 <TR>\r
212 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
213 <A NAME="navbar_bottom_firstrow"><!-- --></A>
214 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
215   <TR ALIGN="center" VALIGN="top">\r
216   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
217   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
218   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
219   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
220   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
221   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
222   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
223   </TR>\r
224 </TABLE>\r
225 </TD>\r
226 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
227 </EM>\r
228 </TD>\r
229 </TR>\r
230 \r
231 <TR>\r
232 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
233 &nbsp;<A HREF="../../../../../../com/sun/speech/freetts/en/us/CMULexicon.html" title="class in com.sun.speech.freetts.en.us"><B>PREV CLASS</B></A>&nbsp;\r
234 &nbsp;<A HREF="../../../../../../com/sun/speech/freetts/en/us/CMUTimeVoice.html" title="class in com.sun.speech.freetts.en.us"><B>NEXT CLASS</B></A></FONT></TD>\r
235 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
236   <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
237 &nbsp;<A HREF="CMUTimeLexicon.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
238 &nbsp;<SCRIPT type="text/javascript">\r
239   <!--\r
240   if(window==top) {\r
241     document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
242   }\r
243   //-->\r
244 </SCRIPT>\r
245 <NOSCRIPT>\r
246   <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
247 </NOSCRIPT>
248 \r
249 </FONT></TD>\r
250 </TR>\r
251 <TR>\r
252 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
253   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.sun.speech.freetts.lexicon.LexiconImpl">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_com.sun.speech.freetts.en.us.CMULexicon">METHOD</A></FONT></TD>\r
254 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
255 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>\r
256 </TR>\r
257 </TABLE>\r
258 <A NAME="skip-navbar_bottom"></A>
259 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
260 \r
261 <HR>\r
262 \r
263 </BODY>\r
264 </HTML>\r