GNOME Bugzilla – Bug 413457
Arrowing over the "-" character can result in dash being heard twice
Last modified: 2007-03-01 17:29:08 UTC
Halim Sahin wrote: > Perhaps a little bug: > > I am getting in German > Strich Bindestrich, > after typing only one - > The Strich comes from the german translation and the Bindestrich perhaps > directly from the synthesizer.
Created attachment 83642 [details] [review] Patch to modify how 'dash' is treated for verbalized punctuation It turns out that the "-" is being morphed into "dash-" via our verbalized punctuation code. The patch changes the punctuation classification of the "-" character to REPLACE versus INSERT. I'm not sure if this is the right thing to do. Rich, do you remember reasons for why "-" is an INSERT versus REPLACE?
Created attachment 83643 [details] [review] Patch to modify how 'dash' is treated for verbalized punctuation It turns out that the "-" is being morphed into "dash-" via our verbalized punctuation code. The patch changes the punctuation classification of the "-" character to REPLACE versus INSERT. I'm not sure if this is the right thing to do. Rich, do you remember reasons for why "-" is an INSERT versus REPLACE?
Both patches are identical in the previous comments. I'm not sure what happened with Bugzilla.
Halim reports: "And I can tell you that the patch fixed the Problem."
> Rich, do you remember reasons for why "-" is an INSERT versus REPLACE? Negative number maybe? Dunno. Mike might have an idea. Could be just a bug.
Tested with negative numbers and it seems to work well. The only issue, which I don't think is related to this bug/patch is that if a negative number is the first thing on a line, we'll hear "dash" followed by the number instead of "minus" followed by the number. I think that might be another special case to add to bug 392939. Closing this bug and reopening bug 392939.