Speech-Rule-Engine / speech-rule-engine

Generating speech descriptions for XML structures
https://zorkow.github.io/speech-rule-engine/
Apache License 2.0
75 stars 39 forks source link

Nemeth output: data-semantic-prefix & postfix but as braille patterns #681

Open pkra opened 1 year ago

pkra commented 1 year ago

As far as I could tell, when producing Nemeth, pre- and postfix are still populated with regular ascii ("Denominator", "link" etc).

Would it be possible to generate braille patterns?

zorkow commented 1 year ago

Would it be possible to generate braille patterns?

What patterns would that be? Translations into literary Braille?

pkra commented 1 year ago

What patterns would that be? Translations into literary Braille?

I don't know, I had hoped there is a natural equivalent notation in Nemeth.

My motivation is that aria-braille properties should be either ALL unicode braille patterns or NO unicode braille pattern (to avoid AT translation table confusion). I guess I can just ignore them during post-processing.

zorkow commented 1 year ago

I don't know, I had hoped there is a natural equivalent notation in Nemeth.

I don't think there is, but I'll ask someone.

My motivation is that aria-braille properties should be either ALL unicode braille patterns or NO unicode braille pattern (to avoid AT translation table confusion). I guess I can just ignore them during post-processing.

The prefix/postfix attributes are really only for speech at the moment. When voice output is computed they are only merged with the main string, when the modality is set to speech (this happens in abstract_walker).

pkra commented 1 year ago

The prefix/postfix attributes are really only for speech at the moment.

Thanks for clarifying. I'll ignore them on my end.

If they are not meant for braille, then it would be nice if SRE would leave them empty when generating braille.