azure_stt 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +1 -1
  3. data/CHANGELOG.md +10 -1
  4. data/Gemfile +1 -0
  5. data/README.md +2 -2
  6. data/azure_stt.gemspec +2 -2
  7. data/docs/AzureSTT/Client.html +148 -39
  8. data/docs/AzureSTT/Configuration.html +4 -4
  9. data/docs/AzureSTT/Error.html +4 -170
  10. data/docs/AzureSTT/Models/Base.html +4 -4
  11. data/docs/AzureSTT/Models/CombinedRecognizedPhrases.html +4 -4
  12. data/docs/AzureSTT/Models/File.html +5 -5
  13. data/docs/AzureSTT/Models/RecognizedPhrase.html +4 -4
  14. data/docs/AzureSTT/Models/Report.html +4 -4
  15. data/docs/AzureSTT/Models/Result.html +4 -4
  16. data/docs/AzureSTT/Models/Sentence.html +4 -4
  17. data/docs/AzureSTT/Models/Transcription.html +5 -5
  18. data/docs/AzureSTT/Models/Word.html +4 -4
  19. data/docs/AzureSTT/Models.html +4 -4
  20. data/docs/AzureSTT/NetError.html +161 -11
  21. data/docs/AzureSTT/Parsers/Base.html +4 -4
  22. data/docs/AzureSTT/Parsers/CombinedRecognizedPhrases.html +4 -4
  23. data/docs/AzureSTT/Parsers/File.html +4 -4
  24. data/docs/AzureSTT/Parsers/RecognizedPhrase.html +4 -4
  25. data/docs/AzureSTT/Parsers/Report.html +4 -4
  26. data/docs/AzureSTT/Parsers/Result.html +4 -4
  27. data/docs/AzureSTT/Parsers/Sentence.html +4 -4
  28. data/docs/AzureSTT/Parsers/Transcription.html +4 -4
  29. data/docs/AzureSTT/Parsers/Word.html +4 -4
  30. data/docs/AzureSTT/Parsers.html +4 -4
  31. data/docs/AzureSTT/ServiceError.html +161 -11
  32. data/docs/AzureSTT/Session.html +132 -24
  33. data/docs/AzureSTT/Types.html +4 -4
  34. data/docs/AzureSTT.html +4 -4
  35. data/docs/AzureStt_.html +5 -5
  36. data/docs/_index.html +5 -5
  37. data/docs/file.README.html +133 -95
  38. data/docs/frames.html +1 -1
  39. data/docs/index.html +133 -95
  40. data/docs/method_list.html +66 -34
  41. data/docs/top-level-namespace.html +4 -4
  42. data/lib/azure_stt/client.rb +9 -8
  43. data/lib/azure_stt/errors.rb +16 -9
  44. data/lib/azure_stt/models/file.rb +1 -1
  45. data/lib/azure_stt/models/transcription.rb +1 -1
  46. data/lib/azure_stt/session.rb +4 -4
  47. data/lib/azure_stt/version.rb +1 -1
  48. metadata +4 -7
  49. data/docs/AzureBatchTranscription/Configuration.html +0 -212
  50. data/docs/AzureBatchTranscription.html +0 -301
  51. data/docs/AzureSTT/Transcription.html +0 -635
@@ -1,212 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: AzureBatchTranscription::Configuration
8
-
9
- &mdash; Documentation by YARD 0.9.26
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "AzureBatchTranscription::Configuration";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../_index.html">Index (C)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../AzureBatchTranscription.html" title="AzureBatchTranscription (module)">AzureBatchTranscription</a></span></span>
41
- &raquo;
42
- <span class="title">Configuration</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Class: AzureBatchTranscription::Configuration
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">Object</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">AzureBatchTranscription::Configuration</li>
78
-
79
- </ul>
80
- <a href="#" class="inheritanceTree">show all</a>
81
-
82
- </dd>
83
- </dl>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
- <dl>
96
- <dt>Defined in:</dt>
97
- <dd>lib/azure_batch_transcription/configuration.rb</dd>
98
- </dl>
99
-
100
- </div>
101
-
102
- <h2>Overview</h2><div class="docstring">
103
- <div class="discussion">
104
-
105
- <p>Configurator pattern to be able to change the subscription key. By default the key is in a .env file</p>
106
-
107
-
108
- </div>
109
- </div>
110
- <div class="tags">
111
-
112
-
113
- </div>
114
-
115
-
116
-
117
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
118
- <ul class="summary">
119
-
120
- <li class="public ">
121
- <span class="summary_signature">
122
-
123
- <a href="#subscription_key-instance_method" title="#subscription_key (instance method)">#<strong>subscription_key</strong> &#x21d2; Object </a>
124
-
125
-
126
-
127
- </span>
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
- <span class="summary_desc"><div class='inline'>
141
- <p>Returns the value of attribute subscription_key.</p>
142
- </div></span>
143
-
144
- </li>
145
-
146
-
147
- </ul>
148
-
149
-
150
-
151
-
152
-
153
- <div id="instance_attr_details" class="attr_details">
154
- <h2>Instance Attribute Details</h2>
155
-
156
-
157
- <span id="subscription_key=-instance_method"></span>
158
- <div class="method_details first">
159
- <h3 class="signature first" id="subscription_key-instance_method">
160
-
161
- #<strong>subscription_key</strong> &#x21d2; <tt>Object</tt>
162
-
163
-
164
-
165
-
166
-
167
- </h3><div class="docstring">
168
- <div class="discussion">
169
-
170
- <p>Returns the value of attribute subscription_key.</p>
171
-
172
-
173
- </div>
174
- </div>
175
- <div class="tags">
176
-
177
-
178
- </div><table class="source_code">
179
- <tr>
180
- <td>
181
- <pre class="lines">
182
-
183
-
184
- 9
185
- 10
186
- 11</pre>
187
- </td>
188
- <td>
189
- <pre class="code"><span class="info file"># File 'lib/azure_batch_transcription/configuration.rb', line 9</span>
190
-
191
- <span class='kw'>def</span> <span class='id identifier rubyid_subscription_key'>subscription_key</span>
192
- <span class='ivar'>@subscription_key</span>
193
- <span class='kw'>end</span></pre>
194
- </td>
195
- </tr>
196
- </table>
197
- </div>
198
-
199
- </div>
200
-
201
-
202
- </div>
203
-
204
- <div id="footer">
205
- Generated on Fri Jun 18 13:42:58 2021 by
206
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
207
- 0.9.26 (ruby-2.6.6).
208
- </div>
209
-
210
- </div>
211
- </body>
212
- </html>
@@ -1,301 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Module: AzureBatchTranscription
8
-
9
- &mdash; Documentation by YARD 0.9.26
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "AzureBatchTranscription";
19
- relpath = '';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="_index.html">Index (A)</a> &raquo;
40
-
41
-
42
- <span class="title">AzureBatchTranscription</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Module: AzureBatchTranscription
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
- <dl>
80
- <dt>Defined in:</dt>
81
- <dd>lib/azure_batch_transcription.rb<span class="defines">,<br />
82
- lib/azure_batch_transcription/configuration.rb</span>
83
- </dd>
84
- </dl>
85
-
86
- </div>
87
-
88
- <h2>Overview</h2><div class="docstring">
89
- <div class="discussion">
90
-
91
- <p>Top level module for Azure Batch Transcription</p>
92
-
93
-
94
- </div>
95
- </div>
96
- <div class="tags">
97
-
98
-
99
- </div><h2>Defined Under Namespace</h2>
100
- <p class="children">
101
-
102
-
103
-
104
-
105
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="AzureBatchTranscription/Configuration.html" title="AzureBatchTranscription::Configuration (class)">Configuration</a></span>
106
-
107
-
108
- </p>
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
- <h2>
118
- Class Method Summary
119
- <small><a href="#" class="summary_toggle">collapse</a></small>
120
- </h2>
121
-
122
- <ul class="summary">
123
-
124
- <li class="public ">
125
- <span class="summary_signature">
126
-
127
- <a href="#configuration-class_method" title="configuration (class method)">.<strong>configuration</strong> &#x21d2; Configuration </a>
128
-
129
-
130
-
131
- </span>
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
- <span class="summary_desc"><div class='inline'>
142
- <p>Get the configuration for Azure Batch Transcription.</p>
143
- </div></span>
144
-
145
- </li>
146
-
147
-
148
- <li class="public ">
149
- <span class="summary_signature">
150
-
151
- <a href="#configure-class_method" title="configure (class method)">.<strong>configure</strong> {|configuration| ... } &#x21d2; Object </a>
152
-
153
-
154
-
155
- </span>
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
164
-
165
- <span class="summary_desc"><div class='inline'>
166
- <p>Modify the configuration.</p>
167
- </div></span>
168
-
169
- </li>
170
-
171
-
172
- </ul>
173
-
174
-
175
-
176
-
177
- <div id="class_method_details" class="method_details_list">
178
- <h2>Class Method Details</h2>
179
-
180
-
181
- <div class="method_details first">
182
- <h3 class="signature first" id="configuration-class_method">
183
-
184
- .<strong>configuration</strong> &#x21d2; <tt><span class='object_link'><a href="AzureBatchTranscription/Configuration.html" title="AzureBatchTranscription::Configuration (class)">Configuration</a></span></tt>
185
-
186
-
187
-
188
-
189
-
190
- </h3><div class="docstring">
191
- <div class="discussion">
192
-
193
- <p>Get the configuration for Azure Batch Transcription</p>
194
-
195
-
196
- </div>
197
- </div>
198
- <div class="tags">
199
-
200
- <p class="tag_title">Returns:</p>
201
- <ul class="return">
202
-
203
- <li>
204
-
205
-
206
- <span class='type'>(<tt><span class='object_link'><a href="AzureBatchTranscription/Configuration.html" title="AzureBatchTranscription::Configuration (class)">Configuration</a></span></tt>)</span>
207
-
208
-
209
-
210
- </li>
211
-
212
- </ul>
213
-
214
- </div><table class="source_code">
215
- <tr>
216
- <td>
217
- <pre class="lines">
218
-
219
-
220
- 17
221
- 18
222
- 19</pre>
223
- </td>
224
- <td>
225
- <pre class="code"><span class="info file"># File 'lib/azure_batch_transcription/configuration.rb', line 17</span>
226
-
227
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_configuration'>configuration</span>
228
- <span class='ivar'>@configuration</span> <span class='op'>||=</span> <span class='const'><span class='object_link'><a href="AzureBatchTranscription/Configuration.html" title="AzureBatchTranscription::Configuration (class)">Configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
229
- <span class='kw'>end</span></pre>
230
- </td>
231
- </tr>
232
- </table>
233
- </div>
234
-
235
- <div class="method_details ">
236
- <h3 class="signature " id="configure-class_method">
237
-
238
- .<strong>configure</strong> {|configuration| ... } &#x21d2; <tt>Object</tt>
239
-
240
-
241
-
242
-
243
-
244
- </h3><div class="docstring">
245
- <div class="discussion">
246
-
247
- <p>Modify the configuration</p>
248
-
249
-
250
- </div>
251
- </div>
252
- <div class="tags">
253
-
254
- <p class="tag_title">Yields:</p>
255
- <ul class="yield">
256
-
257
- <li>
258
-
259
-
260
- <span class='type'>(<tt><span class='object_link'><a href="#configuration-class_method" title="AzureBatchTranscription.configuration (method)">configuration</a></span></tt>)</span>
261
-
262
-
263
-
264
- </li>
265
-
266
- </ul>
267
-
268
- </div><table class="source_code">
269
- <tr>
270
- <td>
271
- <pre class="lines">
272
-
273
-
274
- 24
275
- 25
276
- 26</pre>
277
- </td>
278
- <td>
279
- <pre class="code"><span class="info file"># File 'lib/azure_batch_transcription/configuration.rb', line 24</span>
280
-
281
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_configure'>configure</span>
282
- <span class='kw'>yield</span> <span class='id identifier rubyid_configuration'>configuration</span>
283
- <span class='kw'>end</span></pre>
284
- </td>
285
- </tr>
286
- </table>
287
- </div>
288
-
289
- </div>
290
-
291
- </div>
292
-
293
- <div id="footer">
294
- Generated on Fri Jun 18 13:42:58 2021 by
295
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
296
- 0.9.26 (ruby-2.6.6).
297
- </div>
298
-
299
- </div>
300
- </body>
301
- </html>