github Speech-Rule-Engine/speech-rule-engine v4.1.0
Version 4.1.0

latest releases: v5.0.0-beta.1, v5.0.0-alpha.8, v5.0.0-alpha.7...
4 months ago

New features

  • Afrikaans locale
  • Euro Braille implementation with direct LaTeX input
  • Korean Localization by @aintbe

New Heuristics

New semantic heuristics and Improvements to existing ones. In particular,

  • New Text heuristics that distinguishes genuine text elements from expression that only use text to enforce font change to roman.
  • New big operator heuristic
  • Improved limit heurstic

Walkers

  • Changes to the walkers in line with the new exploration model in MathJax
  • Improves walking to work with line-broken elements
  • Correct treatment of all maction elements with toggle attribute.

Other Changes

  • Removes menu computations for MathJax.
  • Improves handling of alphabet generation, thereby reducing the size of the single mathmaps files as well as locale files.
  • Automatic marking of elements in the SSML renderer. Removes the step renderer as it is no longer necessary.
  • Hides generation of Aria attributes behind a new flag.
  • Improves aria annotations for enriched MathML to support aria tree role.
  • Additional flags for
    • structural output
    • ssml markup
    • 2d nemeth
  • When the structure feature is set, we now also add the aria elements to define the tree.

Locales

  • Simplifications of locale handling
  • Improved grammatical constructs
  • nemeth linebreaking

Build

  • SRE is now using pnpm as package manager.
  • Updates build process to use ES modules instead of commonjs.
  • For compatibility reasons commonjs are still created and both module and commonjs sources are
  • New package structure:
    • js contains JavaScript files in ES module format.
    • cjs contains JavaScript files in commanjsE format.
    • bin, lib, index.js as usual.
  • XML handling now based on the latest @xmldom/xmldom library, making xmldom-sre obsolete.
  • commander module move to into CLI module only, to make the rest independent.
  • Removes all namespaces and default exports
  • Improved detection of mathmaps folder.

Bug Fixes

Amongst others:

  • Initialisation bug in tree colorer
  • Firefox related Xpath issue in tree colorer
  • Correct semantic skeleton for matrix-like structures
  • Corrected Xpath handling provides improved reading of tensor rules.
  • Correctly identifies all newly created elements during the enrichment process by adding an added attribute.
  • Security fix #702
  • A number of bug fixes
  • Fix for external module loading for ES6 modules. require.mjs module to include in import statements to ensure smooth loading.

New Contributors

Full Changelog: v4.0.0...v4.1.0

Don't miss a new speech-rule-engine release

NewReleases is sending notifications on new releases.