0
243 次浏览

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 分) 发布
已重新显示 | 243 次浏览

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 发布 提问于 三月 11, 2019
0
1 个回答 233 次浏览
我似乎记得有一种方法可以在不更改底层 SFM 文件的情况下更改 Paratext 窗口中显示的文本(不是字体功能) 我认为这可以在打印草稿(Print Draft)阶段实现(使用 PrintDraftChanges.txt?),但我也认为它可以直 ... SFM 文件,也无需回头 修复 所有引号 这仍然可行吗?我的记忆准确吗? 谢谢, james_post
[Moderator]
james_post
2.1k 发布
提问于 二月 4, 2022
0
4 个回答 846 次浏览
我们团队着手修订一部已出版的新约译本 起初我们很乐观,希望不会花太长时间,也不需要做太多改动 但现在我们发现,超过 90% 的经文都被修改了 我们在 Paratext 外部完成了所有修订工作 原因有很多,这里就不赘述了 然而,现在临近 ... 你会给我什么建议?我目前倾向于选项 2,只是手动完成添加标题和交叉引用的工作 无论如何,标题都需要手动修订
bit 495 发布 提问于 十二月 2, 2020
0
2 个回答 127 次浏览
我接手了一个项目,其中包含 .SFC 文件。我想将它们更改为 .SFM 文件。 这两种文件类型之间有什么区别(如果有的话)? 在进行切换之前,我应该注意哪些事项? 更新文件扩展名的最佳方法是什么?(我可以直接更改文件名然后完成吗?)
Alex W. 191 发布 提问于 十一月 27, 2024
0
1 个回答 225 次浏览
我在巴布亚新几内亚有一位翻译人员,他的 Paratext 项目将 SFM 文件保存为带有 PT6 扩展名 我猜测在项目创建时,这就是默认设置 他们希望将扩展名更改为 SFM,就像普通翻译一样 我可以在 ... Typical File Name 的编辑按钮 但是 Edit 按钮不起作用 项目创建后,是否有可能更改扩展名? anon469049
anon469049 120 发布 提问于 一月 14, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
How good and pleasant it is when God’s people live together in unity!
Psalm 133:1
3,049 个问题
6,007 个回答
5,672 条评论
2,029 位用户