Questions tagged [google-cloud-translate]

56 questions
0
votes
2 answers

memory leak in nodejs app, advice on global variables

First memory leak I needed to debug on Nodejs/JS, so some newbie questions here. I wanted to get some advice on code design..specifically: I have a connection a mysql database, and I leave it open as a global variable, so that I don't have to…
G-Force
  • 345
  • 3
  • 10
0
votes
1 answer

Is there an example of Google cloud translate for standalone Python3?

I am trying to figure out how to use google cloud translate in my own Python3 environment. I have completed the codelabs tutorial that shows me how to do it in the cloud shell, but I want to run it from my own environment. I can install the…
0
votes
0 answers

Translate Words based on their spelling an not their meaning using Google Cloud Translation Service in C#

I have an application where a user can add clients in both Arabic and English, my use-case is simple: user fill-in the client first name and last name in Arabic behind the scene, I call my backend to get the equivalent of names in English English…
Benzara Tahar
  • 2,058
  • 1
  • 17
  • 21
0
votes
1 answer

Google Cloud get the log usage information of a API Key

I'm building a chat and having a feature with cloud translation API, for each client I create a new API Key to been able to identify the consume usage of each client, the problem is the following: I want to see the consume of all API Keys inside a…
0
votes
1 answer

I want to cancel a function after a timeout on android with kotlin coroutines but it doesn't work

What I want to do is to translate a list of texts with google cloud translation which is works but sometimes it is very slow. So after 10 seconds I want to cancel it and with withTimeoutOrNull block but it doesn't cancel the operation it keeps…
0
votes
1 answer

400 Caller's project doesn't match parent project

I have this block of code that basically translates text from one language to another using the cloud translate API. The problem is that this code always throws the error: "Caller's project doesn't match parent project". What could be the…
0
votes
0 answers

Google cloud translation api

Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Requests from this Android client application are blocked.", "reason" :…
0
votes
1 answer

Firebase Authentication and Google Cloud Translate

I have Firebase Authentication integrated in IOS app and I would like to use Google Cloud Platform - Translate. There are bunch of questions that I am trying to find - How do I access Google Cloud Platform directly from IOS app? Firebase…
0
votes
2 answers

RuntimeError: Could not load the default credentials

i've installed google/cloud/translate in my project, the version in the Gemfile.lock is: google-cloud-translate (2.1.0) With the below code: require "google/cloud/translate" project_id = "" # from my Google Cloud Platform translate =…
-1
votes
1 answer

Google cloud transcription API

I would like to calculate the time duration for every speaker in a two way conversation call with speaker tag, transcription, time stamp of speaker duration and confidence of it. For example: I have mp3 file of a customer care support with 2 speaker…
-3
votes
1 answer
1 2 3
4