add a cleanup script to elide the non-free jsapi binary blob from the sources
[debian/freetts] / javadoc / com / sun / speech / freetts / PartOfSpeechImpl.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 PartOfSpeechImpl (FreeTTS 1.2)\r
8 </TITLE>\r
9 \r
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.PartOfSpeechImpl 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="PartOfSpeechImpl (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/OutputQueue.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>&nbsp;\r
53 &nbsp;<A HREF="../../../../com/sun/speech/freetts/PathExtractorImpl.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="PartOfSpeechImpl.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 PartOfSpeechImpl</H2>\r
87 <PRE>\r
88 java.lang.Object\r
89   <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.PartOfSpeechImpl</B>\r
90 </PRE>\r
91 <DL>\r
92 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/sun/speech/freetts/PartOfSpeech.html" title="interface in com.sun.speech.freetts">PartOfSpeech</A></DD>\r
93 </DL>\r
94 <HR>\r
95 <DL>\r
96 <DT>public class <B>PartOfSpeechImpl</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../com/sun/speech/freetts/PartOfSpeech.html" title="interface in com.sun.speech.freetts">PartOfSpeech</A></DL>\r
97 \r
98 <P>\r
99 Implementation of a <code>PartOfSpeech</code> that reads the info
100  from a file.  The format of the file is as follows:
101
102  <pre>
103  word pos
104  word pos
105  word pos
106  ...
107  </pre>
108
109  Where <code>word</code> is the word and <code>pos</code> is the
110  part of speech for the word.  The part of speech is implementation
111  dependent.\r
112 <P>\r
113 \r
114 <P>\r
115 <HR>\r
116 \r
117 <P>\r
118 <!-- ======== NESTED CLASS SUMMARY ======== -->\r
119 \r
120 \r
121 <!-- =========== FIELD SUMMARY =========== -->\r
122 \r
123 \r
124 <!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
125 \r
126 <A NAME="constructor_summary"><!-- --></A>
127 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
128 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
129 <TD COLSPAN=2><FONT SIZE="+2">\r
130 <B>Constructor Summary</B></FONT></TD>\r
131 </TR>\r
132 <TR BGCOLOR="white" CLASS="TableRowColor">\r
133 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/PartOfSpeechImpl.html#PartOfSpeechImpl(java.net.URL, java.lang.String)">PartOfSpeechImpl</A></B>(java.net.URL&nbsp;url,
134                  java.lang.String&nbsp;defaultPartOfSpeech)</CODE>\r
135 \r
136 <BR>\r
137 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new PartOfSpeechImpl by reading from the given URL.</TD>\r
138 </TR>\r
139 </TABLE>\r
140 &nbsp;\r
141 <!-- ========== METHOD SUMMARY =========== -->\r
142 \r
143 <A NAME="method_summary"><!-- --></A>
144 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
145 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
146 <TD COLSPAN=2><FONT SIZE="+2">\r
147 <B>Method Summary</B></FONT></TD>\r
148 </TR>\r
149 <TR BGCOLOR="white" CLASS="TableRowColor">\r
150 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
151 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
152 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/PartOfSpeechImpl.html#getPartOfSpeech(java.lang.String)">getPartOfSpeech</A></B>(java.lang.String&nbsp;word)</CODE>\r
153 \r
154 <BR>\r
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a description of the part of speech given a word.
156  </TD>\r
157 </TR>\r
158 </TABLE>\r
159 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
160 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
161 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
162 <TD><B>Methods inherited from class java.lang.Object</B></TD>\r
163 </TR>\r
164 <TR BGCOLOR="white" CLASS="TableRowColor">\r
165 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>\r
166 </TR>\r
167 </TABLE>\r
168 &nbsp;\r
169 <P>\r
170 \r
171 <!-- ============ FIELD DETAIL =========== -->\r
172 \r
173 \r
174 <!-- ========= CONSTRUCTOR DETAIL ======== -->\r
175 \r
176 <A NAME="constructor_detail"><!-- --></A>
177 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
178 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
179 <TD COLSPAN=1><FONT SIZE="+2">\r
180 <B>Constructor Detail</B></FONT></TD>\r
181 </TR>\r
182 </TABLE>\r
183 \r
184 <A NAME="PartOfSpeechImpl(java.net.URL, java.lang.String)"><!-- --></A><H3>\r
185 PartOfSpeechImpl</H3>\r
186 <PRE>\r
187 public <B>PartOfSpeechImpl</B>(java.net.URL&nbsp;url,
188                         java.lang.String&nbsp;defaultPartOfSpeech)
189                  throws java.io.IOException</PRE>\r
190 <DL>\r
191 <DD>Creates a new PartOfSpeechImpl by reading from the given URL.\r
192 <P>\r
193 <DT><B>Parameters:</B><DD><CODE>url</CODE> - the input source<DD><CODE>defaultPartOfSpeech</CODE> - the default part of speech
194 <DT><B>Throws:</B>
195 <DD><CODE>java.io.IOException</CODE> - if an error occurs</DL>\r
196 \r
197 <!-- ============ METHOD DETAIL ========== -->\r
198 \r
199 <A NAME="method_detail"><!-- --></A>
200 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
201 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
202 <TD COLSPAN=1><FONT SIZE="+2">\r
203 <B>Method Detail</B></FONT></TD>\r
204 </TR>\r
205 </TABLE>\r
206 \r
207 <A NAME="getPartOfSpeech(java.lang.String)"><!-- --></A><H3>\r
208 getPartOfSpeech</H3>\r
209 <PRE>\r
210 public java.lang.String <B>getPartOfSpeech</B>(java.lang.String&nbsp;word)</PRE>\r
211 <DL>\r
212 <DD>Returns a description of the part of speech given a word.
213  If the given word cannot be found, the part of speech will be the
214  <code>defaultPartOfSpeech</code> parameter passed to the constructor.\r
215 <P>\r
216 <DD><DL>\r
217 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/speech/freetts/PartOfSpeech.html#getPartOfSpeech(java.lang.String)">getPartOfSpeech</A></CODE> in interface <CODE><A HREF="../../../../com/sun/speech/freetts/PartOfSpeech.html" title="interface in com.sun.speech.freetts">PartOfSpeech</A></CODE></DL>\r
218 </DD>\r
219 <DD><DL>\r
220 <DT><B>Parameters:</B><DD><CODE>word</CODE> - the word to classify
221 <DT><B>Returns:</B><DD>an implementation dependent part of speech for the word</DL>\r
222 </DD>\r
223 </DL>\r
224 <!-- ========= END OF CLASS DATA ========= -->\r
225 <HR>\r
226 \r
227
228 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
229 <A NAME="navbar_bottom"><!-- --></A>
230 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
231 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
232 <TR>\r
233 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
234 <A NAME="navbar_bottom_firstrow"><!-- --></A>
235 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
236   <TR ALIGN="center" VALIGN="top">\r
237   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
238   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
239   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
240   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
241   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
242   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
243   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
244   </TR>\r
245 </TABLE>\r
246 </TD>\r
247 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
248 </EM>\r
249 </TD>\r
250 </TR>\r
251 \r
252 <TR>\r
253 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
254 &nbsp;<A HREF="../../../../com/sun/speech/freetts/OutputQueue.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>&nbsp;\r
255 &nbsp;<A HREF="../../../../com/sun/speech/freetts/PathExtractorImpl.html" title="class in com.sun.speech.freetts"><B>NEXT CLASS</B></A></FONT></TD>\r
256 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
257   <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
258 &nbsp;<A HREF="PartOfSpeechImpl.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
259 &nbsp;<SCRIPT type="text/javascript">\r
260   <!--\r
261   if(window==top) {\r
262     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
263   }\r
264   //-->\r
265 </SCRIPT>\r
266 <NOSCRIPT>\r
267   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
268 </NOSCRIPT>
269 \r
270 </FONT></TD>\r
271 </TR>\r
272 <TR>\r
273 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
274   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
275 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
276 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
277 </TR>\r
278 </TABLE>\r
279 <A NAME="skip-navbar_bottom"></A>
280 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
281 \r
282 <HR>\r
283 \r
284 </BODY>\r
285 </HTML>\r