You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are other issues that suggest language-specific braille definitions.yaml file. This issue is about adding a ContractionsOverride entry. This would be used to override what happens given the limited rules used by MathCAT. For example, "arccos" has rules for contracting "ar" and "cc". However, the "cc" shouldn't be used because "arccos" is a non-hyphenated compound word (RUEB 10.11.1). So "arccos" would be in the table.
Probably want to accept both Unicode braille and ASCII braille (as above).
The code would first check this list for standing alone words (hashmap in Rust), and then apply rules if not in the table.
In addition to "arccos", all the words in RUEB 10.1 and 10.2 should be in the list. Faster runtime and more flexible (can add "can't" etc., and not make the rule more complicated by checking for '.
The text was updated successfully, but these errors were encountered:
…to happen later in the string.
This means that some alternative braille output was generated. In one case (stat_9_7_2), the result is not a listed alternative, but it is reasonable and consistent with other listed results.
Added more contractions
Improved the code to make it easier to include contractions. The main downside is that some code runs on start up that was previously a `const`, but it shouldn't be much time and only runs if UEB is used.
Need to an exceptions list (#223) and then add back the `cc` contractions (commented out due to `arccos`).
There are other issues that suggest language-specific braille
definitions.yaml
file. This issue is about adding aContractionsOverride
entry. This would be used to override what happens given the limited rules used by MathCAT. For example, "arccos" has rules for contracting "ar" and "cc". However, the "cc" shouldn't be used because "arccos" is a non-hyphenated compound word (RUEB 10.11.1). So "arccos" would be in the table.Probably want to accept both Unicode braille and ASCII braille (as above).
The code would first check this list for standing alone words (hashmap in Rust), and then apply rules if not in the table.
In addition to "arccos", all the words in RUEB 10.1 and 10.2 should be in the list. Faster runtime and more flexible (can add "can't" etc., and not make the rule more complicated by checking for
'
.The text was updated successfully, but these errors were encountered: