Repository navigation
Ru - Syncing with the Main branch - #863
Merged
Merged
Conversation
24 test passes, 3 test failures
… atomic numbers in prescripts to bump up their liklihood number. This allows single character elements with pre subscripts that match their atomic number to be considered chemistry.
Add French to the braille testing file. New French braille tests.
Updated French test files and added the chemistry file to the tests
Incorporate the braille.rs trait-based refactor from main. The French braille code is now wired through the BrailleCode trait/registry: - register "French" in get_braille_code() - French struct impls cleanup (french_cleanup), get_braille_chars (get_braille_ueb_chars), and needs_grouping (needs_grouping_for_french) - keep French-specific helpers (FRENCH_INDICATOR_REPLACEMENTS, french_cleanup, needs_grouping_for_french) French now uses SPEECH_DEFINITIONS (like the other codes) instead of BRAILLE_DEFINITIONS: braille.rs is taken from main wholesale and only the French-specific items are re-added, with needs_grouping_for_french converted to SPEECH_DEFINITIONS. No new test failures: tests/braille results are identical to the pre-merge French baseline (1394 passed, 57 failed). Co-authored-by: Cursor <cursoragent@cursor.com>
Now at 78 pass/15 fail.
…f the failures being open questions.
Co-authored-by: Cursor <cursoragent@cursor.com>
…was overly broad, so I removed scripted letters and numbers. That rule made its way into other braille codes, so I removed them everywhere. All tests pass.
…(for accented letters) so that the pattern for them looks like: ``` - "Ñ": [t: "CA⠘⠻L⠝"] # 0x00D1 ``` Added a few tests.
…or!() message. May want to change the promoted name...
…bers don't conflict with letters. Add code to handle `;` special case if there are "blocks" in the expr
Now at 185 passed; 4 failed
Added several more chem arrows.
…ween different arrows that go in the same direction. That seems wrong, but the spec is silent on the alternatives
…or a more restricted version for nested munder/mover. They add a "," between lines. This was done for limit_x_tends_1_14_2_01_corrected and limit_x_tends_1_14_2_02_corrected
…aisy#820) * replace buggy Display implementation for Pronounce with Debug trait * remove unused `eloquence` field and related code from `Pronounce` struct * fix outdated syntax
…his looks much better. All language `definitions.yaml` are updated. Fix parsing of `IntentMappings`. Parsing now lives in one place, so ratio-style "name : glue" pairs, arity templates, and bracketing speech stay consistent across languages. This all started as a fix to daisy#709, but then I discovered that the format used in `IntentMappings` was parsed incorrectly in some cases (such as "ratio").
* v1 of rule coverage report * Add Python script to generate Markdown and HTML rule coverage reports * clarify name of logfiles * Switch rule coverage events to JSONL format * switch to jinja2 templates * Exclude Unicode mapping files from rule coverage report and improve report generation * Exclude definition files from rule coverage report and update related documentation * Add hit counts and test details to rule coverage report Enhance the rule coverage report to include hit counts, test details, and hoverable tooltips for matched rules. Improve report formatting and coverage fraction calculation. Update related tests and documentation to reflect these changes. * fix title * Simplify rule coverage event recording * Stream rule coverage events and trim unused report fields * Suppress unused variable warning when `rule-coverage` feature is disabled * Migrate `rule_coverage` implementation to a dedicated `rulecoverage` package, separating logic, templates, and CLI. * uv run ruff format * simplify dataclasses in Python * remove "loaded" as statistic for rule coverage * remove MD report and only keep HTML. simplify rest accordingly. * uv ruff format
…h new definitions.yaml rule (the of word related)… (daisy#842) * Rules/Languages/hu/definitions.yaml: add a new rule, based the english new definitions rule Signed-off-by: Attila Hammer <hammera@pickup.hu> * Update tests, add navigation test and table separator test Signed-off-by: Attila Hammer <hammera@pickup.hu> * Rules/Languages/hu/definitions.yaml: added missign navigation related fixes with not merged to the main branch Signed-off-by: Attila Hammer <hammera@pickup.hu> * tests/Languages/hu/mtable.rs: added a not merged table separator tests related modification Signed-off-by: Attila Hammer <hammera@pickup.hu> * convert tests/Languages/hu/navigate.rs with crlf format Signed-off-by: Attila Hammer <hammera@pickup.hu> * Rules/Languages/hu/navigate.yaml: remove unneed in suffix after hungarian zoom part translation (the nagyítás word related test) Signed-off-by: Attila Hammer <hammera@pickup.hu> * tests/Languages/hu/navigate.rs: adapt the nagyítás (zoom in) related changes to the test file to get correct translation Signed-off-by: Attila Hammer <hammera@pickup.hu> * Rules/Languages/hu/navigate.yaml: fixed few translations, based with experiences Signed-off-by: Attila Hammer <hammera@pickup.hu> * Rules/Languages/hu/navigate.yaml: added audit-ignore with required places Signed-off-by: Attila Hammer <hammera@pickup.hu> * tests/Languages/hu/navigate.rs: add new navigation tests, based with last hungarian navigation translations Signed-off-by: Attila Hammer <hammera@pickup.hu> --------- Signed-off-by: Attila Hammer <hammera@pickup.hu>
Signed-off-by: Attila Hammer <hammera@pickup.hu>
This commit improves intent recognition for several TeX-derived patterns: it ignores the invisible function-application character when matching limit expressions, treats TeX's gathered environments as lines, and recognizes subscripted norms from TeX4ht and canonicalized MathML shapes. These fixes keep speech and navigation output consistent for common display math cases.
…mbeds (daisy#816) Every language and braille code has a feature, all on by default through rules-all, so existing builds embed exactly the same rules.zip. A build that turns off default features and names a subset embeds only those directories. en is always kept because the library falls back to it, a subset with no braille code keeps UEB so set_rules_dir still succeeds, and the staged prefs.yaml BrailleCode default is pointed at a kept code when Nemeth was pruned. build.rs fails if a Rules directory has no feature in lang-all or braille-all, so the lists cannot silently fall behind. Co-authored-by: NSoiffer <NSoiffer@users.noreply.github.com>
* simplify some Vector handling * undo changes in `is_structural`
Linux library size: 0.58 MiB (+0.95%)
Built with default features, Rust 1.96.0, and Ubuntu 24.04. Workflow run. |
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 commit adds merge of the current main in ru Based on the PR #798 discussion: all 18 files with conflicts have been resolved. Russian translations, T: statuses, manuals, and test expectations are preserved.
Resolves #798