Posts

Showing posts with the label speech-recognition

Kaldi: Output of qsub was: qsub: illegal -c value “” when trying to run the Common Voice recipe

Kaldi: Output of qsub was: qsub: illegal -c value “” when trying to run the Common Voice recipe I am trying to run Kaldi's Common Voice recipe ( kaldi/egs/commonvoice/s5/run.sh ) on my computer (i.e., not on a cluster). It crashes with the error message Output of qsub was: qsub: illegal -c value "" . What could be the issue? kaldi/egs/commonvoice/s5/run.sh Output of qsub was: qsub: illegal -c value "" Specifically, here is the entire error stack: [...] Succeeded in formatting LM: 'data/local/lm.gz' steps/make_mfcc.sh --cmd queue.pl --mem 2G --nj 20 data/valid_train exp/make_mfcc/valid_train mfcc utils/validate_data_dir.sh: Successfully validated data-directory data/valid_train steps/make_mfcc.sh: [info]: no segments file exists: assuming wav.scp indexed by utterance. queue.pl: Error submitting jobs to queue (return status was 512) queue log file is exp/make_mfcc/valid_train/q/make_mfcc_valid_train.log, command was qsub -v PATH -cwd -S /bin/bash -j y -l a...

Define GOOGLE_APPLICATION_CREDENTIALS for google-cloud-speech , Java Desktop Application

Image
Define GOOGLE_APPLICATION_CREDENTIALS for google-cloud-speech , Java Desktop Application I am completely new using google-cloud-java. Trying to do some Speech Recognition using the google-cloud-speech . Speech Recognition I have written the below code , but there is a problem , i don't know how to specify the credentials so i get the below error, no clue how to do it and searching the web 2 hours now : java.io.IOException: The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment v ariable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defini ng the credentials. See https://developers.google.com/accounts/docs/application- default-credentials for more information. Send audio from Microphone to Google Servers and return Text package googleSpeech; import java.io.IOException; import java.util.Arrays; import java.util.HashMap; import javax.sound.sampled.AudioFormat; import javax.sound.sa...