Questions tagged [google-speech-api]

With Google Speech API you can convert speech to text file based or live stream

The https://cloud.google.com/speech/ and is part of https://cloud.google.com/products/ to allow for speech to text conversion.

When using a live stream words are returned almost realtime. This is limited by 1 minute or when paused for ~1 second. When using an asynchronous file the speech to text can be as long as 80 minutes. See https://cloud.google.com/speech/limits

For more see https://cloud.google.com/speech/docs/

837 questions
0
votes
1 answer

How to retrieve google speech api asynchronous request response ?

I'm trying to make the asynchronous google-speech-api request work. As advised I use play command: play audio2min.flac Using the code from here : https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/speech/api-client. I then…
0
votes
0 answers

where can i find the refresh token for Google cloud speech api access token upload/download

Access token for Google cloud speech api expires every one hour and currently i am requesting for new access token using my service account: $ gcloud auth print-access-token access_token can this be done programatically? do we need refresh token…
Jana
  • 189
  • 1
  • 3
  • 13
0
votes
1 answer

Match with Phrase for Google Speech API

I capture an audio from a speaker where they say - "I want to meet John Disilva". I pass this to Google Speech API with Phrase as { 'John Disilva', 'Ashish Mundra'}. However, Google Speech API returns me full phrase i.e. - 'I want to meet John…
user1685304
  • 91
  • 1
  • 5
0
votes
0 answers

Google Cloud Speech API fails with 503

I have developed a node.js application that uses Google Cloud Speech API and Vision API. I use the gcloud npm package for this. I use service account to connect to the api. When I run this locally everything works fine. But when I host this in…
Arjun Ganesan
  • 73
  • 1
  • 1
  • 8
0
votes
1 answer

google speech recognition api v2 interim results

I have been working on google speech recognition API v2 using node js npm google-speech-api https://www.npmjs.com/package/google-speech-api it is working, but i need to get the "interim results". How can i get the interim results of the audio being…
v.kumar
  • 13
  • 2
0
votes
0 answers

Google Speech Api in C# code

I am developing application in C# for speech recognition. I want to use google speech api for that purpose. I am developing application for this scenario for Example: I: I need your help my Computer? Application: What type of help you required for…
0
votes
1 answer

Length of audio supported for transcribing audio to text using Google Speech API

I want to convert audio to text using google speech api. Google Speech API works perfectly fine for audios less than or equal to 16 seconds, but it does not work for audio length greater 16 seconds. Any idea on how much long length audio conversion…
0
votes
1 answer

Cannot load module I put manually in /node_modules/ directory

I want to use a module I put in /node_modules/ manually, I simply copy/pasted the files and installed dependencies with npm, I'm using NWJS 0.16.0. When I type var speech = require('speech') in my app.js (or anywhere else), I get the following error…
angularchobo
  • 183
  • 1
  • 3
  • 17
0
votes
3 answers

Using google speech API in C# returns 403 error

Trying to use Google Speech API in C# returns 403. In Google Cloud Platform I generated a key and still getting the 403 error. Used this code: class Program { static void Main(string[] args) { try { FileStream…
Alex Choroshin
  • 6,177
  • 2
  • 28
  • 36
0
votes
1 answer

Convert mp3 to flac files

I'm trying to find a way of easily converting mp3 to flac files using ruby (preferably) server-side. I have a horde of audio that I would like to transcribe using the google speech api but it only accepts flac. (among other things). Can find a…
Carpela
  • 2,155
  • 1
  • 24
  • 55
0
votes
1 answer

C# speech recognition without predefined grammar

I'm trying to use speech recognition with C# application but this way I have only predicted phrase on output: sList.Add(new string[] { "hello", "test", "works", "exit"}); Can I get output same way like Google Speech Recognition API work,…
0
votes
1 answer

Google scripts; Alter Matching function that searches spreadsheet by column, return row of match

I need to alter my Matching function, that matches two columns on separate sheets and returns a the matches to a third sheet so that it returns the row of the match I have been trying, my head is spinning, no success Thanks function RunMatch() { …
xyz
  • 2,253
  • 10
  • 46
  • 68
0
votes
1 answer

how to sort a 2D array in google apps script/ google spreadsheet

I have a google spreadsheet which contains the multiple data spread across various columns (like 6 columns - Phone number, IMEI, URL, Id, Reg No and Time) and i have 15K rows of data. I have to find/show all the duplicate phone number(Column 0) and…
0
votes
1 answer

Not all voice files give output from Google Speech to Text API for Node.js

I am using below Node.js script snippet, 'use strict'; var google_speech = require('google-speech'); google_speech.ASR({ debug: true, lang: 'en_US', developer_key: '', file: '', },…
0
votes
1 answer

How to split the values present in a cell?

I have a spreadsheet with multiple email id's in it. I would like to split those email id's into multiple columns. I am able to split the values in first cell, But I'm not able to do it for the rest of the rows. There are more than 100 rows with…
Kanchan
  • 65
  • 2
  • 11