+2 votes

I’ve had a couple users contact me now because they want a way to count the verses with text in them, and the ones untranslated.

Of course my standard answer is to use the project plan. But even with the project plan, it shows percentage complete for books at each stage, not the number of verses. Arguably more helpful, but there are still many people that are using an old spreadsheet system to track things like this, or to include in reports.

Steve White came up with a Regex that I modified a bit to list all verses with at least, “Jesus wept” in them.

regex:\\v \d+ .*? \w{4,} \w{3,}

Now, while this will make a list of all the verses in a book that contain text, it is still a rather manual operation.

We started a new Scripts and Hacks section that takes advantage of the Python scripting engine that is built into Paratext. I imagine that someone could create a script that can quickly pull out the number of translated verses for each book of the Bible.

Of course, this won’t say anything about the quality of that text, but a simple one page html report could be generated that many people would find useful. Is anyone up for the challenge? Or does someone already have a home brewed solution to this problem?

Paratext by [Moderator]
(1.3k points)

reshown

1 Answer

0 votes

I found that regex search very helpful for extracting the contexts of books where there are isolated verses translated and it is difficult to know exactly what verses are available in what chapter etc. One precision to suggest, as it stands I noticed this doesn’t capture verses with verse segments so I needed to add an optional word character after the digit, so

regex:\\v \d+\w? .*? \w{4,} \w{3,}

Thanks.

by (424 points)
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For we were all baptized by one Spirit so as to form one body—whether Jews or Gentiles, slave or free—and we were all given the one Spirit to drink.
1 Corinthians 12:13
2,479 questions
5,175 answers
4,874 comments
1,283 users