Click here to Skip to main content
11,929,283 members (58,582 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# Speech
Hi, I want to know if it is possible to create a simple application where a richtextbox has text and the person highlights the words by speech recognition. Also, how can I only highlight the word if it is the next word in the string so the user doesn't end up highlighting the same word in random positions. If it is possible then how can this be done?

Posted 29-Oct-12 23:40pm
lukeer 30-Oct-12 6:02am
No that's not possible.
Except you drop the demand for simplicity of the application. Speech recognition is difficoult because every person speaks in a different way. That way does change by time. Plus there is background noise.

Use a readyly available library for the speech recognition part.
Then you have to deal with the RichTextBox part. That has been done before and is for sure a lot easier.
Then you have the highlight-next-word-only part. That's easy. Store the current position and check if speech recognition detects something that matches the next word.
satz_770 30-Oct-12 8:41am
same as lukeer said above.. Speech recognition involves a big, complex problem... What u r saying is achievable but needs a lot of work... i mean it is not a simple application...
use a library for speech recognition..
and then remaining part is easier i hope...
MR. AngelMendez 31-Oct-12 3:59am
well, I know that you can use the microsoft speech system for example,

using System.Speech; namespace can this help me? I'm not looking for anything accurate so if it is not the best choice then it doesn't really matter as long as it works then I'm fine with that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.1 | Last Updated 30 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100