Enhances Norwegian Math Speech and Navigation Rules#3
Merged
Conversation
Changed logic of log function. Will now always speak "ln" if the expression is simple. Updated `spell` to `SPELL`. Added `# audit-ignore` to checked rules. Minor formatting improvements to comments.
- Implement verbosity checks for square roots, using "roten av" for Terse settings. - Add "# audit-ignore" to checked rules. - Minor formatting improvements to comments.
- Add support for `:literal:` intent for several symbols (/, |, ·, ×) to provide more literal readings like "skråstrek" and "vertikal strek". - Update `spell` to `SPELL` throughout the file for consistency. - Changed logic in the rule for the multiplication sign (×).
…sistency - Added unicode characters. - Updated `spell` to `SPELL`. - Implement `:literal:` intent logic for double exclamation (‼) and fraction slash (⁄). - Add verbosity-based logic for the cross product symbol (⨯). - Add support for MathJax PUA values used for chemical bonds and arrows.
…sistency - Implement logic to make the "fet" (bold) descriptor conditional based on the `$IgnoreBold` variable across multiple alphanumeric blocks. - Consolidate individual digit entries into ranges. - Added test for ignore-bold.
- Update `spell` to `SPELL` in `general.yaml` - Update test output because of small changes to the rule for vertical line
- Added the rule "unit-terse" - Added the rule "currency". Added test for neuter currencies. - Added sets for currency symbols. - Re-introduce verbosity-dependent speech for hyperbolic functions with updated terse forms. - Update `spell` to `SPELL`. - Add `audit-ignore` tags to various rules.
Removed # audit-ignore from rules that are similar in Norwegian and English. The comment is only added to rules that differ, but are reviewed.
- Removed # audit-ignore for rules that are similar in Norwegian and English. The comment is only added to rules that differ, but are reviewed. - Rules for powers might need some changes. Made comments to remember that. - The rule for`ClearSpeak-multi-line` might need some changes. Made a comment to remember that.
- Changed last else statement of the rule "literal, [msup, msubsup]". - Added the rule "power-indexed-by". - Changed from spell to SPELL - Add # audit-ignore to rules that differs from English, but are reviewed.
I hadn't reviewed this file before. Changed it to be up to date with the English file
Enhances spoken output for mathematical power expressions. - Increases the pause after simple exponents (e.g., `simple-integer`, `simple-var`) to 'medium'. - Introduces conditional phrasing and pause adjustments for nested and default power rules. - In 'Verbose' mode, adds a short pause and "slutt eksponent" (end exponent). - For other verbosity levels, applies a medium pause.
Updated and added some tests for powers. Co-authored-by: Copilot <copilot@github.com>
Adjust word usage from 'roten' to 'rot' for mathematical roots and add a short pause before 'gitt' (given).
Correctly apply pluralization of mixed numbers without an explicit following unit. Introduce `IsPluralNoUnit` to ensure the fraction's numerator dictates the plural form, resolving cases like "2 tredjedeler".
Mixed fractions without a following unit is now spoken correctly.
The word "markør" is used for other things in screen readers.
Added a short pause after simple fractions for terse and medium. This shoud make it easier to know when you are out of the fraction.
Added audit-ignore to rules I first was unsure about. They are now checked.
Roman numerals are now spelled out consistently for better pronunciation. Introduces a new `nofix-intent` rule for specific intent properties. Adjusts `function-intent` speech to respect verbosity settings.
Correct pronunciation of "laplace" to "laplas" in Norwegian, as "laplace" is not pronounced correctly. Improve phrasing to distinguish between "laplacian" and "laplacian of X" based on context.
Added 'docs/nb_of_norway/' to .gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request significantly refines the Norwegian speech output and navigation rules for mathematical expressions.
Speech Output Enhancements:
laplacianoperator.Navigation System Overhaul:
Maintenance & Consistency:
audit-ignorecomments to rules for better maintainability.spelltoSPELLacross rules.