[FEATURE]: Esperanto dictionary and diacritic support
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 43/100
Piste de recherche
Start by reading the existing German dictionary and character substitution implementation to understand how Codebook loads dictionaries and handles substitutions. The issue provides the Esperanto Hunspell dictionary source and example phrases for both the x-system and h-system. Done means Esperanto words are supported and both substitution systems handle the listed diacritics correctly.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Feature Description
I would like to see an Esperanto dictionary and character substitution system added to Codebook.
I considered modifying the source code myself to do that, but while the dictionary question is solved, my Rust skills are not currently good enough to handle the task of adding a whole different character substitution system in a way that will match the style of your code and not cause performance problems.
Use Case
As someone who writes in Esperanto and uses a Codebook-capable text editor for both code and non-code writing, I would like to see its support added to Codebook.
Proposed Solution
It is possible to obtain the Esperanto Hunspell dictionaries from the LibreOffice project: https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice-dictionaries/-/tree/master/dictionaries/eo?ref_type=heads
For use in code specifically, where developers tend to prefer using ASCII when possible, it might be needed to implement a system of substitutions similar to the one used for German.
Most common ASCII-friendly substitutions for Esperanto are the "x-system", where "ĉ", "ĝ", "ĥ", "ĵ", "ŝ" and "ŭ" are represented by "cx", "gx", "hx", "jx", "sx" and "ux" respectively, and the older "h-system", where "ĉ", "ĝ", "ĥ", "ĵ", "ŝ" and "ŭ" are represented by "ch", "gh", "hh", "jh", "sh" and "u" respectively. (The "x-system" is more preferred today because it is unambiguous, as it doesn't collapse "ŭ" into "u" and the "x" character is not used in Esperanto words, but both tend to be used.)
So, in the "x-system", the phrase "aŭtomata ĝisdatigo" (automatic update) will become "auxtomata gxisdatigo", and in the "h-system", it will become "automata ghisdatigo".
A good test phrase for Esperanto diacritics is "eĥoŝanĝo ĉiuĵaŭde" ("echo change every Thursday"), which happens to include every diacritic in the language. The "x-system" will represent it as "ehxosxangxo cxiujxauxde", and the "h-system" as "ehhoshangho chiujhaude".
Alternative Solutions
No response
Examples
No response
Additional Context
No response
- Langage dominant
- Rust
- Étoiles
- 925
- Forks
- 59
- Merge moyen
- 53 min
- PR mergées (30 j)
- 10
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de blopker/codebook
-
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 54/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement Zed issue
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
blopker/codebook#310 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
[FEATURE]: Per-language `words`Ouverteenhancement workaround
Difficulté 4/5 3-5 jours Accessibilité débutants 49/100
blopker/codebook#297 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 43/100
blopker/codebook#276 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de blopker/codebook
Issues similaires
-
marketing
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
polete-bermejo/floord#21 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
gbif/name-parser-rust#259 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
nledford/Ladderback#1171 ·
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: LANGSMITH_SAMPLING_RATE ignores fractional values (isdigit check), traces 100% of requestsOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
Les mainteneurs répondent en général sous 1 jour