0 votos
243 visualizações

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.

Publicação antiga - exibida no idioma original
Paratext por (934 pontos)
reexibida | 243 visualizações

1 Resposta

+2 votos
Melhor resposta

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

Publicação antiga - exibida no idioma original
por (9,9k pontos)

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.

Publicação antiga - exibida no idioma original

Perguntas relacionadas

+1 voto
3 respostas 446 visualizações
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 perguntada Mar 11, 2019
0 votos
1 resposta 233 visualizações
Eu me lembro de uma maneira de alterar o texto exibido em uma janela do Paratext, sem modificar o arquivo SFM ... ? Eu estou me lembrando disso com precisão? Obrigado, james_post
[Moderator]
james_post
2,1k
perguntada Fev 4, 2022
0 votos
4 respostas 846 visualizações
Na nossa equipe, começamos a revisar uma tradução publicada do Novo Testamento. No início, éramos otimistas, ... cabeçalhos precisam de uma revisão manual de qualquer forma.
bit 495 perguntada Dez 2, 2020
0 votos
2 respostas 127 visualizações
Eu tenho um projeto que me foi entregue e que possui arquivos .SFC. Eu gostaria de convertê-los para arquivos .SFM. ... ? (Eu poderia apenas renomear o arquivo e estar pronto?)
Alex W. 191 perguntada Nov 27, 2024
0 votos
1 resposta 225 visualizações
Eu tenho um tradutor aqui em PNG cujo projeto no Paratext está salvando os arquivos SFM com a extensão PT6. Estou ... alguma forma depois que o projeto já foi criado? anon469049
anon469049 120 perguntada Jan 14, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For just as each of us has one body with many members, and these members do not all have the same function, so in Christ we, though many, form one body, and each member belongs to all the others.
Romans 12:4-5
3,049 perguntas
6,007 respostas
5,672 comentários
2,029 usuários