Click here to Skip to main content
14,299,406 members

Lazy parenting with Microsoft Speech SDK

Rate this:
4.98 (24 votes)
Please Sign up or sign in to vote.
4.98 (24 votes)
7 Jun 2007CPOL
Lazy parenting with Microsoft Speech SDK


If you are anything like me you probably get home at around 6:30 and after dinner you hardly have 30 minutes to play with your kids before they need to go to bed. Most of this time is spent checking their homework. Hardly anything is left for extra curricular stuff (like trying to go a little bit ahead of the class).

Most of the math and language software you find on the market are just games - they would ask at the most a dozen of questions and then allow a child to play for half-an-hour. Guess what – the child doesn't have half an hour to play, plus the games are lame, and even if they (kids) would have half an hour, they would not want to play those games (compare them to Nintendo or Xbox)!

So a year ago I wrote a little program to exercise my son's math skills. The deal is, he is doing 50 problems. If he makes more then 4 errors or spends more then 10 seconds on each one (average) he has to do them again. Once he is done he can go and do whatever he wants. I can proudly say that this little program made a huge impact on his math skills – in less then 10 minutes he is getting more than most of the kids get in a week.

Recently I added speech interface so the 'Homework' can also check his spelling.


After the software is installed, please go to the configuration tab (at least one) to configure types of tests you want to administer:

Image 1

The following things can be customized:

  1. Check boxes to enable certain types of tests. For example if your child is too small uncheck multiplication and division.
  2. Test ratios. Basically controls probability of a particular type of problem coming up on the test. For example in the screenshot above for every 20 spelling problems there will be 5 additions (on an average).
  3. Minimum and maximum range for math problems. For example in the screenshot above additions will be from 1 and not exceed 30.
  4. Story file. This is a plain file that contains a set of words to ask spelling for. I initially found a child story on the internet and pasted it in the notepad to create the original version. It doesn't need to be in any particular format. Feel free to tailor it to your child needs.
  5. Exclusion words. Some of the words in the story file will not sound legible with the speech-digitizing engine being used. Those words can be excluded from the tests. Pressing this exclusion button would allow to remove those words from the exclusion list. See below for how to add words to the exclusion list.
  6. Microsoft speech SDK comes with different voices. You may select a voice that sounds best to you and your child.
  7. You can choose not to sound out math problems by un-checking this checkbox.


Once you are satisfied with the configuration, go ahead and press the "Start" button (1). That puts you in the test mode.

Image 2

You will be prompted with the problem. Enter the response in the input area (2). Press enter or click "Next" (3) button. Your entry will be reported in the history window. Keep repeating until done (certain number of questions are reached). If you need a question repeated, leave the answer field empty and press enter again. Once done click "Stop" (5) button or press the Escape key. That will switch to the stat Window.


Image 3

Once the test is complete it will automatically switch to the "Statistics" screen. In this screen you will be able to see the following:

  1. Question number from the original quiz
  2. The answer
  3. Original problem
  4. Total problems that were offered
  5. Number of errors made
  6. Average time spent on each problem (in seconds)
  7. Success ratio (%)

Some of the words will not sound legible with the speech digitizing software being used. In this case you can right click on the item and check how the word sounded originally and also you can choose to exclude some of those words from the test. Select the appropriate action from the menu (8).


I hope this little testing software can help your child just like it helped mine. Plus it might let you spend a little more time with your kids doing stuff both of you enjoy.


  • Added configurable 'like' sentence (e.g. TRAIN - like - The train is fast.)
  • Added About page with my information


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


About the Author

United States United States
Writing code since 1987 using whatever language/environment you can imagine. Recently got into the mobile games. Feel free to check them out at

Comments and Discussions

GeneralMy vote of 5 Pin
Dalek Dave1-Dec-10 4:56
professionalDalek Dave1-Dec-10 4:56 
General5 for originality Pin
Aron Weiler8-May-09 7:43
memberAron Weiler8-May-09 7:43 
Questiondemo errors out [modified] Pin
deanders16-Oct-07 11:38
memberdeanders16-Oct-07 11:38 
GeneralSuggestion Pin
sabrown1008-Oct-07 9:41
membersabrown1008-Oct-07 9:41 
GeneralCan't get the time back! Pin
Baconbutty8-Jun-07 5:04
memberBaconbutty8-Jun-07 5:04 
JokeRe: Can't get the time back! Pin
gstolarov12-Jun-07 8:49
membergstolarov12-Jun-07 8:49 
GeneralRe: Can't get the time back! Pin
deanders16-Oct-07 8:38
memberdeanders16-Oct-07 8:38 
GeneralI love it Pin
Ben Daniel31-May-07 14:10
memberBen Daniel31-May-07 14:10 
GeneralGreat Idea Pin
merlin98131-May-07 11:45
professionalmerlin98131-May-07 11:45 
GeneralGot my 5 Pin
Ashaman31-May-07 11:11
memberAshaman31-May-07 11:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Posted 31 May 2007


78 bookmarked