0 votos
241 vistas

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.

Publicación antigua - se muestra en su idioma original
Paratext por (934 puntos)
mostrada de nuevo | 241 vistas

1 Respuesta

+2 votos
Mejor respuesta

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

Publicación antigua - se muestra en su idioma original
por (9,9k puntos)

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.

Publicación antigua - se muestra en su idioma original

Preguntas relacionadas

+1 voto
3 respuestas 446 vistas
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 preguntada mar 11, 2019
0 votos
1 respuesta 233 vistas
Tengo la sensación de recordar una forma de cambiar el texto que se muestra en una ventana de Paratext, sin ... posible? Estoy recordando esto con precisión? Gracias, james_post
[Moderator]
james_post
2,1k
preguntada feb 4, 2022
0 votos
4 respuestas 846 vistas
En nuestro equipo, nos embarcamos en la revisión de una traducción publicada del Nuevo Testamento. Al principio ... Los encabezados necesitan una revisión manual de todos modos.
bit 495 preguntada dic 2, 2020
0 votos
2 respuestas 127 vistas
Tengo un proyecto que me han pasado y que tiene archivos .SFC. Me gustaría cambiarlos a archivos .SFM. Cuál es la ... ( Puedo simplemente cambiar el nombre del archivo y ya está?)
Alex W. 191 preguntada nov 27, 2024
0 votos
1 respuesta 225 vistas
Tengo aquí en PNG a un traductor cuyo proyecto de Paratext guarda los archivos SFM con la extensión PT6. Supongo ... absoluto una vez que el proyecto ha sido creado? anon469049
anon469049 120 preguntada ene 14, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Finally, all of you, be like-minded, be sympathetic, love one another, be compassionate and humble.
1 Peter 3:8
3,049 preguntas
6,007 respuestas
5,672 comentarios
2,029 usuarios