Replies: 4 comments 3 replies
-
Similarly, is the following too simplistic? nodeWithSpeech.querySelectorAll('[data-semantic-speech]').forEach(
node => {node.setAttribute('data-semantic-braille', nodeWithBraille.querySelector('[data-semantic-id="'+node.getAttribute('data-semantic-id')+'"]').getAttribute('data-semantic-speech'))}
) I.e., could the trees "diverge" in some way? |
Beta Was this translation helpful? Give feedback.
-
As per a conversation with @zorkow, prefix is its own modality (in the SRE sense) and Nemeth doesn't have it (so falls back to English). Since Nemeth is a print format it lacks similar indicators that would serve during exploration. I.e., it would require inventing some, ideally submitting them to the Nemeth board - which is a very long play. |
Beta Was this translation helpful? Give feedback.
-
This is now too simplistic - see #439 (comment) |
Beta Was this translation helpful? Give feedback.
-
In principle there should not be discrepancies between the semantic trees for speech or Braille or different rule sets.
Having said that, the current heuristics that fire on Braille only should all work in the general case, eventually. However, they will need some rewriting of speech rules. And I will not do that before 4.0 is out and the revamp of the speech rule syntax is complete, as the latter will make it easier to do it consistently for all locales. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When creating "deep" speech output, I usually leverage data-semantic-prefix during navigation, i.e., combine it with data-semantic-speech during exploration. Experimenting with (Nemeth) braille output, I noticed that data-semantic-prefix has "plain English" content, e.g., "Numerator".
Assuming this is not just a bug, can prefixes be ignored for (Nemeth) Braille? Or is there some way to provide a similar benefit during navigation?
Beta Was this translation helpful? Give feedback.
All reactions