0
241 次瀏覽

According to my old notes, I get the cleanest text via copy and paste, with my “View Setting” set to “unformatted”.

I need from PT8 entire chapters in plain text, UTF-8 with clean, original SFM (or USFM if you want) for post-processing with another tool.

I works mostly, but I get typical output like this, see the \p marker:

\c 2\zblo 7974\s1 Marii a ŋʊm Yeesu\p\v 1 Kaŋkǝlǝ́ nɖe na bʊtǝnyarɩ 'baya Ogʊsto a shee ganɔ wàà, ba tʊ̂r bʊtǝna mbʊɖee Room kǝbaja ba jɩ ma, kǝbɛrɛ baŋunii.\v 2 Ŋkǝlǝ́ nɖee ba lee ʊrɩtʊr ʊsǝbaka ɖe ma, Kiriniyɔsɩ a lee ka Nɖiyar ashee Sirii kaatǝna.

Can you see how my paragraph markers never carry any “closing space”. I believe this is against the definition of proper SFM data. I looked it up again in usfmReference2_4.pdf:

SFMs start with a backslash character “” and end with the next space.

For my other tool, working also with Regexes, it would be very very helpful if I could properly define each SFM as “backslash whatever closing-space”.

Please advise for the best way to get clean text with valid markers out of PT8.

舊文章 - 以原文顯示
Paratext (934 點) 提出
已重新顯示 | 241 次瀏覽

1 個回答

+2
最佳回答

I would think that your cleanest text would come directly from the text file that Paratext uses.

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

Thanks anon848905, I could never do this in Fieldworks/Flex, but I just had a look at the project data: Yes, I can copy chunks as needed from the raw data. For example I can easily grab one chapter at a time and “harvest” a book and be even faster then I would be when navigating inside PT8.

And yes, I promise, I will only work from copies… It is just too tempting to do cut and paste rather than copy and paste - because I can see what I have grabbed already. And just too routine to hit, YES, when closing the file and the editor goes “You have unsaved changes…”.

So thread closed, user happy. Thank you.

舊文章 - 以原文顯示

相關問題

+1
3 個回答 446 次瀏覽
Exporting the Wordlist to HTML is a nice feature, except that for many users including me, working with HTML is ... that are currently marked as spelled correctly in PT? anon101508
anon101508 117 提出 已提問 3月 11, 2019
0
1 個回答 233 次瀏覽
我記得有一種方法可以在 Paratext 視窗中變更顯示的文字,而不必修改底層的 SFM 檔案(不是指「字型功能」) 我想這可以在「列印草稿」(Print Draft)階段實作(透過 PrintDraftChanges.txt?),但我認為也可以在 ... 也無需回頭「修正」所有引號 這現在還可行嗎?我是否準確地記住了這一點? 謝謝, james_post
[Moderator]
james_post
2.1k 提出
已提問 2月 4, 2022
0
4 個回答 845 次瀏覽
我們團隊開始修訂一部已出版的新約翻譯 起初我們很樂觀,希望不會花太長時間,也不需要做太多改動 現在,我們發現超過 90% 的經節都已被修改 我們在 Paratext 外部完成了所有修訂工作 原因有很多,這裡就不細說了 然而,現在我們即 ... 4 etc 你會給我什麼建議?我目前傾向於選項 2,並手動完成添加標題和交叉引用的工作 標題本來就需要手動修訂
bit 495 提出 已提問 12月 2, 2020
0
2 個回答 127 次瀏覽
我有一個專案,裡面包含 .SFC 檔案。我想將它們轉換為 .SFM 檔案。 這兩種檔案類型之間有什麼差異(如果有的話)? 在進行轉換之前,我應該注意哪些事項? 更新檔案副檔名的最佳方法是什麼?(我可以直接更改檔案名稱就完成嗎?)
Alex W. 191 提出 已提問 11月 27, 2024
0
1 個回答 225 次瀏覽
我在巴布亞新幾內亞(PNG)有一位譯者,他的 Paratext 專案將 SFM 檔案儲存為 PT6 副檔名 我猜測是在建立專案時,預設使用了這個副檔名 他們希望將副檔名改為 SFM,就像一般的翻譯專案一樣 我可以在「專案設定」->「專 ... 編輯按鈕,可以變更「典型檔案名稱」 但是編輯按鈕無法使用 專案建立後,是否有可能變更副檔名? anon469049
anon469049 120 提出 已提問 1月 14, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Don’t you know that you yourselves are God’s temple and that God’s Spirit dwells in your midst?
1 Corinthians 3:16
3,049 個問題
6,007 個回答
5,672 則評論
2,029 位使用者