vendor: update all dependencies
* Update all dependencies * Remove all `[[constraint]]` from Gopkg.toml * Add in the minimum number of `[[override]]` to build * Remove go get of github.com/inconshreveable/mousetrap as it is vendored * Update docs with new policy on constraints
This commit is contained in:
+14
-9
@@ -185,7 +185,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180312",
|
||||
"revision": "20180420",
|
||||
"rootUrl": "https://speech.googleapis.com/",
|
||||
"schemas": {
|
||||
"LongRunningRecognizeRequest": {
|
||||
@@ -334,7 +334,7 @@
|
||||
"id": "RecognizeResponse",
|
||||
"properties": {
|
||||
"results": {
|
||||
"description": "*Output-only* Sequential list of transcription results corresponding to\nsequential portions of audio.",
|
||||
"description": "Output only. Sequential list of transcription results corresponding to\nsequential portions of audio.",
|
||||
"items": {
|
||||
"$ref": "SpeechRecognitionResult"
|
||||
},
|
||||
@@ -362,16 +362,16 @@
|
||||
"id": "SpeechRecognitionAlternative",
|
||||
"properties": {
|
||||
"confidence": {
|
||||
"description": "*Output-only* The confidence estimate between 0.0 and 1.0. A higher number\nindicates an estimated greater likelihood that the recognized words are\ncorrect. This field is set only for the top alternative of a non-streaming\nresult or, of a streaming result where `is_final=true`.\nThis field is not guaranteed to be accurate and users should not rely on it\nto be always provided.\nThe default of 0.0 is a sentinel value indicating `confidence` was not set.",
|
||||
"description": "Output only. The confidence estimate between 0.0 and 1.0. A higher number\nindicates an estimated greater likelihood that the recognized words are\ncorrect. This field is set only for the top alternative of a non-streaming\nresult or, of a streaming result where `is_final=true`.\nThis field is not guaranteed to be accurate and users should not rely on it\nto be always provided.\nThe default of 0.0 is a sentinel value indicating `confidence` was not set.",
|
||||
"format": "float",
|
||||
"type": "number"
|
||||
},
|
||||
"transcript": {
|
||||
"description": "*Output-only* Transcript text representing the words that the user spoke.",
|
||||
"description": "Output only. Transcript text representing the words that the user spoke.",
|
||||
"type": "string"
|
||||
},
|
||||
"words": {
|
||||
"description": "*Output-only* A list of word-specific information for each recognized word.",
|
||||
"description": "Output only. A list of word-specific information for each recognized word.\nNote: When enable_speaker_diarization is true, you will see all the words\nfrom the beginning of the audio.",
|
||||
"items": {
|
||||
"$ref": "WordInfo"
|
||||
},
|
||||
@@ -385,7 +385,7 @@
|
||||
"id": "SpeechRecognitionResult",
|
||||
"properties": {
|
||||
"alternatives": {
|
||||
"description": "*Output-only* May contain one or more recognition hypotheses (up to the\nmaximum specified in `max_alternatives`).\nThese alternatives are ordered in terms of accuracy, with the top (first)\nalternative being the most probable, as ranked by the recognizer.",
|
||||
"description": "Output only. May contain one or more recognition hypotheses (up to the\nmaximum specified in `max_alternatives`).\nThese alternatives are ordered in terms of accuracy, with the top (first)\nalternative being the most probable, as ranked by the recognizer.",
|
||||
"items": {
|
||||
"$ref": "SpeechRecognitionAlternative"
|
||||
},
|
||||
@@ -426,17 +426,22 @@
|
||||
"id": "WordInfo",
|
||||
"properties": {
|
||||
"endTime": {
|
||||
"description": "*Output-only* Time offset relative to the beginning of the audio,\nand corresponding to the end of the spoken word.\nThis field is only set if `enable_word_time_offsets=true` and only\nin the top hypothesis.\nThis is an experimental feature and the accuracy of the time offset can\nvary.",
|
||||
"description": "Output only. Time offset relative to the beginning of the audio,\nand corresponding to the end of the spoken word.\nThis field is only set if `enable_word_time_offsets=true` and only\nin the top hypothesis.\nThis is an experimental feature and the accuracy of the time offset can\nvary.",
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
},
|
||||
"speakerTag": {
|
||||
"description": "Output only. A distinct integer value is assigned for every speaker within\nthe audio. This field specifies which one of those speakers was detected to\nhave spoken this word. Value ranges from '1' to diarization_speaker_count.\nspeaker_tag is set if enable_speaker_diarization = 'true' and only in the\ntop alternative.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"startTime": {
|
||||
"description": "*Output-only* Time offset relative to the beginning of the audio,\nand corresponding to the start of the spoken word.\nThis field is only set if `enable_word_time_offsets=true` and only\nin the top hypothesis.\nThis is an experimental feature and the accuracy of the time offset can\nvary.",
|
||||
"description": "Output only. Time offset relative to the beginning of the audio,\nand corresponding to the start of the spoken word.\nThis field is only set if `enable_word_time_offsets=true` and only\nin the top hypothesis.\nThis is an experimental feature and the accuracy of the time offset can\nvary.",
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
},
|
||||
"word": {
|
||||
"description": "*Output-only* The word corresponding to this set of information.",
|
||||
"description": "Output only. The word corresponding to this set of information.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
||||
+23
-10
@@ -433,7 +433,7 @@ func (s *RecognizeRequest) MarshalJSON() ([]byte, error) {
|
||||
// `SpeechRecognitionResult`
|
||||
// messages.
|
||||
type RecognizeResponse struct {
|
||||
// Results: *Output-only* Sequential list of transcription results
|
||||
// Results: Output only. Sequential list of transcription results
|
||||
// corresponding to
|
||||
// sequential portions of audio.
|
||||
Results []*SpeechRecognitionResult `json:"results,omitempty"`
|
||||
@@ -508,8 +508,8 @@ func (s *SpeechContext) MarshalJSON() ([]byte, error) {
|
||||
// SpeechRecognitionAlternative: Alternative hypotheses (a.k.a. n-best
|
||||
// list).
|
||||
type SpeechRecognitionAlternative struct {
|
||||
// Confidence: *Output-only* The confidence estimate between 0.0 and
|
||||
// 1.0. A higher number
|
||||
// Confidence: Output only. The confidence estimate between 0.0 and 1.0.
|
||||
// A higher number
|
||||
// indicates an estimated greater likelihood that the recognized words
|
||||
// are
|
||||
// correct. This field is set only for the top alternative of a
|
||||
@@ -522,12 +522,15 @@ type SpeechRecognitionAlternative struct {
|
||||
// not set.
|
||||
Confidence float64 `json:"confidence,omitempty"`
|
||||
|
||||
// Transcript: *Output-only* Transcript text representing the words that
|
||||
// Transcript: Output only. Transcript text representing the words that
|
||||
// the user spoke.
|
||||
Transcript string `json:"transcript,omitempty"`
|
||||
|
||||
// Words: *Output-only* A list of word-specific information for each
|
||||
// Words: Output only. A list of word-specific information for each
|
||||
// recognized word.
|
||||
// Note: When enable_speaker_diarization is true, you will see all the
|
||||
// words
|
||||
// from the beginning of the audio.
|
||||
Words []*WordInfo `json:"words,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Confidence") to
|
||||
@@ -570,7 +573,7 @@ func (s *SpeechRecognitionAlternative) UnmarshalJSON(data []byte) error {
|
||||
// SpeechRecognitionResult: A speech recognition result corresponding to
|
||||
// a portion of the audio.
|
||||
type SpeechRecognitionResult struct {
|
||||
// Alternatives: *Output-only* May contain one or more recognition
|
||||
// Alternatives: Output only. May contain one or more recognition
|
||||
// hypotheses (up to the
|
||||
// maximum specified in `max_alternatives`).
|
||||
// These alternatives are ordered in terms of accuracy, with the top
|
||||
@@ -722,7 +725,7 @@ func (s *Status) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// WordInfo: Word-specific information for recognized words.
|
||||
type WordInfo struct {
|
||||
// EndTime: *Output-only* Time offset relative to the beginning of the
|
||||
// EndTime: Output only. Time offset relative to the beginning of the
|
||||
// audio,
|
||||
// and corresponding to the end of the spoken word.
|
||||
// This field is only set if `enable_word_time_offsets=true` and only
|
||||
@@ -732,7 +735,18 @@ type WordInfo struct {
|
||||
// vary.
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
// StartTime: *Output-only* Time offset relative to the beginning of the
|
||||
// SpeakerTag: Output only. A distinct integer value is assigned for
|
||||
// every speaker within
|
||||
// the audio. This field specifies which one of those speakers was
|
||||
// detected to
|
||||
// have spoken this word. Value ranges from '1' to
|
||||
// diarization_speaker_count.
|
||||
// speaker_tag is set if enable_speaker_diarization = 'true' and only in
|
||||
// the
|
||||
// top alternative.
|
||||
SpeakerTag int64 `json:"speakerTag,omitempty"`
|
||||
|
||||
// StartTime: Output only. Time offset relative to the beginning of the
|
||||
// audio,
|
||||
// and corresponding to the start of the spoken word.
|
||||
// This field is only set if `enable_word_time_offsets=true` and only
|
||||
@@ -742,8 +756,7 @@ type WordInfo struct {
|
||||
// vary.
|
||||
StartTime string `json:"startTime,omitempty"`
|
||||
|
||||
// Word: *Output-only* The word corresponding to this set of
|
||||
// information.
|
||||
// Word: Output only. The word corresponding to this set of information.
|
||||
Word string `json:"word,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
|
||||
Reference in New Issue
Block a user