google-cloud-speech 0.33.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79f82529dad15e664f7a0b9a6f9768be4eb8d3544e7db4025f1bfc1baeab1ee0
|
|
4
|
+
data.tar.gz: 47efddeda7de32c2ec89e98e1490ca3611d2db474bf8f04625bd305cf83f8189
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40573fa205b8d2a0b7e703026c16f970a7099241f36632dd85de7e0201b62bf1d986395d77b7931f3c972ffeece223b6f6399b3df55f26b292cab2b00b981147
|
|
7
|
+
data.tar.gz: ad99ff39f7c53b3d6b83838dd2be264057a881c145de1dbc749924a366feb9bd2e6ae0e1f2ac1d487fa083e9fa8eb45484dd5947a8630fa66159127a08f6a6ef
|
|
@@ -34,6 +34,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
34
34
|
add_message "google.cloud.speech.v1.RecognitionConfig" do
|
|
35
35
|
optional :encoding, :enum, 1, "google.cloud.speech.v1.RecognitionConfig.AudioEncoding"
|
|
36
36
|
optional :sample_rate_hertz, :int32, 2
|
|
37
|
+
optional :audio_channel_count, :int32, 7
|
|
37
38
|
optional :enable_separate_recognition_per_channel, :bool, 12
|
|
38
39
|
optional :language_code, :string, 3
|
|
39
40
|
optional :max_alternatives, :int32, 4
|
|
@@ -103,6 +103,17 @@ module Google
|
|
|
103
103
|
# the audio source (instead of re-sampling).
|
|
104
104
|
# This field is optional for `FLAC` and `WAV` audio files and required
|
|
105
105
|
# for all other audio formats. For details, see {Google::Cloud::Speech::V1::RecognitionConfig::AudioEncoding AudioEncoding}.
|
|
106
|
+
# @!attribute [rw] audio_channel_count
|
|
107
|
+
# @return [Integer]
|
|
108
|
+
# *Optional* The number of channels in the input audio data.
|
|
109
|
+
# ONLY set this for MULTI-CHANNEL recognition.
|
|
110
|
+
# Valid values for LINEAR16 and FLAC are `1`-`8`.
|
|
111
|
+
# Valid values for OGG_OPUS are '1'-'254'.
|
|
112
|
+
# Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`.
|
|
113
|
+
# If `0` or omitted, defaults to one channel (mono).
|
|
114
|
+
# Note: We only recognize the first channel by default.
|
|
115
|
+
# To perform independent recognition on each channel set
|
|
116
|
+
# `enable_separate_recognition_per_channel` to 'true'.
|
|
106
117
|
# @!attribute [rw] enable_separate_recognition_per_channel
|
|
107
118
|
# @return [true, false]
|
|
108
119
|
# This needs to be set to `true` explicitly and `audio_channel_count` > 1
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-speech
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.34.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|