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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
--- a/eric6/Documentation/Source/eric6.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.GoogleV1Engine.html	Wed Sep 25 19:40:31 2019 +0200
+++ b/eric6/Documentation/Source/eric6.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.GoogleV1Engine.html	Wed Sep 25 19:42:44 2019 +0200
@@ -18,29 +18,37 @@
 
 </style>
 </head>
-<body><a NAME="top" ID="top"></a>
+<body>
+<a NAME="top" ID="top"></a>
 <h1>eric6.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.GoogleV1Engine</h1>
+
 <p>
 Module implementing the Google V1 translation engine.
 </p>
 <h3>Global Attributes</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
 <h3>Classes</h3>
+
 <table>
+
 <tr>
 <td><a href="#GoogleV1Engine">GoogleV1Engine</a></td>
 <td>Class implementing the translation engine for the old Google translation service.</td>
 </tr>
 </table>
 <h3>Functions</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
-<hr /><hr />
+<hr />
+<hr />
 <a NAME="GoogleV1Engine" ID="GoogleV1Engine"></a>
 <h2>GoogleV1Engine</h2>
+
 <p>
     Class implementing the translation engine for the old Google
     translation service.
@@ -48,127 +56,166 @@
 <h3>Derived from</h3>
 TranslationEngine
 <h3>Class Attributes</h3>
+
 <table>
 <tr><td>TextToSpeechLimit</td></tr><tr><td>TextToSpeechUrl</td></tr><tr><td>TranslatorUrl</td></tr>
 </table>
 <h3>Class Methods</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
 <h3>Methods</h3>
+
 <table>
+
 <tr>
 <td><a href="#GoogleV1Engine.__init__">GoogleV1Engine</a></td>
 <td>Constructor</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#GoogleV1Engine.engineName">engineName</a></td>
 <td>Public method to return the name of the engine.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#GoogleV1Engine.getTextToSpeechData">getTextToSpeechData</a></td>
 <td>Public method to pronounce the given text.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#GoogleV1Engine.getTranslation">getTranslation</a></td>
 <td>Public method to translate the given text.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#GoogleV1Engine.hasTTS">hasTTS</a></td>
 <td>Public method indicating the Text-to-Speech capability.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#GoogleV1Engine.supportedLanguages">supportedLanguages</a></td>
 <td>Public method to get the supported languages.</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <a NAME="GoogleV1Engine.__init__" ID="GoogleV1Engine.__init__"></a>
 <h4>GoogleV1Engine (Constructor)</h4>
 <b>GoogleV1Engine</b>(<i>plugin, parent=None</i>)
+
 <p>
         Constructor
-</p><dl>
+</p>
+<dl>
+
 <dt><i>plugin</i></dt>
 <dd>
 reference to the plugin object (TranslatorPlugin)
-</dd><dt><i>parent</i></dt>
+</dd>
+<dt><i>parent</i></dt>
 <dd>
 reference to the parent object (QObject)
 </dd>
-</dl><a NAME="GoogleV1Engine.engineName" ID="GoogleV1Engine.engineName"></a>
+</dl>
+<a NAME="GoogleV1Engine.engineName" ID="GoogleV1Engine.engineName"></a>
 <h4>GoogleV1Engine.engineName</h4>
 <b>engineName</b>(<i></i>)
+
 <p>
         Public method to return the name of the engine.
-</p><dl>
+</p>
+<dl>
 <dt>Returns:</dt>
 <dd>
 engine name (string)
 </dd>
-</dl><a NAME="GoogleV1Engine.getTextToSpeechData" ID="GoogleV1Engine.getTextToSpeechData"></a>
+</dl>
+<a NAME="GoogleV1Engine.getTextToSpeechData" ID="GoogleV1Engine.getTextToSpeechData"></a>
 <h4>GoogleV1Engine.getTextToSpeechData</h4>
 <b>getTextToSpeechData</b>(<i>requestObject, text, language</i>)
+
 <p>
         Public method to pronounce the given text.
-</p><dl>
+</p>
+<dl>
+
 <dt><i>requestObject</i></dt>
 <dd>
 reference to the request object
             (TranslatorRequest)
-</dd><dt><i>text</i></dt>
+</dd>
+<dt><i>text</i></dt>
 <dd>
 text to be pronounced (string)
-</dd><dt><i>language</i></dt>
+</dd>
+<dt><i>language</i></dt>
 <dd>
 language code of the text (string)
 </dd>
-</dl><dl>
+</dl>
+<dl>
 <dt>Returns:</dt>
 <dd>
 tuple with pronounce data (QByteArray) or error string (string)
             and success flag (boolean)
 </dd>
-</dl><a NAME="GoogleV1Engine.getTranslation" ID="GoogleV1Engine.getTranslation"></a>
+</dl>
+<a NAME="GoogleV1Engine.getTranslation" ID="GoogleV1Engine.getTranslation"></a>
 <h4>GoogleV1Engine.getTranslation</h4>
 <b>getTranslation</b>(<i>requestObject, text, originalLanguage, translationLanguage</i>)
+
 <p>
         Public method to translate the given text.
-</p><dl>
+</p>
+<dl>
+
 <dt><i>requestObject</i></dt>
 <dd>
 reference to the request object
             (TranslatorRequest)
-</dd><dt><i>text</i></dt>
+</dd>
+<dt><i>text</i></dt>
 <dd>
 text to be translated (string)
-</dd><dt><i>originalLanguage</i></dt>
+</dd>
+<dt><i>originalLanguage</i></dt>
 <dd>
 language code of the original (string)
-</dd><dt><i>translationLanguage</i></dt>
+</dd>
+<dt><i>translationLanguage</i></dt>
 <dd>
 language code of the translation (string)
 </dd>
-</dl><dl>
+</dl>
+<dl>
 <dt>Returns:</dt>
 <dd>
 tuple of translated text (string) and flag indicating
             success (boolean)
 </dd>
-</dl><a NAME="GoogleV1Engine.hasTTS" ID="GoogleV1Engine.hasTTS"></a>
+</dl>
+<a NAME="GoogleV1Engine.hasTTS" ID="GoogleV1Engine.hasTTS"></a>
 <h4>GoogleV1Engine.hasTTS</h4>
 <b>hasTTS</b>(<i></i>)
+
 <p>
         Public method indicating the Text-to-Speech capability.
-</p><dl>
+</p>
+<dl>
 <dt>Returns:</dt>
 <dd>
 flag indicating the Text-to-Speech capability (boolean)
 </dd>
-</dl><a NAME="GoogleV1Engine.supportedLanguages" ID="GoogleV1Engine.supportedLanguages"></a>
+</dl>
+<a NAME="GoogleV1Engine.supportedLanguages" ID="GoogleV1Engine.supportedLanguages"></a>
 <h4>GoogleV1Engine.supportedLanguages</h4>
 <b>supportedLanguages</b>(<i></i>)
+
 <p>
         Public method to get the supported languages.
-</p><dl>
+</p>
+<dl>
 <dt>Returns:</dt>
 <dd>
 list of supported language codes (list of string)

eric ide

mercurial