Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@maxim_mazurok/gapi.client.speech

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxim_mazurok/gapi.client.speech - npm Package Compare versions

Comparing version 1.0.20210929 to 1.0.20211008

8

gapi.client.speech-tests.ts

@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.speech definition tests */

// Revision: 20210929
// Revision: 20211008

@@ -60,2 +60,4 @@ gapi.load('client', () => {

config: {
alternativeLanguageCodes: [
"Test string" ],
audioChannelCount: 42,

@@ -70,2 +72,3 @@ diarizationConfig: {

enableSeparateRecognitionPerChannel: true,
enableWordConfidence: true,
enableWordTimeOffsets: true,

@@ -107,2 +110,4 @@ encoding: "Test string",

config: {
alternativeLanguageCodes: [
"Test string" ],
audioChannelCount: 42,

@@ -117,2 +122,3 @@ diarizationConfig: {

enableSeparateRecognitionPerChannel: true,
enableWordConfidence: true,
enableWordTimeOffsets: true,

@@ -119,0 +125,0 @@ encoding: "Test string",

@@ -13,3 +13,3 @@ /* Type definitions for non-npm package Cloud Speech-to-Text API v1 1.0 */

// Generated from: https://speech.googleapis.com/$discovery/rest?version=v1
// Revision: 20210929
// Revision: 20211008

@@ -95,2 +95,9 @@ /// <reference types="gapi.client" />

/**
* A list of up to 3 additional [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags, listing possible alternative languages of the supplied audio. See [Language
* Support](https://cloud.google.com/speech-to-text/docs/languages) for a list of the currently supported language codes. If alternative languages are listed, recognition result will
* contain recognition in the most likely language detected including the main language_code. The recognition result will include the language tag of the language detected in the
* audio. Note: This feature is only supported for Voice Command and Voice Search use cases and performance may vary for other use cases (e.g., phone call transcription).
*/
alternativeLanguageCodes?: string[];
/**
* The number of channels in the input audio data. ONLY set this for MULTI-CHANNEL recognition. Valid values for LINEAR16 and FLAC are `1`-`8`. Valid values for OGG_OPUS are '1'-'254'.

@@ -118,2 +125,4 @@ * Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`. If `0` or omitted, defaults to one channel (mono). Note: We only recognize the first channel by default.

enableSeparateRecognitionPerChannel?: boolean;
/** If `true`, the top result includes a list of words and the confidence for those words. If `false`, no word-level confidence information is returned. The default is `false`. */
enableWordConfidence?: boolean;
/**

@@ -257,2 +266,7 @@ * If `true`, the top result includes a list of words and the start and end time offsets (timestamps) for those words. If `false`, no word-level time offset information is returned.

channelTag?: number;
/**
* Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of
* being spoken in the audio.
*/
languageCode?: string;
}

@@ -276,2 +290,8 @@ interface Status {

/**
* 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 non-streaming result or, of a streaming result where `is_final=true`. This field is not guaranteed to be accurate and users should not rely on it to be always
* provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.
*/
confidence?: number;
/**
* 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 in the top

@@ -278,0 +298,0 @@ * hypothesis. This is an experimental feature and the accuracy of the time offset can vary.

2

package.json
{
"name": "@maxim_mazurok/gapi.client.speech",
"version": "1.0.20210929",
"version": "1.0.20211008",
"description": "TypeScript typings for Cloud Speech-to-Text API v1",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc