google-cloud-speech-v1p1beta1 0.9.2 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/speech/v1p1beta1/adaptation/client.rb +273 -78
- data/lib/google/cloud/speech/v1p1beta1/cloud_speech_adaptation_pb.rb +2 -2
- data/lib/google/cloud/speech/v1p1beta1/cloud_speech_adaptation_services_pb.rb +1 -1
- data/lib/google/cloud/speech/v1p1beta1/cloud_speech_pb.rb +6 -2
- data/lib/google/cloud/speech/v1p1beta1/cloud_speech_services_pb.rb +1 -1
- data/lib/google/cloud/speech/v1p1beta1/resource_pb.rb +13 -2
- data/lib/google/cloud/speech/v1p1beta1/speech/client.rb +99 -39
- data/lib/google/cloud/speech/v1p1beta1/speech/operations.rb +145 -33
- data/lib/google/cloud/speech/v1p1beta1/version.rb +1 -1
- data/proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb +16 -0
- data/proto_docs/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.rb +2 -2
- data/proto_docs/google/cloud/speech/v1p1beta1/resource.rb +30 -0
- metadata +4 -4
@@ -130,6 +130,36 @@ module Google
|
|
130
130
|
include ::Google::Protobuf::MessageExts
|
131
131
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
132
132
|
end
|
133
|
+
|
134
|
+
# Transcription normalization configuration. Use transcription normalization
|
135
|
+
# to automatically replace parts of the transcript with phrases of your
|
136
|
+
# choosing. For StreamingRecognize, this normalization only applies to stable
|
137
|
+
# partial transcripts (stability > 0.8) and final transcripts.
|
138
|
+
# @!attribute [rw] entries
|
139
|
+
# @return [::Array<::Google::Cloud::Speech::V1p1beta1::TranscriptNormalization::Entry>]
|
140
|
+
# A list of replacement entries. We will perform replacement with one entry
|
141
|
+
# at a time. For example, the second entry in ["cat" => "dog", "mountain cat"
|
142
|
+
# => "mountain dog"] will never be applied because we will always process the
|
143
|
+
# first entry before it. At most 100 entries.
|
144
|
+
class TranscriptNormalization
|
145
|
+
include ::Google::Protobuf::MessageExts
|
146
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
147
|
+
|
148
|
+
# A single replacement configuration.
|
149
|
+
# @!attribute [rw] search
|
150
|
+
# @return [::String]
|
151
|
+
# What to replace. Max length is 100 characters.
|
152
|
+
# @!attribute [rw] replace
|
153
|
+
# @return [::String]
|
154
|
+
# What to replace with. Max length is 100 characters.
|
155
|
+
# @!attribute [rw] case_sensitive
|
156
|
+
# @return [::Boolean]
|
157
|
+
# Whether the search is case sensitive.
|
158
|
+
class Entry
|
159
|
+
include ::Google::Protobuf::MessageExts
|
160
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
161
|
+
end
|
162
|
+
end
|
133
163
|
end
|
134
164
|
end
|
135
165
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-speech-v1p1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|