Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
United Kingdom
Asked — Edited

Speech Recognition Dictionary Error

Hi everybody.

It's been a while since I've posted, so before I continue I just want to say a big hello to the regulars on here such as Alan, Dave S and David C, Richard, Will, Justin, Patrick and all the others... you know who you are. And of course a big hello to DJ, Jeremie, Alan and the rest of the team. I hope that you are all doing well.

So after a year of laying dormant, I decided to blow the cobwebs away and fire up my Astromech Droid "E4-B4". So far so good but needs a little bit of fettling which leads to the point at hand to an issue I need some help with.

I fired up E4's Acer W3 tablet with the old version of ARC still installed, and also installed ARC on to my Alienware 15 (2016 version) laptop (Windows 10) with the current ARC version. The W3 is not holding its charge so I'm working with the Alienware. Couldn't connect the EZ-B v4/1 at first, but that was down to AVG antivirus so it's disabled for now and connection is all good.

The problem i can't get my head around is with the speech recognition control. I've set up Microsoft speech recognition (S/R) on the laptop, done voice training, set up the mic (type, levels etc) and checked that the mic is enabled. I've made sure that the S/R in the laptops control panel is set to "Microsoft Speech Recognizer 8.0 for Windows (English - UK), and the ARC S/R control is set to en-GB. The problem is when I save the en-GB setting on EZ-Builders S/R control. First, when I start up the project, I get the following pop up message...

Quote:

Voice recognition was not able to start. System.Exception: There is either no listening device or your operating system is not supported at EZ_Builder.UCFormSpeechRecognition.knktDlvxCWI(Object ,EventArgs


Second, when I clear the pop up and continue, select en-GB in the S/R confit menu and save it, I get the following debug error message...

Quote:

Set Dictionary Error loading phrases (custom): The Language for the grammar does not match the language of the speech recognizer.


I have tried setting the laptops speech properties to "Microsoft Speech Recognizer 8.0 for Windows (English - US) and ARC S/R control to en-US just to see if that would work, which doesn't show any debug error message, but doesn't work. I change back to en-UK, and get the same debug message as before. I have also tried restarting ARC and restarting the Laptop as well, to no avail. I've gone through the tutorials again just to familiarise myself with the control again. The actual Microsoft Speech recognition program is working on the laptop as I can open and close programs, dictate text on Notepad etc.

So does anyone have any ideas or suggestions to what I can try to get the speech recognition up and running again, maybe something like an update or installation for windows S/R or something? Any help, as always, will be appreciated.

Many thanks guys.:)

Steve.

AI Support Bot
Related Content
Synthiam
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
United Kingdom
#43  
@Dave.

Late to the party alright, but if you've bought some booze with ya, it's all good buddy, lol. :D

Seriously though, I am still kinda considering a full Windows re-instal. It wouldn't be the first one I've done so I know what to expect/do and have a large portable drive ready use for the backup. It's just so time consuming as you know yourself for something that may or may not fix the problem. Anyway, watch this space...
#44  
I am sure you have thought of this, but if you do the re-install, install and test ARC before any other applications to rule out some incompatibility. For instance, there is a known issue with GoPro software and virtually all other video software including ARC. Could be something relevant that is breaking Sapi.

Alan
United Kingdom
#45  
Thanks Alan, good point. Thanks for the heads up.
PRO
USA
#46  
@Steve G,

This is a snippet of my (control panel/SAPI) Speech settings:

User-inserted image


I've highlighted the sound level, when you speak check if the sound level is showing up, if not check the microphone levels.

If still not working, go to windows 10 speech recognition settings, and start the setup from the begin.

recheck (SAPI) Speech settings.

if still not working please post a print screen of your SAPI speech settings.
United Kingdom
#47  
@ptp

Thanks for getting back to me buddy.

I've had the Windows speech properties open a quite a few times during my tests to double check mic levels, and where I've been changing the language repeatedly from between English-US and English-UK. The visual sound level that you mentioned in "speech properties" does bounce up and down when I speak. I will do a screengrab of this tomorrow.

When you say "post a print screen of your SAPI speech settings" (unless you mean do a screen grab of "speech Properties" ), can you give me a quick "how to" of exactly what you mean or want to see to get to the SAPI speech settings, just so I (and any new commers) know we're on the same page of what to look for. Thanks buddy, and much appreciated.
PRO
USA
#48  
post a pic similar to mine.

I used the windows program "snipping tool".
United Kingdom
#49  
@ptp

Here's the screen grab of the speech properties you asked for. I said a few words when I took the grab to show the mic levels showing that the mic is indeed picking up audio...

User-inserted image
PRO
USA
#50  
@Steve G

Please uncheck the option "Review documents and mail to improve accuracy"
Reboot the PC
and check ARC.
United Kingdom
#51  
Made no difference...

User-inserted image



User-inserted image


User-inserted image
PRO
USA
#52  
Boing!

It was not a random guess .. those three options are related to the Shared Recognizer... so my first guess was a "resource conflict" between application and system... although it's called "shared...":)

btw

"Review documents and mail to improve accuracy. "

When this is checked, the speech recognition system will look at your documents and look at your mail and check the vocabulary that’s there, and phrases and words that it may not know, or it will find ones that you know and probably use frequently. And when you do that, the speech recognition system will become more accurate over time because it’ll know what you talk about and what you’re reading.

You may or may not want to do this because of privacy concerns...

1) Did you installed any Application with (Speech Capabilities: TTS/Speech Recognition)?

2) SAPI Custom Voices ?

3) Is Windows 10 Cortana working ?
United Kingdom
#53  
@ptp.

Lol, I didn't think that was a random guess.

So, to answer your questions...

1) No, I haven't installed any applications that has/uses Speech or TTS (except ARC of course)

2) I also have not installed any custom voices

3) Windows 10 Cortana is working.

Also, thanks for the info about the ""Reviewing Documents..." option. I didn't actually know that it look's at your documents and look at your mail and check's the vocabulary. Interesting.
PRO
Belgium
#54  
hi steve

i see by ptp two voices in settingd.while yours has only one,your name?
chould there not the name in there from the voice you use?


User-inserted image



User-inserted image



User-inserted image
PRO
USA
#55  
@Nomad 6R,
That is recognition profile, you can have multiple trained and you select one. I'm almost sure that is not the issue.

@Steve G:
I think i found the issue, so when you are online ping back the thread.
I'll provide more details.
United Kingdom
#56  
@ptp.

Pinging you back. Now I'm intrigued. If you're about, I'll be online for the next hour.

Steve.
PRO
USA
#57  
@Steve G,

1)
Do you have both the UK and the US speech recognizer on your drop down ?

User-inserted image


2) If yes:

select US recognizer, Jump to point 4)

3) if no:

Goto Region & language settings

User-inserted image


Note: I'm doing the opposite (Adding English / GB language) you should add the ( English / US)

User-inserted image


Then add the speech voice files (although you can add everything else like hand writing, in the US we use a different hand writing:) ), yes we are different:)

User-inserted image


this is a result with multiple english languages (although the default is UK)

User-inserted image


4) Reboot

5) Call ARC and test the speech recognition culture selection: en-US, en-GB.
Both should work.

Let me know the results.
United Kingdom
#58  
@ptp.

Thanks for your reply. There's quite a few posts now on this thread, but just wanted to refer back to posts #1 and #19 with a bit of a recap to answer your question.

In the speech recognizer drop down, I do have both English US and English UK. I have tried both available languages using different configurations using en-GB and en-US in ARC, non of which worked (even after reboots).

The only difference I had (post #19) was that English UK was not enabled in the Reagon and Language settings. When I enabled this, the debug message changed from...

Set Dictionary Error loading phrases (custom): The Language for the grammar does not match the language of the speech recognizer.

to...

Speech Recognition Culture: en -UK
Loaded speech recognition successfully


but speech recognition still did not/doesn't work and the spectrum analysers in both the speech rec and Pandorabot controls being white in colour... not black with an active green wave line confirming that speech (or any noise) is heard.

This was the same result with multiple...

Complete removal's & re-installs of ARC,
Removing and adding S/R controls,
Using new empty projects,
Laptop restarts,
Microphone setups,
Speech training etc.
PRO
USA
#59  
@Steve G,

Believe me we are close...

I'll need to take a few screenshots to match the correct configuration (combination).

There's nothing wrong in your windows, neither with your ARC setup.

This is a software problem related to the way ARC handles the culture when calling the SAPI API.

I'll be back to my batcave in 1 hour, ping the thread when you are available.
#60  

Quote:

A note about your W3. The W3 can be upgraded to Wndows 10, but at this time, the latest "Creator's update" is not compatible with the CPU. Supposedly Acer and Microsoft are working on a solution because Intel is not interested in providing drivers.


Back to slightly off topic. It looks like MS and Acer solved the driver issue. My W3 just updated to Creator's Edition, although so far it is running like cr-p. I think it is time to start looking for a faster/better tablet or micro-PC. Having some trouble finding anything affordable that does what I need. Acer doesn't make any windows tablets now, and most of the Chinese ones on Gearbest have a single OTG USB port for charging and for USB, so I can't keep it on external charger and use any USB devices.....

Alan
PRO
Synthiam
#61  
I've had my w3 updated to 10 since last year. It's currently the computer running ezrobot's bimbo the clown amusement game in our arcade area. But - it's super slow. Once ARC is loaded, it's acceptable. Takes like 4 minutes to boot and load though...
#62  

Quote:

I've had my w3 updated to 10 since last year


Yeah, Windows 10 update was fine. It is the creator's edition that failed. Intel didn't produce drivers for the chipset. Microsoft and Acer collaborated to create them, so the update is working now.

But it does seem to be even slower now. Maybe just spoiled because I got a new work laptop that is super fast so everything else seems slow.

Alan