eric6/Documentation/Source/eric6.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.MicrosoftEngine.html

changeset 7989
a21d673a8f99
parent 7273
391d6b7b1eff
equal deleted inserted replaced
7988:c4c17121eff8 7989:a21d673a8f99
147 reference to the request object 147 reference to the request object
148 (TranslatorRequest) 148 (TranslatorRequest)
149 </dd> 149 </dd>
150 </dl> 150 </dl>
151 <dl> 151 <dl>
152 <dt>Returns:</dt> 152 <dt>Return:</dt>
153 <dd> 153 <dd>
154 access token (string) 154 access token (string)
155 </dd> 155 </dd>
156 </dl> 156 </dl>
157 <a NAME="MicrosoftEngine.__getClientDataAzure" ID="MicrosoftEngine.__getClientDataAzure"></a> 157 <a NAME="MicrosoftEngine.__getClientDataAzure" ID="MicrosoftEngine.__getClientDataAzure"></a>
160 160
161 <p> 161 <p>
162 Private method to retrieve the client data. 162 Private method to retrieve the client data.
163 </p> 163 </p>
164 <dl> 164 <dl>
165 <dt>Returns:</dt> 165 <dt>Return:</dt>
166 <dd> 166 <dd>
167 tuple giving the API subscription key and a flag indicating 167 tuple giving the API subscription key and a flag indicating
168 validity 168 validity
169 </dd> 169 </dd>
170 </dl> 170 </dl>
187 <dd> 187 <dd>
188 language code (string) 188 language code (string)
189 </dd> 189 </dd>
190 </dl> 190 </dl>
191 <dl> 191 <dl>
192 <dt>Returns:</dt> 192 <dt>Return:</dt>
193 <dd> 193 <dd>
194 mapped language code (string) 194 mapped language code (string)
195 </dd> 195 </dd>
196 </dl> 196 </dl>
197 <a NAME="MicrosoftEngine.engineName" ID="MicrosoftEngine.engineName"></a> 197 <a NAME="MicrosoftEngine.engineName" ID="MicrosoftEngine.engineName"></a>
200 200
201 <p> 201 <p>
202 Public method to return the name of the engine. 202 Public method to return the name of the engine.
203 </p> 203 </p>
204 <dl> 204 <dl>
205 <dt>Returns:</dt> 205 <dt>Return:</dt>
206 <dd> 206 <dd>
207 engine name (string) 207 engine name (string)
208 </dd> 208 </dd>
209 </dl> 209 </dl>
210 <a NAME="MicrosoftEngine.getTextToSpeechData" ID="MicrosoftEngine.getTextToSpeechData"></a> 210 <a NAME="MicrosoftEngine.getTextToSpeechData" ID="MicrosoftEngine.getTextToSpeechData"></a>
229 <dd> 229 <dd>
230 language code of the text (string) 230 language code of the text (string)
231 </dd> 231 </dd>
232 </dl> 232 </dl>
233 <dl> 233 <dl>
234 <dt>Returns:</dt> 234 <dt>Return:</dt>
235 <dd> 235 <dd>
236 tuple with pronounce data (QByteArray) or error string (string) 236 tuple with pronounce data (QByteArray) or error string (string)
237 and success flag (boolean) 237 and success flag (boolean)
238 </dd> 238 </dd>
239 </dl> 239 </dl>
263 <dd> 263 <dd>
264 language code of the translation (string) 264 language code of the translation (string)
265 </dd> 265 </dd>
266 </dl> 266 </dl>
267 <dl> 267 <dl>
268 <dt>Returns:</dt> 268 <dt>Return:</dt>
269 <dd> 269 <dd>
270 tuple of translated text (string) and flag indicating 270 tuple of translated text (string) and flag indicating
271 success (boolean) 271 success (boolean)
272 </dd> 272 </dd>
273 </dl> 273 </dl>
277 277
278 <p> 278 <p>
279 Public method indicating the Text-to-Speech capability. 279 Public method indicating the Text-to-Speech capability.
280 </p> 280 </p>
281 <dl> 281 <dl>
282 <dt>Returns:</dt> 282 <dt>Return:</dt>
283 <dd> 283 <dd>
284 flag indicating the Text-to-Speech capability (boolean) 284 flag indicating the Text-to-Speech capability (boolean)
285 </dd> 285 </dd>
286 </dl> 286 </dl>
287 <a NAME="MicrosoftEngine.supportedLanguages" ID="MicrosoftEngine.supportedLanguages"></a> 287 <a NAME="MicrosoftEngine.supportedLanguages" ID="MicrosoftEngine.supportedLanguages"></a>
290 290
291 <p> 291 <p>
292 Public method to get the supported languages. 292 Public method to get the supported languages.
293 </p> 293 </p>
294 <dl> 294 <dl>
295 <dt>Returns:</dt> 295 <dt>Return:</dt>
296 <dd> 296 <dd>
297 list of supported language codes (list of string) 297 list of supported language codes (list of string)
298 </dd> 298 </dd>
299 </dl> 299 </dl>
300 <div align="right"><a href="#top">Up</a></div> 300 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial