daisy / daisy/MathCAT

Speech for Geometric “Line” Expressions

Open
#705 0 comments 0 reactions 0 assignees View on GitHub
rules
Dominant language
Rust
Stars
114
Forks
85
Avg merge
1d 11h
Merged PRs (30d)
42

Description

The legacy MathPlayer speech had a rule which rendered a left-right arrow (**Unicode 2194**) accent above two letters as a line. For example, the speech “the line J K” was given for the following MathML code:

`
`

Currently, MathCAT reads such an expression as “quantity J K with left-right arrow above.” I would like to argue for going back to the interpretational style used in MathPlayer, e.g., “the line J K”, as this is likely the intended usage in >95% of digital content in the publishing world.

Also, depending upon the equation editor used, one can find more than one possible Unicode left-right arrow being used. While **U+2194** (“left-right arrow) seems to be most common, equations built with the Microsoft Math editor may end up using **U+20E1** (“combining left-right arrow”) since that is the left-right arrow one finds in the accent tab. [One can, however, use the LaTeX string \overleftrightarrow to create **U+2194**.] So, it may also be appropriate to also include MathML constructions where **U+20E1** is being applied as an accent over two letters as a valid case for the geometric “line” construct speech rule.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the MathML example in the issue and locate the speech-rule handling for mover accents and geometric line expressions. Compare the current output for U+2194 with the proposed U+20E1 case. Done means the applicable two-letter expressions are spoken as “the line J K” rather than describing the arrow accent.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
accessibility
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.