0
954 次瀏覽

I have just upgraded a project that had an extensively populated interlinearizer (lexicon.xml and associated interlinear “book” xmls). All the glosses are marked in red so I checked within the xml to make sure they are not corrupted. For a given passage on a common word, I checked the glossID in the interlinear xml and matched it to the specific glossID in the lexicon xml. The files are fully intact as far as I can tell, yet they do not produce the blue and black colors in the interlinearizer.

Any thoughts?

舊文章 - 以原文顯示
Paratext (184 點) 提出 | 954 次瀏覽

4 個回答

0
最佳回答

Milt_Jones - please check this topic:

舊文章 - 以原文顯示
(9.9k 點) 提出

Ok. I just checked all the places where the language is listed in the xml. They all say “en”.
e.g. (tag markers removed)
InterlinearData ScrTextName=“SUR” GlossLanguage=“en” BookId=“EXO”

and…
item
Lexeme Type=“Word” Form=“nyem” Homograph=“1”
Entry
Sense Id=“oGQZ5bE6”
Gloss Language=“en” people /Gloss
/Sense
/Entry
/item

Also the file names include “en”
e.g. Interlinear_en_EXO.xml

舊文章 - 以原文顯示

When you run the interlinearizer, check what language code the Model Text for Interlinearization has. If it does not have “en”, that could be your problem. Run the interlinearizer with a model English text that does have “en” as its language. Quite a few resources have changed their language codes in Paratext 8, so it’s worth checking this.

舊文章 - 以原文顯示

So, it is interesting that it is actually NOT clear what language code is being used by model texts that are resources. The ones I’ve tried are locked so I can’t look at the xml. When I go to Project Properties for the resources, they are listed as “eng” or “eng-US”. I could not find any listed as “en”. So I tried a test by editing the interlinearizer folder and files, as well as the lexicon file so that the language everywhere is listed as “eng” (and again later as “eng-US”).

None of that made ANY difference to how the interlinearize fails to work in P8 even though it works fine in P7 with the same files.

I’m open for more suggestions.

Milt_Jones

舊文章 - 以原文顯示

I confess to not knowing the difference between “en” and “eng”. I think it safe to assume that they are the same. What you definitely don’t want to do, is to run the Interlinearizer, with NIV11 as your Model Text for Interlinearization. The reason for this is that NIV11 has the language code “eng-us”. This will definitely not work. You can see what a resource’s language code is in Paratext when you go to File, Open Project/Resource. The third column headed Language lists the language and its language code. So for similar reasons, don’t use NIV11UK or NIV84, which use “eng-GB” and “eng-US” respectively. I recommend you run the interlinearizer with any resource as the model text that has eng as its language code. If you want any further involvement from me, please contact me off list, my Skype name is anon758749.

舊文章 - 以原文顯示

Please see this post for how to make this work.

Please see this post.

舊文章 - 以原文顯示

I manage the NIV resources and can change the all of them to use en rather than eng-us or eng-gb. Before I do that, however, I want to make sure I will not be causing more problems by changing the resource language codes back to en. Do you know of any reasons not to?

舊文章 - 以原文顯示

I did need to rescue the interlinear data for about 5 people. Changing the language code for NIV back to en may mean rescuing them again, but if it is a better long term solution, I can handle it. I don’t know what that means for everyone, though.

Blessings,

Shegnada James

Language Technology and Publishing Coordinator, SIL Nigeria

Text Processing Specialist – Complex Script, GPS, SIL Intl

Skype: Shegnada.james.

[Email Removed]

+1 972 974 8146

舊文章 - 以原文顯示

Hi CrazyRocky,

To be honest, I don’t know what the consequences are. Also I’m not sure that this will affect my issue as there is something (else?) I on my system.

Let me know if you proceed with the change.

Milt_Jones

Milt_Jones

舊文章 - 以原文顯示
0

Unfortunately, it would cause anyone who has already changed to using en-US or en-GB to have to change back since it would trigger a resource update that everyone could get.
Since (hopefully) most projects have already migrated to 8.0 and have had to deal with this already, it’s probably not worth changing it at this point.
Also, as mentioned here, it’s probably a good idea to differentiate them.

舊文章 - 以原文顯示
[Expert]
(16.7k 點) 提出

已重新顯示
0

At this point it sounds like changing the language code may create more problems than it fixes.

舊文章 - 以原文顯示
(1.8k 點) 提出

Hi folks,

thanks for your help. I’m not exactly sure when things started to behave appropriately but…
After SEVERAL restarts, I have gotten the “en-US” to work with the US NIV text. I am making a copy of the directory and will also create an “en” set so that any other user will have success no matter what text they choose for English.

A couple notes…

  • The language code was correct BUT I restarted Paratext many times and Windows many times (over about 2 weeks) before it started displaying properly. Not sure how that is even possible unless there was a minor update that snuck through. (I’ve been at 8.0.100.72 the entire time.) Go figure.
  • There is one (maybe more?) place where the gloss is definitely defined but Paratext is not displaying it properly as black. This is probably what made troubleshooting this such a slow process., There must be some tiny bug, but I don’t have the time to chase down whether this is a single instance among thousands of entries. Just in case I come back to this in the future, it occurs at Ex 1:1.
    [item]
    …[string]EXO 1:1[/string]
    … …[VerseData]
    … … …[Cluster]
    … … … …[Range Index=“7” Length=“3” /]
    … … … …[Lexeme Id=“Word:sum” /]
    … … …[[/Cluster]
    … … …[[Cluster
    … … … …[Range Index=“51” Length=“4” /]
    … … … …[Lexeme Id=“Stem:ijip” /]
    … … …[[/Cluster]
    … …[/VerseData]
    …[/item]

I don’t remember seeing the Cluster tag before. Can give me info on that?

Thanks for helping me get 99+% operational.

Milt_Jones

舊文章 - 以原文顯示

Ok, I’m finding a LOT of these. The lexicon is correct, the gloss id is correct, the language id is correct, but Paratext is not displaying correctly.

舊文章 - 以原文顯示
0

Ok. I have researched this more thoroughly. At first it appeared that the gloss= was getting chopped off, but I have checked against P7 and there is no data loss and no misrepresentation in the UI. Must have been something goofy on my system that got me worked up. But it’s working as intended.

舊文章 - 以原文顯示
(184 點) 提出

相關問題

+4
4 個回答 568 次瀏覽
看起來 Paratext 8 在遷移逐字對照(interlinear)註釋時存在問題,如果您在 Paratext 7 中使用 Interlinearizer 並以新約希臘文作為模型文本進行註釋 一位用戶在此情況下尋求幫助,我發現遷移後,lexicon.xml 和每卷 ... 副本儲存在其他位置,當遇到此問題且無法識別編輯檔案中出了什麼錯時,您可以恢復該副本
[Expert]
sewhite
3.3k 提出
已提問 11月 3, 2017
0
3 個回答 499 次瀏覽
我搜尋了其他相關的討論串,但沒有找到任何結果 從 Paratext 9 開始,我遇到一個問題:在對照釋義器(interlinearizer)中按下「核准釋義」(approve glosses)後,對照釋義器會推進一節,但其他開啟的視窗不會跟 ... 我也使用 Logos,並設定 Paratext 傳送/跟隨經文參考 這是已知的問題嗎?還是有辦法修復它?
girldad5 163 提出 已提問 2月 4, 2021
0
2 個回答 296 次瀏覽
I was migrating our project into Paratext 8 from Paratext 7.5 and in the migration all the word selections and ... doing an interlinear on a fresh project. Is this intentional?
Generic.User 238 提出 已提問 7月 9, 2018
0
1 個回答 184 次瀏覽
假設同一語言中有兩個不同的專案:一個專案包含逐字解析與釋義,另一個則沒有。是否有可能將第一個專案逐字對照中的解析與釋義,重複使用於第二個專案的逐字對照中?
drwww 448 提出 已提問 11月 28, 2023
0
2 個回答 549 次瀏覽
我們已完成新約的翻譯,目前正在進行舊約的翻譯工作。其中一位譯者詢問,目前是否有可能製作一份新約的對照譯文,且其中的註釋(glosses)使用目標語言。我推測這意味著需要翻譯對照譯文中使用的所有註釋,這將是一項不輕的任務。但使用內建的對照譯文功能是否可行?有沒有辦法在其中提供自訂的註釋?或者是否有其他方法可以實現這一點?
JohnBrownie 385 提出 已提問 6月 28, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Accept the one whose faith is weak, without quarreling over disputable matters.
Romans 14:1
3,047 個問題
6,007 個回答
5,671 則評論
2,027 位使用者