Registering and logging in removes this ad.
Registering and logging in removes this ad.
How to detect what language Dragon is using
Submitted by wigsta on Wed, 07/30/2008 - 13:39.
Hi all
I hope you can help me with something. I'm wondering if there is a way to detect (in Python) if a user is using an English or French vocabulary? For example, if the user has selected French then a different grammar will be loaded. Also, to be able to swap between the two, do you have to buy the French version of Dragon?
Thanks for any help / sugesstions.


Hello, You need to different
Hello,
You need to different versions if you want to do French and English. With python (natlink/unimacro) it is possible to detect which language is active, and therefore also which vocabulary. But switching from one to the other, I believe, you should always do yourself.
Technically it is possible to open another user profile with natlink. This is done for example when you start voicecode. But how to realise something sensible in your case I could not think of.
About licences: maybe with a French version you have English with it. Anyway the famous "Dutch package" is 4 languages including French in one.
Greetings, Quintijn
Quintijn wrote: Hello, You
Hello,
You need to different versions if you want to do French and English. With python (natlink/unimacro) it is possible to detect which language is active, and therefore also which vocabulary. But switching from one to the other, I believe, you should always do yourself.
Technically it is possible to open another user profile with natlink. This is done for example when you start voicecode. But how to realise something sensible in your case I could not think of.
About licences: maybe with a French version you have English with it. Anyway the famous "Dutch package" is 4 languages including French in one.
As regards French vs. English, you must have the French version in order to do any dictation or transcription in French. However, all international versions contain "World English." World English supports US English users. At least that's my understanding.
On the other hand, why reinvent the wheel. If you have profiles created for French and/or English, it is a very simple process to switch users directly from within DNS. It is also very easy to tell which language profile is currently open in DNS. It isn't necessary to go through natlink (NatPython) or Vocola to determine which language version is active.
Chuck Runquist
Former DNS SDK & Senior Technical Solutions PM for DNS
If you hear the sound of hoofbeats, think horses not zebras.
Law of Parsimony (Occam's razor)
Chuck Runquist wrote:
On the other hand, why reinvent the wheel. If you have profiles created for French and/or English, it is a very simple process to switch users directly from within DNS. It is also very easy to tell which language profile is currently open in DNS. It isn't necessary to go through natlink (NatPython) or Vocola to determine which language version is active.
Agree, Chuck, no need to bother with natlink here.
The Dutch package contains 5 versions of English including US and UK.
Quintijn
Hi Quintijn Thank you for
Hi Quintijn
Thank you for your comments.
Sorry for not explaining properly but I have a grammar that i have written for UK English. I would like to open it up to the French as well. I was thinking of converting the grammar into French but I would like to check to see if French is active before the grammar is loaded.
Do you have the code on how to do this through natlink?
Thanks again
Better mail me private,
Better mail me private, through the buttons on this site,
Quintijn
Quintijn wrote: Better mail
Better mail me private, through the buttons on this site,
To email privately, click his name above (in blue) then click the "contact" tab and take it from there. The site will email him for you.