google-apis-speech_v1p1beta1 0.7.0 → 0.8.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: ce022934ae7dfbe5256b8aab6441bcf0a49293ceaaccd75b85c90003b1dcfcad
|
4
|
+
data.tar.gz: 4e561084fc404af9de7ea61c22dee6374e481f874e745f471c443eaec93ea71d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9198cb2ecd35020e8f9700fe58c2359276b789a5f6ced7335f5330ef60f6f9076f72c645948f8a1542211e79520c78172ffe4e10f12de97b43dfc144f79c7102
|
7
|
+
data.tar.gz: 292ecd70796f940c3ae9237a85e380e075388386cbdd35dd641be1ccb570a76c8f109550feed9a0e5924a4fcd663742faed8df3e8ddb43ad5f9ed102d07382e8
|
data/CHANGELOG.md
CHANGED
@@ -611,6 +611,26 @@ module Google
|
|
611
611
|
attr_accessor :enable_speaker_diarization
|
612
612
|
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
613
613
|
|
614
|
+
# The spoken emoji behavior for the call If not set, uses default behavior based
|
615
|
+
# on model of choice If 'true', adds spoken emoji formatting for the request.
|
616
|
+
# This will replace spoken emojis with the corresponding Unicode symbols in the
|
617
|
+
# final transcript. If 'false', spoken emojis are not replaced.
|
618
|
+
# Corresponds to the JSON property `enableSpokenEmojis`
|
619
|
+
# @return [Boolean]
|
620
|
+
attr_accessor :enable_spoken_emojis
|
621
|
+
alias_method :enable_spoken_emojis?, :enable_spoken_emojis
|
622
|
+
|
623
|
+
# The spoken punctuation behavior for the call If not set, uses default behavior
|
624
|
+
# based on model of choice e.g. command_and_search will enable spoken
|
625
|
+
# punctuation by default If 'true', replaces spoken punctuation with the
|
626
|
+
# corresponding symbols in the request. For example, "how are you question mark"
|
627
|
+
# becomes "how are you?". See https://cloud.google.com/speech-to-text/docs/
|
628
|
+
# spoken-punctuation for support. If 'false', spoken punctuation is not replaced.
|
629
|
+
# Corresponds to the JSON property `enableSpokenPunctuation`
|
630
|
+
# @return [Boolean]
|
631
|
+
attr_accessor :enable_spoken_punctuation
|
632
|
+
alias_method :enable_spoken_punctuation?, :enable_spoken_punctuation
|
633
|
+
|
614
634
|
# If `true`, the top result includes a list of words and the confidence for
|
615
635
|
# those words. If `false`, no word-level confidence information is returned. The
|
616
636
|
# default is `false`.
|
@@ -662,11 +682,11 @@ module Google
|
|
662
682
|
# Model* *Description* command_and_search Best for short queries such as voice
|
663
683
|
# commands or voice search. phone_call Best for audio that originated from a
|
664
684
|
# phone call (typically recorded at an 8khz sampling rate). video Best for audio
|
665
|
-
# that originated from
|
666
|
-
#
|
667
|
-
#
|
668
|
-
#
|
669
|
-
#
|
685
|
+
# that originated from video or includes multiple speakers. Ideally the audio is
|
686
|
+
# recorded at a 16khz or greater sampling rate. This is a premium model that
|
687
|
+
# costs more than the standard rate. default Best for audio that is not one of
|
688
|
+
# the specific audio models. For example, long-form audio. Ideally the audio is
|
689
|
+
# high-fidelity, recorded at a 16khz or greater sampling rate.
|
670
690
|
# Corresponds to the JSON property `model`
|
671
691
|
# @return [String]
|
672
692
|
attr_accessor :model
|
@@ -720,6 +740,8 @@ module Google
|
|
720
740
|
@enable_automatic_punctuation = args[:enable_automatic_punctuation] if args.key?(:enable_automatic_punctuation)
|
721
741
|
@enable_separate_recognition_per_channel = args[:enable_separate_recognition_per_channel] if args.key?(:enable_separate_recognition_per_channel)
|
722
742
|
@enable_speaker_diarization = args[:enable_speaker_diarization] if args.key?(:enable_speaker_diarization)
|
743
|
+
@enable_spoken_emojis = args[:enable_spoken_emojis] if args.key?(:enable_spoken_emojis)
|
744
|
+
@enable_spoken_punctuation = args[:enable_spoken_punctuation] if args.key?(:enable_spoken_punctuation)
|
723
745
|
@enable_word_confidence = args[:enable_word_confidence] if args.key?(:enable_word_confidence)
|
724
746
|
@enable_word_time_offsets = args[:enable_word_time_offsets] if args.key?(:enable_word_time_offsets)
|
725
747
|
@encoding = args[:encoding] if args.key?(:encoding)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SpeechV1p1beta1
|
18
18
|
# Version of the google-apis-speech_v1p1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210407"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -339,6 +339,8 @@ module Google
|
|
339
339
|
property :enable_automatic_punctuation, as: 'enableAutomaticPunctuation'
|
340
340
|
property :enable_separate_recognition_per_channel, as: 'enableSeparateRecognitionPerChannel'
|
341
341
|
property :enable_speaker_diarization, as: 'enableSpeakerDiarization'
|
342
|
+
property :enable_spoken_emojis, as: 'enableSpokenEmojis'
|
343
|
+
property :enable_spoken_punctuation, as: 'enableSpokenPunctuation'
|
342
344
|
property :enable_word_confidence, as: 'enableWordConfidence'
|
343
345
|
property :enable_word_time_offsets, as: 'enableWordTimeOffsets'
|
344
346
|
property :encoding, as: 'encoding'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-speech_v1p1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.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: 2021-
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1p1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.8.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1p1beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Speech-to-Text API V1p1beta1
|