0 голосов
242 просмотров

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 очков)
снова показан | 242 просмотров

1 ответ

+2 голосов
Лучший ответ

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

Старое сообщение — показано на исходном языке
от (9,9тыс. очков)

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 просмотров
Мне кажется, я помню способ изменить отображаемый в окне Paratext текст, не изменяя при этом исходный файл SFM (не ... сих пор? Я вообще правильно это помню? Спасибо, james_post
[Moderator]
james_post
2,1тыс.
задал вопрос фев 4, 2022
0 голосов
4 ответов 846 просмотров
В нашей команде мы приступили к ревизии опубликованного перевода Нового Завета. Изначально мы были оптимистичны, надеясь ... ссылки. Заголовки всё равно потребуют ручной ревизии.
bit 495 задал вопрос дек 2, 2020
0 голосов
2 ответов 127 просмотров
У меня есть проект, в котором есть файлы .SFC. Я хотел бы изменить их на файлы .SFM. В чём разница между ... обновить расширение файла? (Можно ли просто переименовать файл и всё?)
Alex W. 191 задал вопрос ноя 27, 2024
0 голосов
1 ответ 225 просмотров
У меня здесь, в Папуа - Новой Гвинее, есть переводчик, у которого проект Paratext сохраняет файлы SFM ... Возможно ли вообще изменить расширение после создания проекта? anon469049
anon469049 120 задал вопрос янв 14, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Live in harmony with one another. Do not be proud, but be willing to associate with people of low position. Do not be conceited.
Romans 12:16
3,049 вопросов
6,007 ответов
5,672 комментариев
2,029 пользователей