Date   

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.


Re: Pronunciation of phone numbers

 

Luke,

           Just to be clear, I am really not, ever, trying to handle every possible odd exception condition that might come up.  If what I craft gets 99.5% of all commonly used formats, I'm fine.  If someone makes a typo like leaving no space between the closing parenthesis of an area code and the exchange, or were to skip a hyphen between the area code and the exchange, I'm more than happy to have that read badly, as it should clue in the listener that something's off about the formatting.

            I've had to write hellishly complicated regexes in the past that needed to handle a multitude of normal and exception conditions, and they exhaust me when they get to that extent, particularly when "that extent" is really unlikely to be necessary.

            But George should have his solution at this point, that's for sure!
--

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

Luke Davis
 

On Sat, 26 Sep 2020, Brian Vogel wrote:

would lead to the [ \.-] character class for the two separation regions.  Although I must say I've never seen anyone use a period as the separator in a
phone number, but just because I haven't seen it doesn't mean it doesn't exist, just that it's not common in my little corner of the world.
I don't know what the reasoning for it is, but I have seen it in some places, usually done by North American businesses. I always assumed it was somehow related to fonts on business cards or the like, or maybe just a desire to be different.

I've seen it a lot in the whois database as well.

Luke


Re: Pronunciation of phone numbers

 

On Sun, Sep 27, 2020 at 12:01 AM, Luke Davis wrote:
Why not just use something like this?
-
Well, your example is exactly what my tweak would have been, so, sure.  All I wanted was a set of examples of exactly what formats could be expected, which would lead to the [ \.-] character class for the two separation regions.  Although I must say I've never seen anyone use a period as the separator in a phone number, but just because I haven't seen it doesn't mean it doesn't exist, just that it's not common in my little corner of the world.
 
--

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

Luke Davis
 

On Sun, 27 Sep 2020, Luke Davis wrote:

Regex: \(?(\d)(\d)(\d)\)?[ \.-](\d)(\d)(\d)[ \.-](\d)(\d)(\d)(\d)
I should note, that the one case that won't handle, is:

(###)###-####

I suspect we would have to get creative to manage that one. Along the lines of:

\(?(\d)(\d)(\d)(?:\)?[ \.-]|\))(\d)(\d)(\d)[ \.-](\d)(\d)(\d)(\d)\D

I added a \D at the end to hopefully make sure we're not grabbing something that isn't a phone number.
The former expressions would have munged things like:

123-456-789090009876

(Like a serial number or tracking number or similar.)

Luke


Re: Pronunciation of phone numbers

Luke Davis
 

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: Pronunciation of phone numbers

George McCoy
 

Sure thing, Brian. I wasn't looking for a short course on regular expressions. :) I'd like to handle phone numbers where the area code, excnagge and local sections are separated with dashes or spaces. The area code may or may not be enclosed in parentheses.

###-###-####

(###)-###-####

(###) ### ####

### ### ####

I don't expect to handle a phone number containing both spaces and dashes as separaters.


I really appreciate your help on this. I'm sure it will be of general benefit to Espeak users.


George

On 9/26/2020 10:45 PM, 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.
--

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,

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.
--

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
 

Brian,


This regex works for phone numbers formatted with dashes, with or without parentheses, but fails when it encounters spaces.

If I replace the dashes in the pattern string with spaces, it works with spaces, but, of course, not with dashes.


George

On 9/25/2020 10:25 PM, Brian Vogel wrote:
George,

         If you use either of the formats I previously mentioned, whether or not the area code is enclosed in parentheses or not, you can use the instructions that follow.  I am going to give the regular expression (regex) you will want to use first and the replacement string right afterward before giving the step-by-step instructions that would be used to do this for any regular expression and replacement.  You begin copying the regex with the opening open parenthesis and stop at the end of the line.  For the replacement, if you do not want NVDA to say, "area code," before the first three digits then you can omit those two words and start copying at the opening backslash until the end of the line.

regex: \(?(\d)(\d)(\d)\)?[ -](\d)(\d)(\d)-(\d)(\d)(\d)(\d)
 
replacement: area code \1 \2 \3 \4 \5 \6 \7 \8 \9 \10
 
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: Introducing the Quick Dictionary add-on #addonrelease

soloman s
 

Sir,
Thank you for coming up with such brilliant and useful add--on. I am
going to try it with my Mother tongue Tamil.
Is there any chance of you getting it to work offline in future version?

On 9/27/20, Oleksandr Gryshchenko <@grisov> wrote:
Hi all!
Friends, let me introduce you an add-on that allows you to get detailed
dictionary articles for a selected word or combination of words.
Dictionary articles contain detailed information about a word, such as part
of speech, gender, plural or singular, translation options, list of
meanings, synonyms and detailed examples. Such information will be useful
for people who are learning foreign languages, or seek to use in
communication all the richness and diversity of their own language.

I have been using this add-on for a long time, but have only just finished
working on it.
This is my first NVDA add-on. I studied the code of many add-ons and used in
my work some solutions from such awesome add-ons as Instant Translate,
Remote, Developer Kit and others.

How to use:
1. First you need to select the word you are interested in.
2. Press NVDA + D twice and listen dictionary entry.

There are other functions which can be listened to by calling a short help:
1. Switch to add-on control mode via NVDA + D.
2. Press H to listen to the help message.

The add-on also has a settings dialog.

More information can be found in the Quick Dictionary add-on repository:
https://github.com/grisov/quickDictionary

You can download this add-on here:
https://github.com/grisov/quickDictionary/releases/download/v1.0/quickDictionary-1.0.nvda-addon

I will be very glad if my add-on will be useful for someone else.
And I would be interested to hear your feedback and suggestions.

Thank you for reading this message and I wish everyone a good weekend!
Good luck to all!
Oleksandr





--
With warm regards
Solomon S
teachsolo@...


Re: Pronunciation of phone numbers

George McCoy
 

Many thanks, Brian. I'll give it a try.


On 9/25/2020 10:25 PM, Brian Vogel wrote:
George,

         If you use either of the formats I previously mentioned, whether or not the area code is enclosed in parentheses or not, you can use the instructions that follow.  I am going to give the regular expression (regex) you will want to use first and the replacement string right afterward before giving the step-by-step instructions that would be used to do this for any regular expression and replacement.  You begin copying the regex with the opening open parenthesis and stop at the end of the line.  For the replacement, if you do not want NVDA to say, "area code," before the first three digits then you can omit those two words and start copying at the opening backslash until the end of the line.

regex: \(?(\d)(\d)(\d)\)?[ -](\d)(\d)(\d)-(\d)(\d)(\d)(\d)
 
replacement: area code \1 \2 \3 \4 \5 \6 \7 \8 \9 \10
 
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

George McCoy
 

Thanks brian.

I thought regular expressions might do the trick, but I don't know much about them. The format I usually use is xxx-xxx-xxxx.


George


Re: Introducing the Quick Dictionary add-on #addonrelease

Ibrahim Abedrabbo
 

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: Introducing the Quick Dictionary add-on #addonrelease

Oleksandr Gryshchenko
 

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 And SPL Concern!

 

Hi,
I think this is something StationPlaylist people may need to look into, so I advise emailing support@....
Cheers,
Joseph

-----Original Message-----
From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of Thomas E Williamson, Senior
Sent: Saturday, September 26, 2020 1:30 PM
To: nvda@nvda.groups.io
Subject: [nvda] NVDA And SPL Concern!

Hello,
Is there a way that I can change SPL to factory default.
I was trying to broadcast on last night, I could not hear my music in my head phones.
Another tech connected to my computer, and changed things without telling me what he was checking or unchecking.
He also used a program called, audio repeater.
How can I change this, so that I can successfully use my mixer, which is, ag06?
I appreciate you.
Thanks!
Regards,
Thomas.


Re: Introducing the Quick Dictionary add-on #addonrelease

Roger Stewart
 

This sounds very interesting.  However, I'm wondering where it gets the data base for all the dictionary entries?  Are they part of the add on itself or does it use an on line dictionary somewhere? 

Roger








On 9/26/2020 4:58 PM, Oleksandr Gryshchenko wrote:
Hi all!
Friends, let me introduce you an add-on that allows you to get detailed dictionary articles for a selected word or combination of words.
Dictionary articles contain detailed information about a word, such as part of speech, gender, plural or singular, translation options, list of meanings, synonyms and detailed examples. Such information will be useful for people who are learning foreign languages, or seek to use in communication all the richness and diversity of their own language.

I have been using this add-on for a long time, but have only just finished working on it.
This is my first NVDA add-on. I studied the code of many add-ons and used in my work some solutions from such awesome add-ons as Instant Translate, Remote, Developer Kit and others.

How to use:
1. First you need to select the word you are interested in.
2. Press NVDA + D twice and listen dictionary entry.

There are other functions which can be listened to by calling a short help:
1. Switch to add-on control mode via NVDA + D.
2. Press H to listen to the help message.

The add-on also has a settings dialog.

More information can be found in the Quick Dictionary add-on repository:
https://github.com/grisov/quickDictionary

You can download this add-on here:
https://github.com/grisov/quickDictionary/releases/download/v1.0/quickDictionary-1.0.nvda-addon

I will be very glad if my add-on will be useful for someone else.
And I would be interested to hear your feedback and suggestions.

Thank you for reading this message and I wish everyone a good weekend!
Good luck to all!
Oleksandr



Introducing the Quick Dictionary add-on #addonrelease

Oleksandr Gryshchenko
 

Hi all!
Friends, let me introduce you an add-on that allows you to get detailed dictionary articles for a selected word or combination of words.
Dictionary articles contain detailed information about a word, such as part of speech, gender, plural or singular, translation options, list of meanings, synonyms and detailed examples. Such information will be useful for people who are learning foreign languages, or seek to use in communication all the richness and diversity of their own language.

I have been using this add-on for a long time, but have only just finished working on it.
This is my first NVDA add-on. I studied the code of many add-ons and used in my work some solutions from such awesome add-ons as Instant Translate, Remote, Developer Kit and others.

How to use:
1. First you need to select the word you are interested in.
2. Press NVDA + D twice and listen dictionary entry.

There are other functions which can be listened to by calling a short help:
1. Switch to add-on control mode via NVDA + D.
2. Press H to listen to the help message.

The add-on also has a settings dialog.

More information can be found in the Quick Dictionary add-on repository:
https://github.com/grisov/quickDictionary

You can download this add-on here:
https://github.com/grisov/quickDictionary/releases/download/v1.0/quickDictionary-1.0.nvda-addon

I will be very glad if my add-on will be useful for someone else.
And I would be interested to hear your feedback and suggestions.

Thank you for reading this message and I wish everyone a good weekend!
Good luck to all!
Oleksandr


Re: Inserting a brief pause, intentionally

Hope Williamson
 

The dash indicates a pause, the synth should automatically do it. At
least mine does. It's just a brief pause, like a split second.