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

Aata test #21, binomial coef #567

Open NSoiffer opened 3 years ago

NSoiffer commented 3 years ago

MathML:

<math>
        <mrow><mstyle scriptlevel=\"0\">
        <mrow><mo maxsize=\"1.2em\" minsize=\"1.2em\">(</mo></mrow></mstyle><mfrac linethickness=\"0\"><mi>n</mi><mi>k</mi></mfrac><mstyle scriptlevel=\"0\">
        <mrow><mo maxsize=\"1.2em\" minsize=\"1.2em\">)</mo></mrow></mstyle></mrow></math>

A simpler version of the same thing

<math><mo>(</mo><mfrac linethickness='0'><mi>n</mi><mi>k</mi></mfrac><mo>)</mo></math>
Returns   "⠠⠷⠝⠠⠾⠀⠠⠷⠅⠠⠾" 
Should be "⠷⠝⠩⠅⠾"

See 90(1) which is this expression