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

changeset 7989
a21d673a8f99
parent 7273
391d6b7b1eff
equal deleted inserted replaced
7988:c4c17121eff8 7989:a21d673a8f99
137 137
138 <p> 138 <p>
139 Public method to get the name of the engine. 139 Public method to get the name of the engine.
140 </p> 140 </p>
141 <dl> 141 <dl>
142 <dt>Returns:</dt> 142 <dt>Return:</dt>
143 <dd> 143 <dd>
144 engine name (string) 144 engine name (string)
145 </dd> 145 </dd>
146 </dl> 146 </dl>
147 <a NAME="TranslationEngine.getTextToSpeechData" ID="TranslationEngine.getTextToSpeechData"></a> 147 <a NAME="TranslationEngine.getTextToSpeechData" ID="TranslationEngine.getTextToSpeechData"></a>
166 <dd> 166 <dd>
167 language code of the text (string) 167 language code of the text (string)
168 </dd> 168 </dd>
169 </dl> 169 </dl>
170 <dl> 170 <dl>
171 <dt>Returns:</dt> 171 <dt>Return:</dt>
172 <dd> 172 <dd>
173 tuple with pronounce data (QByteArray) or error string (string) 173 tuple with pronounce data (QByteArray) or error string (string)
174 and success flag (boolean) 174 and success flag (boolean)
175 </dd> 175 </dd>
176 </dl> 176 </dl>
200 <dd> 200 <dd>
201 language code of the translation (string) 201 language code of the translation (string)
202 </dd> 202 </dd>
203 </dl> 203 </dl>
204 <dl> 204 <dl>
205 <dt>Returns:</dt> 205 <dt>Return:</dt>
206 <dd> 206 <dd>
207 tuple of translated text (string) and flag indicating 207 tuple of translated text (string) and flag indicating
208 success (boolean) 208 success (boolean)
209 </dd> 209 </dd>
210 </dl> 210 </dl>
214 214
215 <p> 215 <p>
216 Public method indicating the Text-to-Speech capability. 216 Public method indicating the Text-to-Speech capability.
217 </p> 217 </p>
218 <dl> 218 <dl>
219 <dt>Returns:</dt> 219 <dt>Return:</dt>
220 <dd> 220 <dd>
221 flag indicating the Text-to-Speech capability (boolean) 221 flag indicating the Text-to-Speech capability (boolean)
222 </dd> 222 </dd>
223 </dl> 223 </dl>
224 <a NAME="TranslationEngine.supportedLanguages" ID="TranslationEngine.supportedLanguages"></a> 224 <a NAME="TranslationEngine.supportedLanguages" ID="TranslationEngine.supportedLanguages"></a>
227 227
228 <p> 228 <p>
229 Public method to get the supported languages. 229 Public method to get the supported languages.
230 </p> 230 </p>
231 <dl> 231 <dl>
232 <dt>Returns:</dt> 232 <dt>Return:</dt>
233 <dd> 233 <dd>
234 list of supported language codes (list of string) 234 list of supported language codes (list of string)
235 </dd> 235 </dd>
236 </dl> 236 </dl>
237 <a NAME="TranslationEngine.supportedTargetLanguages" ID="TranslationEngine.supportedTargetLanguages"></a> 237 <a NAME="TranslationEngine.supportedTargetLanguages" ID="TranslationEngine.supportedTargetLanguages"></a>
253 <dd> 253 <dd>
254 original language 254 original language
255 </dd> 255 </dd>
256 </dl> 256 </dl>
257 <dl> 257 <dl>
258 <dt>Returns:</dt> 258 <dt>Return:</dt>
259 <dd> 259 <dd>
260 list of supported target languages for the given original 260 list of supported target languages for the given original
261 </dd> 261 </dd>
262 </dl> 262 </dl>
263 <dl> 263 <dl>

eric ide

mercurial