最近有幾位使用者聯繫我,因為他們希望有一種方法來統計含有文字的經節數量,以及尚未翻譯的經節數量。
當然,我的標準回答是使用專案計畫(Project Plan)。但即使使用專案計畫,它顯示的是各階段每卷書的完成百分比,而不是經節數量。這或許更有幫助,但仍有很多人使用舊的試算表系統來追蹤這類資訊,或將其納入報告中。
Steve White 提出了一個正則表達式(Regex),我稍作修改,以列出所有至少包含「耶穌哭了」(Jesus wept)的經節。
regex:\\v \d+ .*? \w{4,} \w{3,}
現在,雖然這可以列出某卷書中所有含有文字的經節,但這仍然是一個相當手動的操作。
我們啟動了一個新的「腳本與技巧」(Scripts and Hacks)區塊,利用內建於 Paratext 中的 Python 腳本引擎。我想,有人可以建立一個腳本,快速提取聖經每卷書中已翻譯經節的數量。
當然,這不會說明該文本的品質,但可以生成一個簡單的單頁 HTML 報告,這對許多人來說會很有用。有人願意接受這個挑戰嗎?或者有人已經有自制的解決方案來解決這個問題?
I’ve had a couple users contact me now because they want a way to count the verses with text in them, and the ones untranslated.
Of course my standard answer is to use the project plan. But even with the project plan, it shows percentage complete for books at each stage, not the number of verses. Arguably more helpful, but there are still many people that are using an old spreadsheet system to track things like this, or to include in reports.
Steve White came up with a Regex that I modified a bit to list all verses with at least, “Jesus wept” in them.
regex:\\v \d+ .*? \w{4,} \w{3,}
Now, while this will make a list of all the verses in a book that contain text, it is still a rather manual operation.
We started a new Scripts and Hacks section that takes advantage of the Python scripting engine that is built into Paratext. I imagine that someone could create a script that can quickly pull out the number of translated verses for each book of the Bible.
Of course, this won’t say anything about the quality of that text, but a simple one page html report could be generated that many people would find useful. Is anyone up for the challenge? Or does someone already have a home brewed solution to this problem?
機器翻譯自 English