0 suara
239 tampilan

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.

Postingan lama - ditampilkan dalam bahasa aslinya
Paratext oleh (934 poin)
ditampilkan kembali | 239 tampilan

1 Jawaban

+2 suara
Jawaban terbaik

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

Postingan lama - ditampilkan dalam bahasa aslinya
oleh (9,9k poin)

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.

Postingan lama - ditampilkan dalam bahasa aslinya

Pertanyaan terkait

+1 suara
3 jawaban 446 tampilan
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 bertanya Mar 11, 2019
0 suara
1 jawaban 233 tampilan
Saya merasa ingat ada cara untuk mengubah teks yang ditampilkan di jendela Paratext, tanpa mengubah file SFM di ... saya mengingat ini dengan akurat? Terima kasih, james_post
[Moderator]
james_post
2,1k
bertanya Feb 4, 2022
0 suara
4 jawaban 845 tampilan
Dalam tim kami, kami memulai revisi terjemahan Perjanjian Baru yang sudah diterbitkan. Pada awalnya kami optimis, ... secara manual. Header perlu direvisi secara manual anyway.
bit 495 bertanya Des 2, 2020
0 suara
2 jawaban 127 tampilan
Saya memiliki proyek yang diberikan kepada saya yang memiliki file .SFC. Saya ingin mengubahnya menjadi file .SFM. Apa ... ? (Bisakah saya hanya mengubah nama file dan selesai?)
Alex W. 191 bertanya Nov 27, 2024
0 suara
1 jawaban 225 tampilan
Saya memiliki seorang penerjemah di PNG yang proyek Paratext-nya menyimpan file SFM dengan ekstensi PT6. Saya ... mungkin untuk mengubah ekstensi setelah proyek dibuat? anon469049
anon469049 120 bertanya Jan 14, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Very truly I tell you, whoever accepts anyone I send accepts me; and whoever accepts me accepts the one who sent me.
John 13:20
3,049 pertanyaan
6,007 jawaban
5,672 komentar
2,029 pengguna