Skip to content

j kjnknj - #2

Closed
MartheGjelstad wants to merge 6 commits into
mainfrom
nb
Closed

MartheGjelstad wants to merge 6 commits into
mainfrom
nb

Conversation

@MartheGjelstad

Copy link
Copy Markdown

No description provided.

NSoiffer and others added 6 commits August 4, 2025 17:41
* Added Norwegian translations

* Oppdatering

* Fixed "zip in cargo and translated test for units

* Added some rules in general.yaml + some smaller changes.

* Somes changes in ClearSpeak to solve continued row. Did not work.

* Changed code for label as done for the other languages + smaller changes

* Changes of units

* Some changes in Unicode and Unicode-full

* Some clean-up and small changes.

* Translating some words from Swedish in navigate.yaml

* Changed default.yaml as done for the other languages. Now all tests pass.

* Changes in navigate.yaml

* Removing some comments in unicode-full

* Div. changes

GetBracketingIntentName to SpeakBracketingIntentName in default. Then NVDA works, but some tests fail.

Smaller changes in unicode-full.

Some changes for speaking log and ln in ClearSpeak.

* Div. changes

Replaced braces with brackets.
Replaced "structure" with "literal"
ClearSpeak-times: Copied the English version
no-say-parens: Copied the English version

* Removed some of the big numbers in definitions

* Replaced match: "." with match "count(*)=1"

* Added rule for coordinate

The rule is not tested in Norwegian

* Smaller changes

Replaced point with comma as decimal point in rules for fraction.
Copied English version of no-say-parens.

* Caused by changes in no-say-parens in both ClearSpeak and SimpleSpeak.

* Smaller changes

Replaced braces with brackets.
Added the rule "dimension-by". Not tested.

* Smaller changes

Added MatchingPause: false() at the top.
Copied English version of default, mi
Replaced structure with literal
Replaced braces with brackets

* Testing

* Div. changes

ClearSpeak: Minor clean-ups
Deafault: Minor clean-ups
General: Minor clean-ups.
Linear-algebra: Minor clean-ups
SimpleSpeak: Added short pause in the default-root-rule.
Unicode-full: Splitted some units with prefix for better pronunciation.
Unicode: Added condition in the rule for 0xB7. Now it doesn't speak "tom tom" for the test continued_row in multiline.

* Added pause

Added pause in SimpleSpeak, default, root

* Comment out intent rules

Commented out some intent rules. For example we say "divergence to" and not "divergence of" in Norwegian. These rules are in other files instead.

* Added rule with name "pause" and rule for "time"

Added the rule with name "pause"
Added a test in the rule "per-fraction". If "t" is in a fraction with units, it says "per time".

* Changed from "grunntallet" til "basen"

* Changes to improve navigation

Changed to English version for default mover, munder and munderover. It sounds better when in navigation mode.

Changed from "rottegn" to "kvadatrot" in msqrt. Sounds better for navigation.

* Minor clean-ups

Definitons.yaml: Changed the intent prefix "plus" from "positive" to "pluss". We for example say "plus infinity" and not "positive infinity".

Cleaned up some comments.

* Minor clean-ups and added test for units

* Changes to ClearSpeak

- Changed the decimal point in rules to $DecimalSeparators.
- Changed rule for units in fraction, as done for the other languages. Added test for "time".
- Removed "ClearSpeak_Fractions ='ordinal' in common-fraction rules.

* Changes to SimpleSpeak

- Changed decimal point to $DecimalSeparators
- Updated rule for units in fraction, as done for the other languages. Added test for "time"

* Changes in general

- Added rule for repeating decimal.
- Updated rule for units, as done for the other languages.
- Some changes in rule for logarithm.
- Changed the singular form of the nouns in the rule multi-line

* Changes in default

- Some changes in the literal rules for roots.
- Changed the rule literal, msub to be equal to the English.
- Some clean-ups in comments

* Minor clean-ups

- Some corrections in unicode-full
- Removing some spaces in ClearSpeak

* Added list for NeuterUnits

---------

Co-authored-by: Marthe <marthe.gjelstad@nb.no>
Start of special case speech for common fractions in front of units.
Added test such that 0x2225 is spoken as "double vertical line" when navigating
MartheGjelstad pushed a commit that referenced this pull request Aug 17, 2026
* Update of Swedish translation (daisy#605)

* first updates

unicode, general and part of default

* Test update

* Updated geometry.yaml

#2

* Updated linear-algebra and calculus

#3 #4

* ClearSpeak_rules.yaml updated

* Update overview.yaml

Close daisy#10

* Update navigate.yaml

* Update SimpleSpeak_Rules.yaml

* Update definitions.yaml

Closes daisy#14

* Updated SimpleSpeakl and ClearSpeak

Finished the update of SimpleSpeak and corrected a rule in both SimpleSpeak and ClearSpeak that made mixed numbers be spoken incorrectly.

* Bug fix in SimpleSpeak and ClearSpeak

Fixed a bug concerning common fractions used in mixed numbers.

* Fixed a bug in general.yaml

Fixed a bug concerning how one is spoken in combination with a unit.

* Unicode-full & navigate

Updated unicode-full and navigate, plus fixed a couple of typos in the english unicode-full.

* Fixed a corrupt file

There was some problem with general.yaml, which should now be fixed.

* Update default.yaml

* Update general.yaml

Hopefully this fix will solve a lot of the failed tests. daisy#15

* Updated functions.rs

Both for ClearSpeak and SimpleSpeak

* Fixed a multiline test fail

Both ClearSpeak_rules.yaml and multiline.rs needed an update.

* Fixed linear-algebra fails

Restored language-specific rules for homomorphism and kernel.

* Tests updated

Updated tests to conform to slight changes in speaking (pausing and 1/en)

* Fixed some small errors

* Bug fix

* Update navigate.yaml

* Fixed a language-dependent issue

* Added audit-ignore to reintroduced rules

* Fixed laplacian

* Minor typo fix

Added missing "bråk" to "slut bråk" announcement

---------

Co-authored-by: AndersEkl <anders.eklund@spsm.se>

* Sv update - fixes for failed tests (daisy#678)

* first updates

unicode, general and part of default

* Test update

* Updated geometry.yaml

#2

* Updated linear-algebra and calculus

#3 #4

* ClearSpeak_rules.yaml updated

* Update overview.yaml

Close daisy#10

* Update navigate.yaml

* Update SimpleSpeak_Rules.yaml

* Update definitions.yaml

Closes daisy#14

* Updated SimpleSpeakl and ClearSpeak

Finished the update of SimpleSpeak and corrected a rule in both SimpleSpeak and ClearSpeak that made mixed numbers be spoken incorrectly.

* Bug fix in SimpleSpeak and ClearSpeak

Fixed a bug concerning common fractions used in mixed numbers.

* Fixed a bug in general.yaml

Fixed a bug concerning how one is spoken in combination with a unit.

* Unicode-full & navigate

Updated unicode-full and navigate, plus fixed a couple of typos in the english unicode-full.

* Fixed a corrupt file

There was some problem with general.yaml, which should now be fixed.

* Update default.yaml

* Update general.yaml

Hopefully this fix will solve a lot of the failed tests. daisy#15

* Updated functions.rs

Both for ClearSpeak and SimpleSpeak

* Fixed a multiline test fail

Both ClearSpeak_rules.yaml and multiline.rs needed an update.

* Fixed linear-algebra fails

Restored language-specific rules for homomorphism and kernel.

* Tests updated

Updated tests to conform to slight changes in speaking (pausing and 1/en)

* Fixed some small errors

* Bug fix

* Update navigate.yaml

* Fixed a language-dependent issue

* Added audit-ignore to reintroduced rules

* Fixed laplacian

* Minor typo fix

Added missing "bråk" to "slut bråk" announcement

* Fixes for failed tests

Changed functions.rs in both ClearSpeak and SimpleSpeak as well as tweaked a rule for equillibrium arrows in general.yaml.

---------

Co-authored-by: Tim Arborealis Lötberg <143188129+TimArborealis@users.noreply.github.com>
Co-authored-by: NSoiffer <NSoiffer@users.noreply.github.com>

---------

Co-authored-by: Tim Arborealis Lötberg <143188129+TimArborealis@users.noreply.github.com>
Co-authored-by: AndersEkl <anders.eklund@spsm.se>
Co-authored-by: AndersEkl <39799609+AndersEkl@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants