Date   

Re: Pronunciation: Unwanted Dates

Gene
 

It sounds like Eloquence, but it is technically different. I don't know if you can get it legally or where you would find it.

Gene

-----Original Message-----
From: Hope Williamson
Sent: Sunday, September 27, 2020 5:54 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Pronunciation: Unwanted Dates

Well it's an eloquence voice. I can't tell you that, or they'll have to
kill me.


Re: Pronunciation: Unwanted Dates

Hope Williamson
 

Well it's an eloquence voice. I can't tell you that, or they'll have to
kill me.


Re: Pronunciation: Unwanted Dates

 

Pele,

          And if you want this to apply strictly to a digit sequence, followed by the word "Mary" and nothing else, then omit the period asterisk that I have after Mary, but keep the close parenthesis.

           As written right now, it would apply to a digit sequence of any length, followed by any word or phrase that starts with Mary.  It has the potential to capture some very odd instances were you to have a phrase in text like, "175 Mary had a little lamb,"  Though that still would end up with the phrase being pronounced as one hundred seventy five Mary had a little lamb.  I doubt the change is needed, but if you suddenly start having odd issues with phrases starting with digits and the word Mary following you may need to tweak. 
--

Brian - Windows 10 Pro, 64-Bit, Version 2004, Build 19041  

It’s hard waking up and realizing it’s not always black and white.

     ~ Kelley Boorn

 


Re: Pronunciation: Unwanted Dates

 

Pele,

             Presuming this does not need to be generic beyond a string that's 2 digits followed by a space followed by Mary, try the following.  If you find there are other cases where you're having a month announced when it shouldn't be then the regular expression would need to be tweaked to handle the alternatives.  I am giving the regular expression you need to use, and the replacement string, each on its own line after a label to indicate which is is which, before I give the step-by-step instructions for adding that exception to the NVDA Default Dictionary.

regex: (\d+)\s(Mary.*)
 
replacement: \1 \2
 
Adding a Regular Expression match to the Default Dictionary
1. Hit NVDA+N,P,D,D   NVDA Main Menu, Preferences, Speech dictionaries, Default Dictionary
2. Hit ALT+A to activate the Add Button or navigate to it and activate it.
3. In the dialog that appears, paste or enter a regular expression in the Pattern edit box.
4. Paste or enter the replacement you want to hear in the Replacement edit box.  If you're using a capturing regular expression this may be a sequence of backslashes followed by the numbers of the capture groups you're using.
5. The Comment edit box should either have a comment that helps you to remember the purpose of this dictionary entry, which is preferable, or be left blank.
6. Leave the Case Sensitive checkbox unchecked.
7. The Type radio button should be set to Regular Expression.
8. Activate the OK button
--

Brian - Windows 10 Pro, 64-Bit, Version 2004, Build 19041  

It’s hard waking up and realizing it’s not always black and white.

     ~ Kelley Boorn

 


Re: Pronunciation of phone numbers

 

On Sun, Sep 27, 2020 at 12:41 AM, Luke Davis wrote this regular expression:
\(?(\d)(\d)(\d)(?:\)?[ \.-]|\))(\d)(\d)(\d)[ \.-](\d)(\d)(\d)(\d)\D
-
By the way, that's very, very elegant for the purpose.  I never want you to think that my comments on the group are meant to be critical/disparaging in any way.  I'm just generally going for "quick and dirty for the common cases" while you are being incredibly thorough, and the latter is more complicated and requires great skill.

I'd actually forgotten about non-capturing groups with alternatives.  A master stroke!
--

Brian - Windows 10 Pro, 64-Bit, Version 2004, Build 19041  

It’s hard waking up and realizing it’s not always black and white.

     ~ Kelley Boorn

 


Re: Pronunciation: Unwanted Dates

Leslie
 

I’ve never heard of the IBM. TDS. Voice.  Where diddid that come from and how do you get it?  Is it a good, clear voice?  I have the current version of Windows 10.  Does it work with these things?

 

Sent from Mail for Windows 10

 

From: Pele West
Sent: Sunday, September 27, 2020 4:13 AM
To: NVDA
Subject: [nvda] Pronunciation: Unwanted Dates

 

Hi Everyone

 

I am running windows 7 with the latest version of NVDA using the IBM TTS

Voice.

 

I have lots of music on my machine. If there is a track beginning "Mary"

preceded by a track number, NVDA speaks "March 4th y" instead of "04

Mary".

 

Is there a setting or a dictionary entry I can change to stop this

happening?

 

Thanks

 

Pele West

 

 

 

 

 

 


Re: Pronunciation of phone numbers

 

George,

           You're quite welcome.  I'm curious whether you used Luke's "version one" that did not have the backslash capital D at the end, or his "version two" that did?  Also, did you include the commas in your replacement string, and are they giving an adequate pause between the components of the phone number?

--

Brian - Windows 10 Pro, 64-Bit, Version 2004, Build 19041  

It’s hard waking up and realizing it’s not always black and white.

     ~ Kelley Boorn

 


Re: Pronunciation of phone numbers

George McCoy
 

Thanks to Brian and Luke for their help on this. Luke, yours works perfectly for me in all cases.


George

On 9/26/2020 11:01 PM, Luke Davis wrote:
On Sat, 26 Sep 2020, Brian Vogel wrote:

George,Give me a short list of examples that cover the range of formats you need for this to work with and I can tweak the regex.  Trying to explain how is
not something I'm inclined to do, at least not on-group, as it's really off-topic if you get hot and heavy into regular expression syntax.--
Why not just use something like this?  Untested, but it should catch periods, dashes, and spaces.
Replacement uses a comma for pausing.

Regex: \(?(\d)(\d)(\d)\)?[ \.-](\d)(\d)(\d)[ \.-](\d)(\d)(\d)(\d)

Replacement: \1 \2 \3, \4 \5 \6, \7 \8 \9 \10

Luke




Re: Inserting a brief pause, intentionally

 

Giles,

          Your experience meshes with what I remember when playing with this a long while back.  Although screen readers definitely generate speech, they are not dedicated speech generating devices, and thus don't generally have capabilities for "the dramatic pause" built in. Admittedly, the need is relatively rare, but it would be nice if this could be done with ease.

--

Brian - Windows 10 Pro, 64-Bit, Version 2004, Build 19041  

It’s hard waking up and realizing it’s not always black and white.

     ~ Kelley Boorn

 


Re: Inserting a brief pause, intentionally

Giles Turnbull
 

I suspect it is synth-specific as to how much pause you get. I asked about something similar a couple of years ago (though can't find the question now) because I sometimes use NVDA to read poems that I have written but haven't memorised.

The only lengths of pause I can get with the two synth voices I use - SAPI5 Zira and Sapi5 Hazel - are the pause for a comma and the pause for a full stop / period. A semicolon seems to pause for the same length as a comma, and a dash doesn't pause at all.

I was hoping to find a way to combine pauses, such as a full stop followed by a comma to pause for a full stop and a half, or two full stops being double the length of one full stop ... but that just doesn't work!

when I did an audiobook of my first poetry pamphlet I went into a recording studio and recorded half of the poems read by me from memory, and the other half using SAPI5 Hazel. The benefit of doing that was, for the few times I wanted a bit extra pause, I could edit the mp3 file to insert an extra quarter or half second of pause. That sadly doesn't allow adjusting the pauses for real-time NVDA use.

I encountered a similar problem with a pair of Orcam glasses I used to own. They also pause for commas and pause longer for full stops, but that's as far as it goes.

Giles


Re: Introducing the Quick Dictionary add-on #addonrelease

Oleksandr Gryshchenko
 

Dear Soloman,
Just reviewed the list of available languages, and, unfortunately, there is no Tamil among them.
I came to the conclusion that the remote dictionary server I chose has a limited choice of available languages and we need to look for another similar service.
I hope to be able to change the remote dictionary used in future versions to a more advanced one.
Good luck!


Re: Introducing the Quick Dictionary add-on #addonrelease

Oleksandr Gryshchenko
 

Hi Ibrahim, Soloman, Gary, William and everyone who reads this message :)
Friends, I didn't take into account one detail, namely that the keyboard shortcut NVDA + D is already used in NVDA...
I'll see what a handy keyboard shortcut we can use and change it nearest time.

Ibrahim Abedrabbo wrote:
> Which languages does this dictionary cover? Is it only English-English, or English to other languages?
The online dictionary used in this add-on supports only about 27 languages. Coverage depends on the specific language selected.
For example, about 20 translation languages are available for English, but only one for Chinese...
A full list of supported language combinations I will provide at the end of this message.

Soloman wrote:
> Is there any chance of you getting it to work offline in future version?
This add-on simply sends requests to the remote server and with NVDA announces the result. Of course, we can modify the add-on so that it will works with the dictionary installed on your computer.
I'm going to look for available dictionary databases that could be installed locally and used in the add-on.

Gary Metzler wrote:
> I am having a problem trying to register the add on. I get the email with the code and I enter it but, when I go to next nothing happens.  Is there a step that I am missing?  Thanks for any help.
Gary, you don't need to immediately register your own remote dictionary access token to try the add-on.
When you install the add-on, it already has a previously registered access token and you can use it immediately. Until there are not many users of the add-on - this code will be available.
I will try to register another access token and see what problems may arise during the registration process.

William Wong wrote:
> Well, why not using request module  to send request to check dict meaning from some popular website?
William, I agree that it can be done this way. By the way, this add-on also uses the urllib.request module.
But it seems to me that using the API is much more convenient and reliable than parsing a web page.
Unfortunately it is really quite difficult to find quality API services with large free quotas.
For example, the following online dictionary service allows to perform only 300 queries per day [https://www.lexicala.com/k-dictionaries]...

List of language combinations available in the remote dictionary service:
    "be-be",
    "be-ru",
    "bg-ru",
    "cs-cs",
    "cs-en",
    "cs-ru",
    "da-en",
    "da-ru",
    "de-de",
    "de-en",
    "de-ru",
    "de-tr",
    "el-en",
    "el-ru",
    "en-cs",
    "en-da",
    "en-de",
    "en-el",
    "en-en",
    "en-es",
    "en-et",
    "en-fi",
    "en-fr",
    "en-it",
    "en-lt",
    "en-lv",
    "en-nl",
    "en-no",
    "en-pt",
    "en-ru",
    "en-sk",
    "en-sv",
    "en-tr",
    "en-uk",
    "es-en",
    "es-es",
    "es-ru",
    "et-en",
    "et-ru",
    "fi-en",
    "fi-ru",
    "fi-fi",
    "fr-fr",
    "fr-en",
    "fr-ru",
    "hu-hu",
    "hu-ru",
    "it-en",
    "it-it",
    "it-ru",
    "lt-en",
    "lt-lt",
    "lt-ru",
    "lv-en",
    "lv-ru",
    "mhr-ru",
    "mrj-ru",
    "nl-en",
    "nl-ru",
    "no-en",
    "no-ru",
    "pl-ru",
    "pt-en",
    "pt-ru",
    "ru-be",
    "ru-bg",
    "ru-cs",
    "ru-da",
    "ru-de",
    "ru-el",
    "ru-en",
    "ru-es",
    "ru-et",
    "ru-fi",
    "ru-fr",
    "ru-hu",
    "ru-it",
    "ru-lt",
    "ru-lv",
    "ru-mhr",
    "ru-mrj",
    "ru-nl",
    "ru-no",
    "ru-pl",
    "ru-pt",
    "ru-ru",
    "ru-sk",
    "ru-sv",
    "ru-tr",
    "ru-tt",
    "ru-uk",
    "ru-zh",
    "sk-en",
    "sk-ru",
    "sv-en",
    "sv-ru",
    "tr-de",
    "tr-en",
    "tr-ru",
    "tt-ru",
    "uk-en",
    "uk-ru",
    "uk-uk",
    "zh-ru"

I wish everyone a great day!


Pronunciation: Unwanted Dates

Pele West
 

Hi Everyone

I am running windows 7 with the latest version of NVDA using the IBM TTS
Voice.

I have lots of music on my machine. If there is a track beginning "Mary"
preceded by a track number, NVDA speaks "March 4th y" instead of "04
Mary".

Is there a setting or a dictionary entry I can change to stop this
happening?

Thanks

Pele West


Re: Introducing the Quick Dictionary add-on #addonrelease

William
 

Well, why not using request module  to send request to check dict meaning from some popular website?



Oleksandr Gryshchenko 於 27/9/2020 6:46 寫道:

Hi Roger,
This add-on uses the online dictionary https://tech.yandex.com/dictionary/
Unfortunately, I didn't find another online dictionary service with more or less adequate quotas for use by free users.
In addition, dictionary articles here are quite detailed.
But, of course, if I can find the best service - I will remake the add-on for it.
It will be enough to rewrite only two modules of the add-on (dictionary.py and languages.py).


Re: nvda +D = long description

Gene
 

There is a command NVDA key d that will open the long description in a new window.

Gene

-----Original Message-----
From: Rob Hudson
Sent: Sunday, September 27, 2020 3:30 AM
To: nvda@nvda.groups.io
Subject: Re: [nvda] nvda +D = long description

I've never actually seen one of those. Although I do not believe NVDA indicates when a longdesc is actually available, does it?

----- Original Message -----
From: "Joseph Lee" <joseph.lee22590@gmail.com>
To: <nvda@nvda.groups.io>
Date: Sun, 27 Sep 2020 01:02:10 -0700
Subject: Re: [nvda] nvda +D = long description

Hi,
A long description (often shortened to "longdesc") is used by web authors to provide additional details about a web element (typically images) via a dedicated description. As such, it is employed in browse mode only.
Cheers,
Jsoeph

-----Original Message-----
From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of Aschalew Byness
Sent: Sunday, September 27, 2020 12:53 AM
To: nvda <nvda@nvda.groups.io>
Subject: [nvda] nvda +D = long description

Hi friends
May you explain to me what long description
NVDA+d means? When I read the nvda user guide, i couldn't understand
what long description
NVDA+d means and its use.











Re: Introducing the Quick Dictionary add-on #addonrelease

Gary Metzler
 

Hi,

 

I am having a problem trying to register the add on. I get the email with the code and I enter it but, when I go to next nothing happens.  Is there a step that I am missing?  Thanks for any help. 

 

From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of Ibrahim Abedrabbo
Sent: Saturday, September 26, 2020 6:59 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Introducing the Quick Dictionary add-on #addonRelease

 

Hi Oleksandr,

Which languages does this dictionary cover? Is it only English-English, or English to other languages?

 

Regards

 



On Sep 26, 2020, at 6:46 PM, Oleksandr Gryshchenko <kita.zup+groups@...> wrote:

Hi Roger,
This add-on uses the online dictionary https://tech.yandex.com/dictionary/
Unfortunately, I didn't find another online dictionary service with more or less adequate quotas for use by free users.
In addition, dictionary articles here are quite detailed.
But, of course, if I can find the best service - I will remake the add-on for it.
It will be enough to rewrite only two modules of the add-on (dictionary.py and languages.py).


Re: nvda +D = long description

Rob Hudson
 

I've never actually seen one of those. Although I do not believe NVDA indicates when a longdesc is actually available, does it?

----- Original Message -----
From: "Joseph Lee" <joseph.lee22590@gmail.com>
To: <nvda@nvda.groups.io>
Date: Sun, 27 Sep 2020 01:02:10 -0700
Subject: Re: [nvda] nvda +D = long description

Hi,
A long description (often shortened to "longdesc") is used by web authors to provide additional details about a web element (typically images) via a dedicated description. As such, it is employed in browse mode only.
Cheers,
Jsoeph

-----Original Message-----
From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of Aschalew Byness
Sent: Sunday, September 27, 2020 12:53 AM
To: nvda <nvda@nvda.groups.io>
Subject: [nvda] nvda +D = long description

Hi friends
May you explain to me what long description
NVDA+d means? When I read the nvda user guide, i couldn't understand
what long description
NVDA+d means and its use.











Re: nvda +D = long description

Gene
 

This appears to be an accessibility feature for blind users some web site developers implement. Let's say you are on something, that is usually a graphic, as the manual says and you want to see if there is more description available than you hear, if you hear any. Issuing the long description command will open a new window and display that longer description provided by the site designer.

Gene

-----Original Message-----
From: Aschalew Byness
Sent: Sunday, September 27, 2020 2:52 AM
To: nvda
Subject: [nvda] nvda +D = long description

Hi friends
May you explain to me what long description
NVDA+d means? When I read the nvda user guide, i couldn't understand
what long description
NVDA+d means and its use.


Re: nvda +D = long description

 

Hi,
A long description (often shortened to "longdesc") is used by web authors to provide additional details about a web element (typically images) via a dedicated description. As such, it is employed in browse mode only.
Cheers,
Jsoeph

-----Original Message-----
From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of Aschalew Byness
Sent: Sunday, September 27, 2020 12:53 AM
To: nvda <nvda@nvda.groups.io>
Subject: [nvda] nvda +D = long description

Hi friends
May you explain to me what long description
NVDA+d means? When I read the nvda user guide, i couldn't understand
what long description
NVDA+d means and its use.


nvda +D = long description

Aschalew Byness
 

Hi friends
May you explain to me what long description
NVDA+d means? When I read the nvda user guide, i couldn't understand
what long description
NVDA+d means and its use.

7581 - 7600 of 85142