mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-08 19:42:12 +00:00
ecb46389801dc5e063628a06c57c1fa84b41ecbd
Maintainer review on storytold/wordcraft#3562: - words() keeps combining marks with the word they follow, so a word typed decomposed (NFD, `tambie\u{301}n`) is one word with its own byte range; is_correct_in_with and suggest_in look it up composed (NFC), so it is checked like `también` in every language (unicode-normalization, MIT/Apache) - the Spanish missing-¿/¡ rule skips marks in web and e-mail addresses (`Ver https://example.com/?`), and punctuation inside an address or a word (`example.com`, `https:`, `10:30`) no longer starts the sentence the opening mark is offered for; a mark ending an address still ends a sentence - Spanish repeated-word check matches composed and decomposed spellings - regressions: check_text with the Spanish fixture and NFC/NFD equivalents (acceptance and ranges), words() and composed(), URLs ending in /? beside ordinary questions CodeRabbit review: Session::region_spanish takes the ISO 639-2 `spa` as Spanish, so a `spa-MX` region writes es-MX documents.
Languages
Rust
98.5%
Max
1.3%
Python
0.2%