speech-recognition

How to run Microsoft.CognitiveServices.Speech on Windows Server 2012 R2

青春壹個敷衍的年華 提交于 2019-12-06 12:54:15
问题 I need to convert speech from a wav file into text. So I downloaded the sample C# code project from the Quickstart: Recognize speech using Speech service C# SDK page, and followed the instructions on the page. It works in Windows 10, but I need the project to work on Windows Servers 2012 R2 and it doesn't work on Windows Servers 2012 R2. When I run it on Windows Servers 2012 R2, I press the 3 key for the 3. Speech recognition with file input option. But when it tries to execute the following

Query supported languages for SpeechRecognizer using BroadcastReceiver intent

天大地大妈咪最大 提交于 2019-12-06 12:27:35
I'm having trouble querying for supported languages using the SpeechRecognizer.ACTION_GET_SUPPORTED_LANGUAGES. private void queryLanguages() { Intent i = new Intent(RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS); sendOrderedBroadcast(i, null); } Now, I know it says the BroadcastReceiver is specified in RecognizerIntent.DETAILS_META_DATA, but I'm not sure as to how I can access that. So basically what I'm asking is how do I create an Intent to retrieve the available languages data? Reno This is how it is done: Intent intent = new Intent(RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS); context

C# SAPI 5.4 Languages?

江枫思渺然 提交于 2019-12-06 12:24:50
问题 I've made a Simple Program That Recognizes Speech Using SAPI 5.4 , i wanted to ask if i can add some more languages to the TTS and The ASR , Thanks Here is the code i made you anybody needs to take a look at it using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using SpeechLib; using System.Globalization; using System.Speech.Recognition; namespace

Android SpeechRecognizer set recognize engine?

五迷三道 提交于 2019-12-06 11:56:53
问题 I'm using SpeechRecognizer to convert speech to text. I'm using Samsung and I encounterd error while I set Voice recognizer to 'Samsung powered by Vlingo', after I changed to 'Google' and the error disappear. I was wondering is there any method to change recognize engine programmatically? Thanks. 回答1: I've found the answer of my question. I can use 'public static SpeechRecognizer createSpeechRecognizer (Context context, ComponentName serviceComponent)' the method to choose which recognition

How to get audio amplitude with speech recognizer?

泄露秘密 提交于 2019-12-06 11:56:45
I'm trying to make a custom dialog while speech recognizing instead of using the official one. I got that part, but when then I decided to show the amplitude of the sound while recognizing, in order to make it more fancy, like Google Now search bar does (its a circle around the microphone that grows if voice its louder): Then I started to code how to obtain the amplitude of the sound, and finally I got it with AudioRecord Class. The problem comes when I try to mix both (SpeechRecognizer and AudioRecord), because seems like they are not able to share microphone, or something like that... In

Add new word to windows speech recognition using C#

喜夏-厌秋 提交于 2019-12-06 11:45:05
i know how to use speech recognition in C# but the problem is how to add a special word or name into windows speech dictionary database? in windows 7 and 8 you can do it easily using: Opening Speech Dictionary > Add new word > Enter the Text of word > Record the pronunciation of the word by Microphone and then,it's OK! the word will add to database. we also can edit the word using the Speech Dictionary. does anyone know how can we do these steps with .NET and programming? EDIT: its very simple, windows speech dictionary has limited database , how can we add some other words into this via .NET

Android v <= ICS continuous speech recognition ERROR_NETWORK_TIMEOUT

拟墨画扇 提交于 2019-12-06 11:40:24
问题 I created a continuous speech recognition Android app by following this thread, it works perfectly on my Moto G (4.4.2) but for some reason it crashes on 2.3.5 and 2.3.6, I already tried by removing the timer workaround for 4.1 and newer versions and it's the same. The thing is that it works fine when I say words but when it catches some noise (like a mouse click) it takes like 10 seconds recognizing (or whatever it does after onEndOfSpeech()) and then it throws an ERROR_NETWORK_TIMEOUT. My

Getting WAV file transcription to work with Sphinx4

人走茶凉 提交于 2019-12-06 11:26:23
I've got Sphinx-4 installed on my windows XP system and JSAPI set up. I'd like to transcribe an English spoken WAV (or MP3) file to text. When I run the "WavFile" demo - it runs successfully. java -jar WavFile.jar But, when I pass my own wav file like this: java -jar WavFile.jar c:\test.wav I get: Loading Recognizer as defined in 'jar:file:/C:/sphinx4-1.0beta3-bin/sphinx4-1.0beta3/bin/WavFile.jar!/edu/cmu/sphinx/demo/wavfile/config.xml'... Decoding jar:file:/C:/sphinx4-1.0beta3-bin/sphinx4-1.0beta3/bin/WavFile.jar!/edu/cmu/sphinx/demo/wavfile/12345.wav Result: one two three four five It seems

Android - MIC external for speechRecognition

↘锁芯ラ 提交于 2019-12-06 10:53:50
问题 I need to know which event is triggered when connecting a microphone or a headset to your device, and I am using speech recognition and have observed that does not follow the same flow as when nothing is connected to the device. I would like to know if there is some kind of solution because the application I'm creating at the moment is tested in a Smartphone, but in the future will require connecting a microphone or a headset. A greeting and I hope your answers PS: At the moment in the code I

Recognize Speech To Text Swift

為{幸葍}努か 提交于 2019-12-06 10:49:34
Is it possible to recognize speech and then convert it into text with custom keyboard. Like by default message app in iphone. Screen Shot 1. Default recognize speech in iphone keyboard. 2. Speech to text Any help would be greatly appreciated. Thanks in advance. I have following code which are used in my sample application to convert speech-to-text. import UIKit import Speech import AVKit class ViewController: UIViewController { //------------------------------------------------------------------------------ // MARK:- // MARK:- Outlets //---------------------------------------------------------