Smart quotes in contractions in Word 2003
Submitted by specular on Wed, 01/24/2007 - 17:49.
In DNS9, I can't seem to get a smart (curly) apostrophe in contractions like "can't" in Word 2003. When I type it, Word automatically changes it to a curly quote character, but not when I'm dictating. I've checked the settings and can't figure out why it doesn't work. DNS doesn't seem to have any problem in WordPerfect.
Any thoughts?

If you're using UniVoice
If you're using UniVoice you can substitute “” (left quote/right quote) for "" (open quote/close quote). If you are not using UniVoice you can manually add smart quotes/curly quotes to the Vocabulary Editor by looking up “How to Dictate Curly Quotes (Smart Quotes)” in our Quick Tips for a step-by-step solution. Note that we only use smart quotes in all of our postings and we ONLY dictate. No one is allowed to type in our offices
KnowBrainer Support Staff - Lunis Orcutt
Dictated with DNS 9, KnowBrainer and UniVoice
***** To see the original message (with additional hyperlinks, color formatting & JPEGs) and/or additional responses from other speech-recognition experts around the world, please visit the KnowBrainer Technical Support Phorum
You don't need univoice to
You don't need univoice to deal with this problem. There are many solutions, such as:
http://support.lhsl.com/Databases/Dragon/webdisc.n...
http://support.lhsl.com/databases/dragon/webdisc.n...
Matt, we had no intention of
Matt, we had no intention of implying that “specular” needed to purchase UniVoice. We also stated that he could find a step-by-step solution by downloading our Quick Tips but to eliminate confusion we will include the information here:
How to Dictate Curly Quotes (Smart Quotes) Instead of Straight Quotes – Thanks to Graham Hendry
You can add the ANSI characters for left/right double quote to your Vocabulary (Smart Quotes in Microsoft Word, IE6, DragonPad and WordPerfect).
1. Say “Edit Vocabulary” or go to Words|View/Edit and with the cursor in the Written Form hold down the Alt key and on the NUMERIC KEYPAD type 0147(for Left double quote). Add a suitable phrase for the Spoken Form like “Left Quote”.
2. Click the Properties button and select “Keeps capitalization and has no following space”.
3. Repeat for Right double quote - Alt + 0148 and with Properties as “Keeps capitalization and has no preceding space”.
You can add any ANSII characters in this way - but not UNICODE characters. ANSII codes are shown when you go to the Windows Character Map (charmap.exe) and click on the appropriate character. You can also download various character charts from Microsoft at:
http://office.microsoft.com/en-gb/assistance/HA011...
KnowBrainer Support Staff - Lunis Orcutt
Dictated with DNS 9, KnowBrainer and UniVoice
You're right, you did
You're right, you did mention an alternative. I stand corrected.
But there are at least three other alternatives: an AutoClose macro, a regular Word macro, and, if you have professional, a Dragon macro.
Thank you all for the tips.
Thank you all for the tips. I think I'll go with a Word macro. Editing the vocabulary would be tedious, as I would have to change every contraction, i.e. "can't", "wouldn't", etc. I'm really surprised that Nuance doesn't have the support for Word down correctly. After all, it is the most popular word processing program, and smart quotes is what most people want. Plus, it can't be that hard to get right since WordPerfect works perfectly with DNS. Oh well. Do people think that if I sent an e-mail that they would actually try to fix the problem?
You could of course get
You could of course get round the problem by not using contractions!
Possibly not of much help to you either but when using DNS 9 and Word 2007 the smart quotes, double, single and apostrophe are rendered "correctly". This in spite of only limited Dragon support until Office 2007 is released.
Nuance are in a no-win situation as in my experience roughly half of my clients DO NOT (I have contractions turned off) want "curly quotes".
In MS Word you have the option to turn them off as they are part of AutoCorrect. In Word 2007 turning them off means that you get straight quotes with Dragon. I'm sorry to say that it looks as though the problem was with previous versions of Word rather than Dragon. (All WordPerfect can now say "I told you so".)
Graham
Nuance could put in an
Nuance could put in an option to automatically put in the curly quote or not. But my hopes for them to fix this issue for Word 2003 are pretty dashed, if Word 2007 works fine.
I'm a long-time WordPerfect user (going all the way back to 4.2 for DOS), but I have to use Word for certain purposes.
Curly apostrophe in contractions and "apostrophe ess" Word 2007
Hi,
Old post but I'm having the same problem as the original poster. Using DNS 10 Pro and Word 2007. When I dictate a contraction or a word ending in "apostrophe ess", the apostrophe is straight, but I would like it curly. I've tried using AutoCorrect and the ANSII characters there but it doesn't work. Any solution?
Thanks, Ben
You Will Need to Create an Advanced-Scripting Command
Although this feature isn't native to NaturallySpeaking, if it's important, you could create an Advanced-Scripting command and add this capability. Simply deploy your command after you finish your document. See following:
Sub Main
SendDragonKeys "{Alt+h}"
Wait .5
SendDragonKeys "'{Tab}'{Enter}"
Wait .5
SendSystemKeys "{Esc}"
End Sub
Lunis Orcutt - Developer of KnowBrainer &
Host of the http://www.TheVoiceRecognitionStore.com
A Nuance Gold Certified Endorsed Dragon NaturallySpeaking Partner/Trainer
ALWAYS Ask If Your Speech Recognition Partner Is Nuance Certified
Advanced-Scripting command...
Although this feature isn't native to NaturallySpeaking, if it's important, you could create an Advanced-Scripting command and add this capability. Simply deploy your command after you finish your document. See following:
Sub Main
SendDragonKeys "{Alt+h}"
Wait .5
SendDragonKeys "'{Tab}'{Enter}"
Wait .5
SendSystemKeys "{Esc}"
End Sub
Lunis Orcutt - Developer of KnowBrainer &
Host of the http://www.TheVoiceRecognitionStore.com
A Nuance Gold Certified Endorsed Dragon NaturallySpeaking Partner/Trainer
ALWAYS Ask If Your Speech Recognition Partner Is Nuance Certified
Thanks for that...how do I use Advanced-Scripting? Is the script you specified above the one to change straight apostrophe to a smart right single quote?
Thanks, Ben
specular wrote: In DNS9, I
In DNS9, I can't seem to get a smart (curly) apostrophe in contractions like "can't" in Word 2003. When I type it, Word automatically changes it to a curly quote character, but not when I'm dictating. I've checked the settings and can't figure out why it doesn't work. DNS doesn't seem to have any problem in WordPerfect.
Any thoughts?
I do not know if it is the same in Word 2003, but in Word 97 you use AutoFormat to set the type of quotes that you want. I go to Format \ AutoFormat \ Options, and then set the options that you want. Personally I favour the straight quotes, so I have that box unticked.
Whenever I say open quote, I get ".
Quentin
Typed versus dictated
In DNS9, I can't seem to get a smart (curly) apostrophe in contractions like "can't" in Word 2003. When I type it, Word automatically changes it to a curly quote character, but not when I'm dictating. I've checked the settings and can't figure out why it doesn't work. DNS doesn't seem to have any problem in WordPerfect.
Any thoughts?
I do not know if it is the same in Word 2003, but in Word 97 you use AutoFormat to set the type of quotes that you want. I go to Format \ AutoFormat \ Options, and then set the options that you want. Personally I favour the straight quotes, so I have that box unticked.
Whenever I say open quote, I get ".
Quentin
The apostrophes are curly when typed, its only when dictated, because I think DNS10 specifies this as a straight quote using ANSII.
Quote: The apostrophes are
The apostrophes are curly when typed, its only when dictated, because I think DNS10 specifies this as a straight quote using ANSII.
bpchia,
For whatever reasons, DNS applies its own rules when dictating punctuation. What this means is that in Microsoft Word and Microsoft Excel, particularly versions 2000-2007, the auto correct and autoformat features settings are bypassed, or more likely ignored.
Setting up curly quotes (smart quotes) is a relatively simple process done through the Vocabulary Editor. However, dealing with apostrophes is a little bit more complex.
First, what you meant above was either ANSI or ASCII. There is no such animal as ANSII.
Second, the curly or smart apostrophe is really, and simply, a curly or smart single quote. Used in contractions or dictated as "apostrophe-ess" it is simply a "close single quote". However, getting this to work properly when attempting to dictate contractions is tricky. This is simply because the ITN rules for contractions use the "straight close single quote". Contractions do not use the settings in the Vocabulary Editor. On the other hand, you can change the properties settings for "apostrophe-ess" so that it will always display the appropriate curly quote when and where this is supported by the specific font that you're using. Note that some applications (mostly the type of font that is used or allowed) may not support any kind of "smart quote" regardless of whether it's double or single. So, how do you go about managing this issue.
As regards "apostrophe-ess", try the following:
1. Open the Vocabulary Editor.
2. Locate the "apostrophe-ess" entry in the punctuation section.
3. Click on the Properties button.
4. Put a checkmark in the Use alternate written form 1 checkbox
5. In the text box to the right of alternate written form 1, press and hold down the Alt key, then with the Alt key held down, type in 0146.
6. When you release the Alt key you will see what appears to be a single quote (standard). However, what will result when you dictate "apostrophe-ess" is that it will place a "close smart single quote" quotation mark in your document if the font used supports this. Otherwise, it will use a standard end single quotation mark. So, essentially you have what you're looking for unless the font does not support it.
7. One other thing that you need to do is to decide what spacing you want before and after this form. For example, in general, you don't want spacing before before dictating "apostrophe-ess", so you have to change the formatting for the alternate written form by clicking on the Format button to the right of the "Use alternate written form 1" and make sure that you set the "Insert space before and after" settings so that they reflect the spacing that you want. Note that you need to change the spacing properties in the format dialog for the alternate written form. Otherwise, you may not get the results that you want and you can't change it for the original form because these are grayed out when using an alternate written form. Also, the formats for the original form and the alternate written form can be different, so you need to make sure that you make the changes in the appropriate place.
Note that Alt 0146 is the ASCII, not ANSI, code for the "smart single end quote". You have a sequence of ASCII codes for these types of quotation marks. Alt 0145, Alt 0146, Alt 0147, and Alt 0148. The first two have to do with single quotes. The second two have to do with double quotes. Regardless, all of these ASCII codes, when properly used in the Vocabulary Editor, produce the smart quotation marks as appropriate to the specific ASCII code used.
The problem with contractions must be handled a little differently. Basically, you use the exact same procedures as noted in #1 through #6 above for "apostrophe-ess", except that you perform this operation on the "apostrophe", which is above the "apostrophe-ess".
However, when dictating contractions, as already noted above, DNS uses the ITN rules which uses a straight single quote. For example, "can't", "don't", etc. won't display the style of single curly quote that you want. If you're dictating a word and you want to add your own personal contraction to it (i.e., the word that doesn't normally display as a contraction when dictated), then you can simply dictate by saying "apostrophe" wherever you want the apostrophe displayed, and it will display the way you want it (smart/curly).
For contractions that you want the "apostrophe" to be smart/curly, you will have to select it and then re-dictate it. Take the following example:
My mother can't go to the store.
Notice that in the above, the "apostrophe" is the standard straight apostrophe. You can change it by selecting it (i.e., saying "select apostrophe") and then re-dictating "apostrophe" so that you get the following:
My mother can’t go to the store.
It may be difficult to see in this example but by using this process I have replaced the "straight apostrophe" with a curly one.
Also, pay careful attention to #7 above. You may find that you do not get exactly the results that you want unless you set the before and after spacing appropriately and in the proper place otherwise you may get "can ’ t" instead of "can’t".
Lastly, it is probably a good idea to retrain any of the changes that you have made. It is also a good idea to save your user, as well as close it and reopen it just to make sure that your changes are saved and that they take effect. Generally it isn't necessary to do this. But if you take that to the bank, you may find an occasion from time to time where the bank is closed. What I mean is that it can happen that the changes don't reflect themselves in your dictation immediately, in which case saving your user files, closing your user and reopening it usually resolves this circumstance.
Chuck Runquist
Owner, GEMCCON - The Choice of Intelligence
Speech Recognition Consulting and Training
Intelligence is the ability to adapt to change. - Stephen Hawking
Thank you!
Thanks so much for your detailed and comprehensive response Chuck, it all worked as you said.
Still wondering about Lunis' comment regarding creating an Advanced-Scripting command to add capability to change the apostrophes in contractions:
"Simply deploy your command after you finish your document. See following:
Sub Main
SendDragonKeys "{Alt+h}"
Wait .5
SendDragonKeys "'{Tab}'{Enter}"
Wait .5
SendSystemKeys "{Esc}"
End Sub"
Not sure how to deploy the command and what program to use and if this is specific to changing close-single-quotes to close-smart-quotes...
Ben
another method
Because this problem mostly occurs in Microsoft Word, I find it simpler to create an AutoClose macro. It is a macro that executes when you close a document. You can just use a standard Word macro (use the macro recorder to create it), but have it execute as AutoClose.
Do you mean a "find and replace" macro?
Thanks for this suggestion, do you mean record a macro that is as follows:
-Edit>Replace
-Find: ', replace with ’
-Replace all
-OK
Finish.?
Thanks, Ben
bpchia wrote: Thanks for
Thanks for this suggestion, do you mean record a macro that is as follows:
-Edit>Replace
-Find: ', replace with ’
-Replace all
-OK
Finish.?
Thanks, Ben
Sort of. This is what my Word AutoClose macro looks like:
Sub AutoClose()
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "'"
.Replacement.Text = "'"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
With Selection.Find
.Text = """"
.Replacement.Text = """"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
End Sub
You might want to do some quick research to learn how to write an AutoClose macro (MSoft has an explanation somewhere). The Word macro recorder is also quite helpful.
Copy our Script
Still wondering about Lunis' comment regarding creating an Advanced-Scripting command to add capability to change the apostrophes in contractions:
Sorry to keep you waiting on this answer. Please note that always answer questions 1st on the KnowBrainer Speech Recognition Forums but when time permits, we also support the speechcomputing forum.
To create an Advanced-Scripting command in DNS Pro/Medical/Legal do the following:
1. Say “New Command”
2. Change the default Command Type from Text and Graphics to Advanced-Scripting
3. Copy the script that we pasted into our previous answer right over the top of everything in the macro box (including Sub Main and End Sub).
4. Don't forget to name your command (see MyCommand Name)
Lunis Orcutt - Developer of KnowBrainer &
Host of the http://www.KnowBrainer.com/PubForum
A Nuance Gold Certified Endorsed Dragon NaturallySpeaking Partner/Trainer
ALWAYS Ask If Your Speech Recognition/Microphone Vendor Is Nuance Certified
How do you deploy the command?
Just say the name of the command?
Thanks for your reply, very helpful.