"{u+0020}And" What is this? |
Post Reply |
Author | |
dtee
Member Joined: 14/Nov/2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
Posted: 14/Nov/2008 at 11:43am |
Could the following possibly be a bug in the WSR Toolkit? A random example: I say the single word "plane"; the WSR toolbar window displays: "clonethen" or "cloneAnd", and the text written is{u+0020}then" or "{u+0020}And". There are variations on this theme, but there is always the same bracketed character code (for space, as I recall) followed by some word that was never spoken. Where is this coming from? I don't have a WSR macro listening for "clone". Has anyone else had this happen? Thanks for any clues.
Daniel
|
|
mmarkoe
Moderator Group Joined: 24/Jul/2008 Status: Offline Points: 210 |
Post Options
Thanks(0)
|
First thing I would do is check my Added Words to see if it accidentally was saved. Right click the microphone on the SpeechBar. Then select Change existing words. Then select edit a word to see if "clonethen" or "cloneAnd" is there?
Marty
|
|
Marty Markoe, MVP
Microsoft Valued Partner See us at: http://www.mymsspeech.com |
|
BradT
Moderator Group Joined: 06/Oct/2008 Status: Offline Points: 40 |
Post Options
Thanks(0)
|
Daniel,
Do you have the "Format_That.WSRMac" or "Symbol_That.WSRMac" macros loaded? If so, that is probably the culprit. The {u+0020} is unicode representation for the space character, so I suspect it's in one of your macros somewhere... Have a look in your Speech Macros directory and let us know what you find. Brad |
|
dtee
Member Joined: 14/Nov/2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
|
Thanks for the suggestion:
The word "clone" is not on the list.
Edited by dtee - 16/Nov/2008 at 7:07am |
|
dtee
Member Joined: 14/Nov/2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
|
Spot on, Brad. I have found "Format_That.WSRMac" to be an extremely useful macro, but it does contain several commands listening for the word "clone". All I have to do is to say it and the following text is inserted: {u+0020}??, the question marks representing a random word.
Now, the question is how to cope with this. For example, one approach is banning this word from being recognized. Then, if I ever needed it in a sentence (I don't anticipate that this would be very often), I could say "Insert clone". I just tested this, and it doesn't work at all. The word is indeed banned by WSR, but the macro still listens for "clone" and fires faithfully.
Another approach is to begin tampering with the macro, but it is so complex that I hesitate to do so, not being a programmer. Maybe I could comment out all the parts containing the "clone" command?
Do you have any recommendations?
Best regards and thanks,
Daniel Edited by dtee - 16/Nov/2008 at 7:48am |
|
BradT
Moderator Group Joined: 06/Oct/2008 Status: Offline Points: 40 |
Post Options
Thanks(0)
|
Hi Daniel, I'm glad to help. The Format_That macro is indeed very useful. You can experiment with the macro and yet do no permanent damage if you'll navigate to your Speech Macros directory and copy the Format_That.WSRMac to another name. I usually use something like Format_That.SAFE. That way you don't get confused when you're tinkering with multiple macro files. Next, like you suggested, open the Format_That.WSRMac and search for "clone". I found this entry and it looks like it may be the offending command. <command priority="1">You can comment it out by adding the comment syntax around the entire command like this: <!-- <command priority="1">--> Save the file, as Symbol_That.WSRMac and give it a try... If that doesn't solve your problem, start commenting out each command that uses the <listenFor>clone syntax one-by-one, saving and trying each change. If your changes were too aggressive and things start acting strange, or you get a macro compiler error message, either undo the single change you just did or restore the Format_That.SAFE to Format_That.WSRMac This should hopefully get you going... Let us know how it goes. Brad |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |