Dans la langue sur laquelle nous travaillons, il y a un article (presque) obligatoire devant les noms propres, tout comme en grec. C'est-à-dire que « Abraam et Sara sont allés » devrait être :
O Abraam hai i Sara telǎrdǎs
The.M Abraam and the.F Sara went
Si nous saisissons les termes clés avec \k o Abraam\k*, cela perturbe l'ordre de tri. Si je saisis manuellement le o/i en dehors du \k...\k*, c'est encore pire, car au lieu de garder le paragraphe ensemble comme je l'espérais, Paratext divise le paragraphe en deux et l'article est perdu. J'imagine que certaines langues utilisant des honorifiques préfixés rencontrent des problèmes similaires.
Je peux penser à 3 solutions pour le moment, qui ne nécessitent pas d'édition manuelle du glossaire avant d'arriver à l'impression :
- Inclure l'article dans le terme clé et trier en externe. Cela rend la recherche un peu fastidieuse.
- Inclure l'article après le terme clé
\k Abraam\k*,o et écrire ensuite un script de modification pour les reconnaître et les réorganiser.
- Étendre la définition de
\k pour qu'il permette un attribut USFM3.0 par défaut, ce qui résout les problèmes de script.
(a) en ayant simplement l'article comme attribut, cela pourrait être : \k Abraam|o\k*
(b) Alternativement, il serait peut-être préférable d'avoir \k Printed form |internal representation\k* comme avec \w, où la représentation interne informe le lien et l'ordre de tri.
Par ex. \k o Abraam|Abraam\k*`
Il est clair que 3(b) nécessiterait un effort de programmation. Je ne sais pas ce que l'option 3 (a) ferait aux mécanismes internes de Paratext. Cela casserait-il le lien \w, etc. ?
Je suppose que je ne suis pas le premier à faire face à cela. Comment les autres ont-ils résolu ce problème ?
In the language we’re working in, there’s a (mostly) obligatory article before proper names, much like in Greek. I.e, ‘Abraam and Sara went’ would need to be:
O Abraam hai i Sara telǎrdǎs
The.M Abraam and the.F Sara went
If we enter key terms with \k o Abraam\k* then this breaks the sort order. If I manually enter the o/i outside the \k...\k* this is worse, because rather than keeping the paragraph together as I hoped, paratext splits the paragraph in two and the article is lost. I imagine that some languages using prefixed honorifics suffer similar problems.
I can think of 3 solutions for the moment, that don’t require manual glossary editing before we get to printing:
- Include the article in the keyterm and sort externally. This makes finding things a bit of a pain.
- Include the article after the keyterm
\k Abraam\k*,o and then write some kind of changes script to recognise and reorder them.
- Extend the definition of
\k so that it allows a default USFM3.0 attribute, which solves the scripting issues.
(a) just having the article as an attribute, it could be: \k Abraam|o\k*
(b) Alternatively, it might be preferable to have \k Printed form |internal representation\k* like with \w, where the internal representation informs linking and the sort order.
E.g. \k o Abraam|Abraam\k*`
Clearly 3(b) would need some programming effort. I don’t know what option 3 (a) would do to paratext’s internal mechanisms. Would it break the \w linking, etc?
I assume I’m not the first to face this. How have others solved this issue?
Traduit automatiquement depuis English