speech-recognition

C# System.Speech notfound!

孤者浪人 提交于 2019-12-23 09:39:28
问题 im trying to use Speech Recognition related to this: C# Speech Recognition - Is this what the user said? but the system cant find its assemblies. 回答1: Make sure you have a reference to System.Speech.Recognition in your project. Also, this is available only on .NET 3.0 and above. 回答2: you have to add System.Speech.Recognition to your project. In .Net 3.0 and Above 回答3: System.Speech is available in .Net 3.0 and later. The MSDN page for the 3.0 version is at http://msdn.microsoft.com/en-us

Android Speech Recognition Insufficient Permission (Error Code 9)

青春壹個敷衍的年華 提交于 2019-12-23 09:29:41
问题 I am trying to implement speech recognition without the standard dialog (it is working fine with the dialog). I am getting error code 9 as soon as I try to start listening. My device is an LG G Stylo (running Android 6.0). Manifest: <manifest package="example.com.myapplication" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-permission android:name="android.permission.RECORD_AUDIO"/> <application ..... (also tried adding INTERNET permission even though that shouldn't be

INVALID_ARGUMENT: Request payload size exceeds the limit: 10485760 bytes

时光总嘲笑我的痴心妄想 提交于 2019-12-23 08:08:37
问题 I'm using for the first time the GCS Speech API for a project to convert a series of audio files to text. Each file has around 60 minutes and is a person talking continuously during the whole time. I've installed the GC SDK and I'm using it to perform the requests as shown bellow: gcloud ml speech recognize-long-running \ "/path/to/file/audio.flac" \ --language-code="pt-PT" --async Every time I run this on one of my recording, it gives the following error message: ERROR: (gcloud.ml.speech

INVALID_ARGUMENT: Request payload size exceeds the limit: 10485760 bytes

爱⌒轻易说出口 提交于 2019-12-23 08:08:21
问题 I'm using for the first time the GCS Speech API for a project to convert a series of audio files to text. Each file has around 60 minutes and is a person talking continuously during the whole time. I've installed the GC SDK and I'm using it to perform the requests as shown bellow: gcloud ml speech recognize-long-running \ "/path/to/file/audio.flac" \ --language-code="pt-PT" --async Every time I run this on one of my recording, it gives the following error message: ERROR: (gcloud.ml.speech

Recognition by comparison with pre-recorded words

≡放荡痞女 提交于 2019-12-23 05:51:39
问题 Requirement: I want a system/algorithm that is similar to the call system in the car that you say a name that you want to call, it will find out that name match your voice. My requirement is that I will use pre-recorded voices instead of Name. e.g.: User record target voices for several words in non-English language, e.g.: "Keyboard-JP-01.wav" => Keyboard "Monitor-JP-01.wav" => Monitor After some training or even no training, when the user speak a word again, the speech recognizer should able

Recognition by comparison with pre-recorded words

僤鯓⒐⒋嵵緔 提交于 2019-12-23 05:51:33
问题 Requirement: I want a system/algorithm that is similar to the call system in the car that you say a name that you want to call, it will find out that name match your voice. My requirement is that I will use pre-recorded voices instead of Name. e.g.: User record target voices for several words in non-English language, e.g.: "Keyboard-JP-01.wav" => Keyboard "Monitor-JP-01.wav" => Monitor After some training or even no training, when the user speak a word again, the speech recognizer should able

Google Cloud Speech API add SpeechContext

∥☆過路亽.° 提交于 2019-12-23 05:42:08
问题 I would like to add some keywords to my app, so the API can recognize more efficiently the spoken words. For example I m having trouble recognizing the some Italian words that starts with E ,(E` per me) for example. Or in German (er geht). Here is my code: public void recognize (int sampleRate) { if (mApi == null) { Log.w(TAG, "API not ready. Ignoring the request."); return; } // Configure the API mRequestObserver = mApi.streamingRecognize(mResponseObserver); mRequestObserver.onNext

Android: Arabic speech recognition - offline

百般思念 提交于 2019-12-23 05:34:08
问题 Can any one help me or give me a clue about Arabic speech recognition - offline for android?? I want to develop simple app that do speech recognition - offline as doing this online I know how... if any one have suggestion or link to an open source project or even library to buy that do this efficiently it will be amazing. thanks in advance. 回答1: use intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE,"ar-JO"); The below code worked fine with me: package tk.oryx.voice; import android.app.Activity;

C# system.speech.recognition alternates

ぐ巨炮叔叔 提交于 2019-12-23 05:33:13
问题 I am using using system.speech.recognition to recognize a single word from many. Because the accuracy is not very good, I want to consider more options the engine gives me. However, the e.Result.Alternates only contains one result which is the same as e.Result.word. Is there a ways to force the engine to give me more options? Thank you! 来源: https://stackoverflow.com/questions/8214904/c-sharp-system-speech-recognition-alternates

tensorflow: transpose expects a vector of size 1. But input(1) is a vector of size 2

大城市里の小女人 提交于 2019-12-23 04:11:35
问题 I want to use a trained RNN language model to do inference.So: I loaded the trained model graph in c++ using tensorflow::MetaGraphDef graph_def; TF_CHECK_OK(ReadBinaryProto(Env::Default(), path_to_graph, &graph_def)); TF_CHECK_OK(session->Create(graph_def.graph_def())); load the model parameters by: Tensor checkpointPathTensor(tensorflow::DT_STRING, tensorflow::TensorShape()); checkpointPathTensor.scalar<std::string>()() = path_to_ckpt; TF_CHECK_OK(session_->Run({{graph_def.saver_def()