0 votes
239 vues

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.

Ancienne publication - affichée dans sa langue d'origine
Paratext par (934 points)
réaffiché | 239 vues

1 Réponse

+2 votes
Meilleure réponse

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

Ancienne publication - affichée dans sa langue d'origine
par (9,9k points)

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.

Ancienne publication - affichée dans sa langue d'origine

Questions connexes

+1 vote
3 réponses 446 vues
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 posée mars 11, 2019
0 votes
1 réponse 233 vues
Je me souviens qu'il existait un moyen de modifier le texte affiché dans une fenêtre de Paratext, sans modifier le ... que je me souviens de cela correctement ? Merci, james_post
[Moderator]
james_post
2,1k
posée févr. 4, 2022
0 votes
4 réponses 845 vues
Dans notre équipe, nous avons entrepris de réviser une traduction publiée du Nouveau Testament. Au début, nous étions ... têtes ont de toute façon besoin d'une révision manuelle.
bit 495 posée déc. 2, 2020
0 votes
2 réponses 127 vues
J'ai un projet qui m'a été confié et qui contient des fichiers .SFC. Je souhaiterais les convertir en fichiers .SFM. ... je simplement changer le nom du fichier et m'arrêter là ?)
Alex W. 191 posée nov. 27, 2024
0 votes
1 réponse 225 vues
J'ai un traducteur ici en PNG dont le projet Paratext enregistre les fichiers SFM avec l'extension PT6. Je suppose ... de changer l'extension une fois le projet créé ? anon469049
anon469049 120 posée janv. 14, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
If anyone destroys God’s temple, God will destroy that person; for God’s temple is sacred, and you together are that temple.
1 Corinthians 3:17
3,049 questions
6,007 réponses
5,672 commentaires
2,029 utilisateurs