Speech-Rule-Engine / speech-rule-engine

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

order when exploring root with index #733

Open pkra opened 10 months ago

pkra commented 10 months ago

Is the following expected?

E.g., \sqrt[2n]{x} using mathspeak rules creates "rootIndex 2 n startRoot x endRoot". When exploring, the order is "Radicand x" followed by "Index 2 n".

I would have expected the index before the radicand so I wanted to double check.

zorkow commented 9 months ago

This should be fixable by changing the skeleton structure.

zorkow commented 8 months ago

I found a discrepancy between the skeleton structure and the explorer for matrix structures. The skeleton does not appear to take the fences into account. @pkra do you have a quick way to examine that in your walker?

pkra commented 8 months ago

I'm not sure what you need but happy to build something.

If you just need to generate the aria tree structure, the sre-to-tree tests show how the approach I usually use to generate things.

If you're looking for something to build a web demo with the client side demo, I could create a quick codepen example where you could paste the output.