KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Custom vocabulary
Topic Summary: Custom vocabulary size depends on...RAM?
Created On: 03/17/2012 05:51 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Custom vocabulary   - DessaVan - 03/17/2012 05:51 PM  
 Custom vocabulary   - R. Wilke - 03/17/2012 08:17 PM  
 Custom vocabulary   - Tiger Feet - 03/18/2012 02:20 AM  
 Custom vocabulary   - R. Wilke - 03/18/2012 05:54 AM  
 Custom vocabulary   - Tiger Feet - 03/18/2012 09:52 AM  
 Custom vocabulary   - R. Wilke - 03/18/2012 11:17 AM  
 Custom vocabulary   - Tiger Feet - 03/18/2012 11:30 AM  
 Custom vocabulary   - DessaVan - 03/19/2012 11:11 AM  
 Custom vocabulary   - monkey8 - 03/18/2012 07:12 AM  
 Custom vocabulary   - Jomark - 03/20/2012 06:44 AM  
 Custom vocabulary   - R. Wilke - 03/20/2012 08:26 AM  
Keyword
 03/17/2012 05:51 PM
User is offline View Users Profile Print this message


DessaVan
Power Member

Posts: 63
Joined: 05/11/2011

I'm trying to learn all I can about the active vocabulary and the custom vocabulary.
I have 11.5 Pro.  I now know how many words are in the active vocabulary but I'm still not sure as to how many words could be added to the custom vocabulary before it had an effect, if any, on the active vocabulary.

This is the response I got from Nuance support.
 
"There is no specific number of words that you can add to your custom vocabulary. It will depend on the memory of you computer. The more memory you have, the more words you can add."
  
Does that sound right?  And if so, what's the word to memory ratio...if there is such a thing.
Thanks,
Dessa 
 03/17/2012 08:17 PM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 4422
Joined: 03/04/2007

Quote:
I'm trying to learn all I can about the active vocabulary and the custom vocabulary.

If this is true, maybe you should start by learning whom to trust. I think I told you about a week ago, didn't I, and we also talked off-line. My answer back then was that, starting with version 10, as much as about 150,000 words can be added to the vocabulary, and this is independant of memory or whatever crap you have been told.

However, since that didn't seem to make you believe it, I made the effort to overload an English user profile with a list of German words containing about 217,000 items, just to make sure the effect would show. It almost took an hour trying to add that many words, but when it was done, this was what it says:

But how could I know that it would end up with as much as about 150,000 words being added when doing it this way? Well, like I said, there is method of retrieving the value that you can use if you are any familiar with the SDK, and it can be done writing a simple script, like this (provided you have referenced the Dragon VocTools library):

As you can see in here, there is a property called "WordFreeSpace" which, when called, will do exactly this, tell you how many words can be added at maximum that is. When running the above script, this is what you get:

 

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!

 03/18/2012 02:20 AM
User is offline View Users Profile Print this message

Author Icon
Tiger Feet
Top-Tier Member

Posts: 756
Joined: 12/04/2009

Quote:
As you can see in here, there is a property called "WordFreeSpace" which, when called, will do exactly this, tell you how many words can be added at maximum that is. When running the above script, this is what you get:


Rüdiger,

interesting macro.

Would you be so kind as to sending the script in the main window in a text document or something in this thread that can be directly highlighted and copied.  I cannot quite make out the wording from the actual image you sent in your post.


Also, please could you confirm that the title below needs to be checked in references for this script.  

Dragon NaturallySpeaking Vocabulary Tools (1.0)

I noticed you left the command name blank.  Is that because you can name it anything you want?

Cheers



-------------------------

Tiger Feet

| DNS 12 Professional | KnowBrainer 2012 | Windows 7 Professional /64 Bit | Intel Core i7 Quad Core 3840QM (2.80GHz) 8MB | 16GB RAM. | 240GB Intel 520 Series SSD Boot Drive | 750GB 7200 rpm Secondary Drive  | Plantronics Wireless Handsfree Microphone CS60-USB. |

 03/18/2012 05:54 AM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 4422
Joined: 03/04/2007

Quote:
Would you be so kind as to sending the script in the main window in a text document or something in this thread that can be directly highlighted and copied. I cannot quite make out the wording from the actual image you sent in your post.

Tiger Feet,

just watch your e-mail.

Quote:
Also, please could you confirm that the title below needs to be checked in references for this script. Dragon NaturallySpeaking Vocabulary Tools (1.0)

That's correct.

Quote:
I noticed you left the command name blank. Is that because you can name it anything you want?

It's up to you what to name it. However, when writing scripts for testing purposes and when I don't really want to save them, I just run/play them from within the commands editor, by clicking the green arrow in the symbol bar (or pressing F5), whenever possible.

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!

 03/18/2012 09:52 AM
User is offline View Users Profile Print this message

Author Icon
Tiger Feet
Top-Tier Member

Posts: 756
Joined: 12/04/2009

Yes, very cool script Rüdiger.

I gave it a name.  "word free space."  Now when I say that phrase, the little window with the amount of how many words I can add pops up.

The amount of words my one is showing I can add is 151096

Cheers Rüdiger

-------------------------

Tiger Feet

| DNS 12 Professional | KnowBrainer 2012 | Windows 7 Professional /64 Bit | Intel Core i7 Quad Core 3840QM (2.80GHz) 8MB | 16GB RAM. | 240GB Intel 520 Series SSD Boot Drive | 750GB 7200 rpm Secondary Drive  | Plantronics Wireless Handsfree Microphone CS60-USB. |

 03/18/2012 11:17 AM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 4422
Joined: 03/04/2007

Quote:
The amount of words my one is showing I can add is 151096

Tiger Feet,

The difference between your results and mine may be because you are using a UK English user profile, whereas I was using a US English one. With a German user profile, the value is just different once again.

Also, please keep in mind that the value being retrieved is just the total maximum amount of words (also including words from the backup dictionary) that can be added before you hit the ceiling, and therefore doesn't indicate how much you have left to add.

The whole purpose of showing this was just to demonstrate that effectively and realistically, there is no reason to be afraid of running out of space as far as the vocabulary.

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!

 03/18/2012 11:30 AM
User is offline View Users Profile Print this message

Author Icon
Tiger Feet
Top-Tier Member

Posts: 756
Joined: 12/04/2009

Ah, I understand perfectly well now Dr Wilke :-)

Cheers

-------------------------

Tiger Feet

| DNS 12 Professional | KnowBrainer 2012 | Windows 7 Professional /64 Bit | Intel Core i7 Quad Core 3840QM (2.80GHz) 8MB | 16GB RAM. | 240GB Intel 520 Series SSD Boot Drive | 750GB 7200 rpm Secondary Drive  | Plantronics Wireless Handsfree Microphone CS60-USB. |

 03/19/2012 11:11 AM
User is offline View Users Profile Print this message


DessaVan
Power Member

Posts: 63
Joined: 05/11/2011

I absolutely trust what you told me.  I had sent this question to Nuance about the same time I posted here, it just took them awhile to respond.

The response about RAM just sounded wrong to me, which is why I posted it here.

Thanks to you, I now have everything I need.

 

 

 03/18/2012 07:12 AM
User is offline View Users Profile Print this message

Author Icon
monkey8
Top-Tier Member

Posts: 2030
Joined: 01/14/2008

Very cool script Dr Wilke! Does exactly what it says on the tin.



-------------------------


www.pcbyvoice.com
www.pcbyvoice.co.uk

 03/20/2012 06:44 AM
User is offline View Users Profile Print this message


Jomark
Top-Tier Member

Posts: 1307
Joined: 10/19/2006

Rüdiger

Correct me if I am wrong but I seem to recall that Voctools was not included in DNS11 although it was in previous versions.

Is this why this script will not work for me?



-------------------------
Jomark
 03/20/2012 08:26 AM
User is offline View Users Profile Print this message

Author Icon
R. Wilke
Top-Tier Member

Posts: 4422
Joined: 03/04/2007

Quote:
Correct me if I am wrong but I seem to recall that Voctools was not included in DNS11 although it was in previous versions. Is this why this script will not work for me?

John,

this is partially correct. Since version 11, the VocTools utility (the executable) has been dropped, except for the Legal edition as far as I know, however, the DLL is still around, and it must be referenced in order for the script to work. So this missing is maybe why it didn't work for you? Just go up to one of Tiger Feet's postings above.

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!

KnowBrainer Speech Recognition » NaturallySpeaking Speech Recognition » Custom vocabulary

Statistics
27425 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 2 users logged in.
The most users ever online was 2028 on 04/05/2013 at 07:36 PM.
There are currently 127 guests browsing this forum, which makes a total of 129 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2013 FuseTalk™ Inc. All rights reserved.