How to programmatically convert mathml or LaTeX formulas in spoken words

accessibilityconversionconvertmathml

I've a formula, eg:

enter image description here

where the latex's code is:

\int_{a}^{b} \frac{1}{\sqrt{\rho}} d\rho

The output should be somthing like this:
"The integral from a to b of one over the square root of ro in de ro."

I'm aware of this question, but I'm interested in a tool/library/service used by a un*x program "headless" and more the answer is ten years old, I hope something new is available.

Best Answer

Currently mathjax speech rules are probably the most advanced thing here, you could access them via a headless browser but see

https://docs.mathjax.org/en/latest/basic/a11y-extensions.html

Or more directly to the underlying speech rule engine

https://speechruleengine.org