src/eric7/Documentation/Source/eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.GoogleV1Engine.html

Sun, 14 Jan 2024 12:39:11 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 14 Jan 2024 12:39:11 +0100
branch
eric7
changeset 10500
40fc136e7002
parent 10479
856476537696
permissions
-rw-r--r--

Log Viewer
- Added code to show an indicator for the log viewer icon, if new messages were added and the "Autoshow" option is deactivated.

8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 <!DOCTYPE html>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 <html><head>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3 <title>eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.GoogleV1Engine</title>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 <meta charset="UTF-8">
8596
d64760b2da50 Documentation Generator: streamlined the code to use an external style sheet file.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8513
diff changeset
5 <link rel="stylesheet" href="styles.css">
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 </head>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7 <body>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8 <a NAME="top" ID="top"></a>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 <h1>eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.GoogleV1Engine</h1>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10 <p>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11 Module implementing the Google V1 translation engine.
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 </p>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
13
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 <h3>Global Attributes</h3>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 <table>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16 <tr><td>None</td></tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17 </table>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
18
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 <h3>Classes</h3>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 <table>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 <tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 <td><a href="#GoogleV1Engine">GoogleV1Engine</a></td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 <td>Class implementing the translation engine for the old Google translation service.</td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 </tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25 </table>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
26
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 <h3>Functions</h3>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
28 <table>
9503
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
29 <tr>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
30 <td><a href="#createEngine">createEngine</a></td>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
31 <td>Function to instantiate a translator engine object.</td>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
32 </tr>
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33 </table>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
34
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
35 <hr />
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 <hr />
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 <a NAME="GoogleV1Engine" ID="GoogleV1Engine"></a>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 <h2>GoogleV1Engine</h2>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
39 <p>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40 Class implementing the translation engine for the old Google
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41 translation service.
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42 </p>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
43
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 <h3>Derived from</h3>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45 TranslationEngine
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46 <h3>Class Attributes</h3>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
47 <table>
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
48 <tr><td>TextToSpeechLimit</td></tr>
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
49 <tr><td>TextToSpeechUrl</td></tr>
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
50 <tr><td>TranslatorUrl</td></tr>
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
51 </table>
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53 <h3>Class Methods</h3>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54 <table>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55 <tr><td>None</td></tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 </table>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
57
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 <h3>Methods</h3>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59 <table>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 <tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61 <td><a href="#GoogleV1Engine.__init__">GoogleV1Engine</a></td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62 <td>Constructor</td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
63 </tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
64 <tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65 <td><a href="#GoogleV1Engine.engineName">engineName</a></td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66 <td>Public method to return the name of the engine.</td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
67 </tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68 <tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69 <td><a href="#GoogleV1Engine.getTextToSpeechData">getTextToSpeechData</a></td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
70 <td>Public method to pronounce the given text.</td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
71 </tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72 <tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
73 <td><a href="#GoogleV1Engine.getTranslation">getTranslation</a></td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
74 <td>Public method to translate the given text.</td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
75 </tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76 <tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
77 <td><a href="#GoogleV1Engine.hasTTS">hasTTS</a></td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
78 <td>Public method indicating the Text-to-Speech capability.</td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
79 </tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
80 <tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81 <td><a href="#GoogleV1Engine.supportedLanguages">supportedLanguages</a></td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82 <td>Public method to get the supported languages.</td>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83 </tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84 </table>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
85
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
86 <h3>Static Methods</h3>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 <table>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
88 <tr><td>None</td></tr>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
89 </table>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
90
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
91
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
92 <a NAME="GoogleV1Engine.__init__" ID="GoogleV1Engine.__init__"></a>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
93 <h4>GoogleV1Engine (Constructor)</h4>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 <b>GoogleV1Engine</b>(<i>plugin, parent=None</i>)
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
95 <p>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
96 Constructor
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
97 </p>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
98
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
99 <dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
100
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
101 <dt><i>plugin</i> (TranslatorPlugin)</dt>
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
102 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
103 reference to the plugin object
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
104 </dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
105 <dt><i>parent</i> (QObject)</dt>
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
106 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
107 reference to the parent object
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
108 </dd>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
109 </dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
110 <a NAME="GoogleV1Engine.engineName" ID="GoogleV1Engine.engineName"></a>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 <h4>GoogleV1Engine.engineName</h4>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
112 <b>engineName</b>(<i></i>)
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
113 <p>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
114 Public method to return the name of the engine.
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 </p>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
116
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
117 <dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
118 <dt>Return:</dt>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
119 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
120 engine name
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
121 </dd>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
122 </dl>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
123 <dl>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
124 <dt>Return Type:</dt>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
125 <dd>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
126 str
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
127 </dd>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
128 </dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
129 <a NAME="GoogleV1Engine.getTextToSpeechData" ID="GoogleV1Engine.getTextToSpeechData"></a>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
130 <h4>GoogleV1Engine.getTextToSpeechData</h4>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
131 <b>getTextToSpeechData</b>(<i>requestObject, text, language</i>)
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
132 <p>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
133 Public method to pronounce the given text.
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
134 </p>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
135
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
136 <dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
137
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
138 <dt><i>requestObject</i> (TranslatorRequest)</dt>
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
139 <dd>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
140 reference to the request object
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
141 </dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
142 <dt><i>text</i> (str)</dt>
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
143 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
144 text to be pronounced
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
145 </dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
146 <dt><i>language</i> (str)</dt>
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
147 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
148 language code of the text
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
149 </dd>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
150 </dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
151 <dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
152 <dt>Return:</dt>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
153 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
154 tuple with pronounce data or error string and success flag
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
155 </dd>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
156 </dl>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
157 <dl>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
158 <dt>Return Type:</dt>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
159 <dd>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
160 tuple of (QByteArray or str, bool)
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
161 </dd>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
162 </dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
163 <a NAME="GoogleV1Engine.getTranslation" ID="GoogleV1Engine.getTranslation"></a>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
164 <h4>GoogleV1Engine.getTranslation</h4>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165 <b>getTranslation</b>(<i>requestObject, text, originalLanguage, translationLanguage</i>)
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
166 <p>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
167 Public method to translate the given text.
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168 </p>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
169
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
170 <dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
171
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
172 <dt><i>requestObject</i> (TranslatorRequest)</dt>
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
173 <dd>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
174 reference to the request object
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
175 </dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
176 <dt><i>text</i> (str)</dt>
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
178 text to be translated
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
179 </dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
180 <dt><i>originalLanguage</i> (str)</dt>
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
181 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
182 language code of the original
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
183 </dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
184 <dt><i>translationLanguage</i> (str)</dt>
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
185 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
186 language code of the translation
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
187 </dd>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188 </dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
189 <dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
190 <dt>Return:</dt>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
191 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
192 tuple of translated text and flag indicating success
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
193 </dd>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
194 </dl>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
195 <dl>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
196 <dt>Return Type:</dt>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
197 <dd>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
198 tuple of (str, bool)
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
199 </dd>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
200 </dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
201 <a NAME="GoogleV1Engine.hasTTS" ID="GoogleV1Engine.hasTTS"></a>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
202 <h4>GoogleV1Engine.hasTTS</h4>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
203 <b>hasTTS</b>(<i></i>)
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
204 <p>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
205 Public method indicating the Text-to-Speech capability.
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
206 </p>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
207
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
208 <dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
209 <dt>Return:</dt>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
210 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
211 flag indicating the Text-to-Speech capability
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
212 </dd>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
213 </dl>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
214 <dl>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
215 <dt>Return Type:</dt>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
216 <dd>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
217 bool
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
218 </dd>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
219 </dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
220 <a NAME="GoogleV1Engine.supportedLanguages" ID="GoogleV1Engine.supportedLanguages"></a>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
221 <h4>GoogleV1Engine.supportedLanguages</h4>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
222 <b>supportedLanguages</b>(<i></i>)
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
223 <p>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
224 Public method to get the supported languages.
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
225 </p>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
226
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
227 <dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
228 <dt>Return:</dt>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
229 <dd>
8513
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
230 list of supported language codes
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
231 </dd>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
232 </dl>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
233 <dl>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
234 <dt>Return Type:</dt>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
235 <dd>
a7464bea3d0a Updated source documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 8372
diff changeset
236 list of str
8372
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
237 </dd>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
238 </dl>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
239 <div align="right"><a href="#top">Up</a></div>
e0227a7c850e Generated source docu for eric7.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
240 <hr />
9503
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
241 <hr />
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
242 <a NAME="createEngine" ID="createEngine"></a>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
243 <h2>createEngine</h2>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
244 <b>createEngine</b>(<i>plugin, parent=None</i>)
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
245 <p>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
246 Function to instantiate a translator engine object.
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
247 </p>
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
248
9503
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
249 <dl>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
250
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
251 <dt><i>plugin</i> (TranslatorPlugin)</dt>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
252 <dd>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
253 reference to the plugin object
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
254 </dd>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
255 <dt><i>parent</i> (QObject (optional))</dt>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
256 <dd>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
257 reference to the parent object (defaults to None)
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
258 </dd>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
259 </dl>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
260 <dl>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
261 <dt>Return:</dt>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
262 <dd>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
263 reference to the instantiated translator engine object
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
264 </dd>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
265 </dl>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
266 <dl>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
267 <dt>Return Type:</dt>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
268 <dd>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
269 GoogleV1Engine
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
270 </dd>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
271 </dl>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
272 <div align="right"><a href="#top">Up</a></div>
ae9232bf4854 Regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9209
diff changeset
273 <hr />
10479
856476537696 Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9503
diff changeset
274 </body></html>

eric ide

mercurial