在我們正在處理的語言中,專有名詞前有一個(幾乎)必用的冠詞,很像希臘文的情況。也就是說,「亞伯拉罕和撒拉去了」需要寫成:
O Abraam hai i Sara telǎrdǎs
The.M Abraam and the.F Sara went
如果我們用 \k o Abraam\k* 輸入關鍵詞,就會破壞排序順序。如果我手動將 o/i 放在 \k...\k* 之外,情況更糟,因為 Paratext 沒有像我期望的那樣將段落保持在一起,而是將段落分成兩部分,冠詞也丟失了。我想,一些使用前置敬稱的語言也會遇到類似問題。
目前我能想到 3 種解決方案,這些方案不需要在列印前手動編輯詞彙表:
將冠詞包含在關鍵詞中,並在外部進行排序。這讓查找變得有點麻煩。
將冠詞放在關鍵詞 \k Abraam\k*,o 之後,然後編寫某種變更腳本來識別並重新排序它們。
擴展 \k 的定義,使其允許一個預設的 USFM3.0 屬性,這可以解決腳本問題。
(a) 僅將冠詞作為屬性,它可以是:\k Abraam|o\k*
(b) 或者,可能更適合使用 \k Printed form |internal representation\k*,就像 \w 那樣,其中內部表示形式用於資訊連結和排序。
例如:\k o Abraam|Abraam\k*`
顯然,3(b) 需要一些編程工作。我不知道選項 3(a) 會對 Paratext 的內部機制產生什麼影響。它會破壞 \w 連結嗎?等等?
我假設我不是第一個遇到這個問題的人。其他人是如何解決這個問題的?
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?
機器翻譯自 English 顯示原文