![]() |
KnowBrainer Speech Recognition | ![]() |


|
Topic Title: Bringing Custom words and commands into DNS 11 Topic Summary: Bringing custom words and commands into DNS 11 after it has been installed Created On: 09/10/2010 09:25 AM Status: Post and Reply |
|
![]() |
- teehiett | - 09/10/2010 09:25 AM |
![]() |
- bmac | - 09/10/2010 09:41 AM |
![]() |
- Chucker | - 09/10/2010 10:39 AM |
![]() |
- R. Wilke | - 09/10/2010 10:46 AM |
![]() |
- Chucker | - 09/10/2010 10:59 AM |
![]() |
- R. Wilke | - 09/10/2010 11:22 AM |
![]() |
- Chucker | - 09/10/2010 12:40 PM |
![]() |
- R. Wilke | - 09/10/2010 02:21 PM |
![]() |
- teehiett | - 09/11/2010 11:05 AM |
![]() |
- R. Wilke | - 09/11/2010 11:28 AM |
![]() |
- Chucker | - 09/11/2010 12:30 PM |
![]() |
- R. Wilke | - 09/11/2010 12:47 PM |
![]() |
- R. Wilke | - 09/12/2010 07:59 AM |
![]() |
- Chucker | - 09/12/2010 08:38 AM |
![]() |
- Chucker | - 09/12/2010 09:32 AM |
![]() |
- monkey8 | - 09/12/2010 11:24 AM |
![]() |
- monkey8 | - 09/12/2010 11:42 AM |
![]() |
- Chucker | - 09/12/2010 12:20 PM |
![]() |
- Chucker | - 09/10/2010 10:54 AM |
![]() |
- Edgar | - 09/13/2010 12:07 PM |
|
|
|
|
Lunis, While I was following KnowBrain's instructions for installing DNS 11, I missed the importance of the "If you see any user files that you do not wish to update, click the Remove button followed by clicking Next." As fate would have it, the second user file was one that I had been meaning to delete because it was corrupt. Dragon got confused and I do not remember the sequence of events but the outcome was that I wound up without the custom words and without the commands. What is the best way to get those custom words and commands from the user in DNS 10 into DNS 11? Can I use the "Get Words" and "Put Words"programs? Can I import the commands? Thanks so much for the prompt delivery of the programs. Tee ------------------------- |
|
|
|
|
|
|
|
|
Put words does not work with DNS 11, unfortunately. So I just decided to manually import my word list into DNS 11. It was a good opportunity for me to clean out words that are no longer needed as well.
------------------------- Bill |
|
|
|
|
|
|
|
|
Quote: Put words does not work with DNS 11, unfortunately. So I just decided to manually import my word list into DNS 11. It was a good opportunity for me to clean out words that are no longer needed as well. Tee & Bill, GetWords and PutWords do in fact work even in DNS 11. However, because of the underlying changes in the vocabulary in DNS 11, you can experience some new issues, and there is one old issue that has been discussed many times. First, you cannot use GetWords with an earlier version of DNS and use the following option. In addition, if your custom words from an earlier version of DNS do not conform to the requirements and restrictions in DNS 11, you will get the same error. However, GetWords/PutWords does seem to work properly in DNS 11 you are exporting and importing custom words from DNS 11 to import into a new user profile created in DNS 11. In this case, you can use the add pronunciation option in GetWords. You just can't use it across versions, you can only use it within versions. "Better a diamond with a flaw than a pebble without one." - Chinese Proverb -------------------------
|
|
|
|
|
|
|
|
|
Quote: In this case, you can use the add pronunciation option in GetWords. Chuck, I don't think you can do this, get the pronunciations with GetWords, and it must have started with version 11. Rüdiger
------------------------- Well, it's past the point where we can make any changes in the code, but we can still make changes to the Easter Egg! |
|
|
|
|
|
|
|
|
Rüdiger, "An error does not become truth by reason of multiplied propagation, nor does truth become error because nobody sees it" -- Gandhi -------------------------
|
|
|
|
|
|
|
|
|
Quote: Rüdiger, I don't know about you, but I've been able to successfully use GetWords and PutWords with the pronunciation addition copying from one DNS 11 user profile to a new one. The only reason it doesn't work is if there is an invalid entry. Nevertheless, I've tested this out thoroughly and only had one instance where there was an invalid vocabulary word, which I deleted and after which PutWords imported all my custom vocabulary with pronunciations. I always test this thoroughly in any new version. Sorry to disagree with you, but this is one of the first things that I tested when I got my initial copy of DNS 11. Chuck Runquist Chuck, please also look at the quote below from the same author - not referring to Gandhi. Quote: That's what I used in the post that contained the long string of triphones for "Sally sells sea shells at the seashore." It shows up as posted in that thread. However, when I used the same approach in DNS 11, no pronunciations show up. The following is from GetWords with the "Include pronunciations with the word list" checked. So, once I had a copy of version 11 (Premium), one of the first things I tested was whether or not you can still get the pronuciations of custom words using GetWords in this version, and no, you can't. Rüdiger
------------------------- Well, it's past the point where we can make any changes in the code, but we can still make changes to the Easter Egg! |
|
|
|
|
|
|
|
|
Rüdiger, "An error does not become truth by reason of multiplied propagation, nor does truth become error because nobody sees it" -- Gandhi -------------------------
|
|
|
|
|
|
|
|
|
Chuck, the problem is just that taking things for granted of which I am not convinced has never been my style. In addition to that, and not intending to embarrass you, believe me, in making your above statements you don't only contradict my findings, but you are also contradicting yourself, considering the statements quoted below. Quote: However, there is a major change in DNS 11. DNS 11 no longer displays the underlying triphones. Nuance has hidden this. The purpose of this was to increase the accuracy of word and phrase entries. However, what is shown above, is still what occurs in terms of the functioning of the Acoustic Model and the Language Model. You just can no longer see it when you export a word list. So, those who were using DNS comfort to display the pronunciations for all words won't be able to do that any longer. Why Nuance did this, other than for the purpose of increasing accuracy, is something that they will not discuss. My suspicion is that they have done this for the purpose of protecting their vocabulary. However, that's speculation on my part gleaned from other things that I have been told. The only thing that is displayed now are the words by themselves and the spoken forms where applicable. Sorry folks. That was a nice feature that's now gone. Nevertheless, what you are basically saying now is that in exporting the custom words (written form, and spoken form if available) to a TXT file, using GetWords, the underlying pronunciations are also transferred somehow? Is this what you are saying now? Rüdiger
------------------------- Well, it's past the point where we can make any changes in the code, but we can still make changes to the Easter Egg! |
|
|
|
|
|
|
|
|
Thanks to everyone who participated in this discussion. I did use the program "Get Words" to get the list of words without including pronunciation in the word list from a slightly older version of my user files from DNS 10. It was interesting to me that where the written form was different from the spoken form, for example, a telephone number and the spoken form was identifying the phone number, the spoken form was included in the text file. However, the spoken form was not in included in DNS 11 when I use the "Put Words" program to add the words to the vocabulary. As Bill suggested, I am also taking this opportunity to clean out my custom words :-). Thanks again — this is a great forum. Tee ------------------------- |
|
|
|
|
|
|
|
|
Quote: However, the spoken form was not in included in DNS 11 when I use the "Put Words" program to add the words to the vocabulary. Tee, they would have been included if you had changed the input file a little bit. The new format requires written forms and spoken forms being divided by double slashes. This is also where the problem comes in as far as pronunciations not being transferred any longer. ------------------------- Well, it's past the point where we can make any changes in the code, but we can still make changes to the Easter Egg! |
|
|
|
|
|
|
|
|
Rüdiger, Absence of evidence is not evidence of absence. - Attributed to Dr. Carl Sagan -------------------------
|
|
|
|
|
|
|
|
|
Quote: Explain that Chuck, I would love to. I guess from one of the previous versions while GetWords was still working as we know it, you're likely to have the pronunciation for this particular name, and if you want to do me a favor, please provide it. Rüdiger ------------------------- Well, it's past the point where we can make any changes in the code, but we can still make changes to the Easter Egg! |
|
|
|
|
|
|
|
|
Quote: Go figure!!! Explain that Chuck, chama \\C)m@ \\Cam@ Therefore it is quite obvious that you can pronounce the first syllable of the name "Chamut", after it has been entered to the vocabulary has written form, either similar to "shame", or similar to "chama", and most certainly it may not work always right from the start, because there are quite a few other words being homophonic with it, such as "chamber" for instance, and I should admit perhaps that being a non-native speaker of English things are even a bit more difficult for me at times with those kind of words being involved, but anyway what ever you do in terms of training the word according to your individual pronunciation of it, you wouldn't come up with anything being particularly different to what you get anyway from the pronunciation automatically generated. ------------------------- Well, it's past the point where we can make any changes in the code, but we can still make changes to the Easter Egg! |
|
|
|
|
|
|
|
|
Rüdiger, Absence of evidence is not evidence of absence. - Attributed to Dr. Carl Sagan -------------------------
|
|
|
|
|
|
|
|
|
Rüdiger, The long and the short of it is that it's basically a dead issue. Chuck Runquist "About the time we can make the ends meet, somebody moves the ends." Herbert Hoover -------------------------
|
|
|
|
|
|
|
|
|
Chuck/Rüdiger GetWords and PutWords (like the Dragon API) are using the SAPI 4 interface and SAPI 4 extensions to access the words and the pronunciations. Some of the extensions to SAPI 4 (these are Dragon extensions) are published but some are not otherwise it would be too easy to steal vocabularies etc With version 11 Dragon have changed the interface (and that means probably changed the extensions) and you can no longer get the pronunciations using GetWords and therefore you can no longer take pronunciations from a user in version 11 and pass them on to another user, at least not using GetWord/PutWords in its current form. Chuck I don't know how this explains what you are saying but there is no hidden information in the text file which includes pronunciations so they simply are not passed on. The text file is the only link between getting the words from one user and putting them into another user and is also the only link for getting the pronunciations of the words and passing them on if you have chosen this option via the checkbox. One possible reason why Dragon have done this (and this is pure speculation) is that certain people and applications are able to access these extensions and get this information and Dragon have decided to stop this. If you think about it accessing the user added words is no big deal as you can do this with VocTools but the pronunciation information is the real big deal and not the lists of words as such since anybody can make up, and have done, their own lists of words (but these are not true vocabularies (in the Dragon sense) if they don't contain pronunciation information). I talked to JGould about this just over one month ago. Lindsay Chuck I have just read what you have added. If version 11 export and import function is now designed to import and export the pronunciations as well then these pronunciations must be present in the text file. It's obvious really because if you export the words on one PC with a particular user and then import these onto another PC with a different user then the only information being transferred between the PCs is the text file unless the two PCs are telepathic. So in other words if the pronunciations are not in the text file (and I don't know, but I doubt it, because I haven't looked but will do later this evening when I come back) your colleague at Nuance is talking nonsense quite frankly. Sorry to be so blunt but otherwise please explain how the pronunciations get moved from one PC to another unless you are of course importing user files. ------------------------- |
|
|
|
|
|
|
|
|
Chuck
I have just exported my custom words using version 11 professional UK and there are no pronunciations listed in the text file. As the text file is the only method of exporting just the custom words then how on earth can the pronunciations be exported. If you take the example of moving the custom words from one user on one PC using version 11 to another user on another PC using version 11 then it can clearly be seen that the text file is the only link. So no pronunciation information in that text file and no pronunciations transferred. Lindsay ------------------------- |
|
|
|
|
|
|
|
|
Lindsay, Absence of evidence is not evidence of absence. - Attributed to Dr. Carl Sagan -------------------------
|
|
|
|
|
|
|
|
|
Quote: What is the best way to get those custom words and commands from the user in DNS 10 into DNS 11? Tan I use the "Get Words" and "Put Words"programs? Can I import the commands? Tee, See my previous post regarding GetWords/PutWords. That away someplace so that you know what you can and can't do with these two utilities. Remember that these were created way back in 2000 and never meant to extend beyond DNS 5.0. It's only by virtue of the fact that Joel Gould, who was the original architect for Dragon NaturallySpeaking and that much of his underlying code is still intact, these utilities still work at all. Nevertheless, always exercise caution and remember what the limits are. That is, you can use GetWords/PutWords across versions as long as you exclude the add pronunciations option and as long as the underlying vocabulary that you are exporting doesn't contain invalid entries relative to the newer version, or just invalid custom words period. As regards importing your custom commands, as long as you have a copy of your original DNS 10 mycmds.dat, which is located in user folder under the \current\voice_container folder, you can simply copy that from your DNS 10 user profile right into your DNS 11 user profile and overwrite the mycmds.dat that's in the DNS 11 user profile. This does no harm, is easier to do, and works quite effectively. There is nothing inherent in the mycmds.dat that would create any conflict between versions. That portion of DNS has not changed in the last several versions and all of the built-in DNS commands that come with DNS 11 out-of-the-box are not included in your mycmds.dat file. These are all hardcoded so you don't have to worry about losing any of these. On the other hand, it might be useful just in case you lose your previous version user profile to export your custom commands as you can do this having the Medical version, which is what I assume that you have even though your KnowBrainer profile says 9.5 Medical. Having an exported copy of your own custom commands and storing it somewhere safe where it won't accidentally get deleted, is always a good idea. Chuck Runquist "Reality is merely an illusion, albeit a very persistent one." - Albert Einstein (1879 - 1955) -------------------------
|
|
|
|
|
|
|
|
|
Has anyone opened one of the text files in an HEX editor? The one generated by DNS 10.1 is just text.
------------------------- -Edgar |
|
|
|
|
FuseTalk Standard Edition v4.0 - © 1999-2013 FuseTalk™ Inc. All rights reserved.