teusbenschop / ndebele

The text of the Ndebele Bible for use by the translation team
3 stars 2 forks source link

Adjacent but separate xrefs abound! #22

Open DavidHaslam opened 7 years ago

DavidHaslam commented 7 years ago

I have observed that there are 2014 instances of the pattern \x*\x + i.e. Locations where there are adjacent but separate xrefs. btw. Only 55 of these match the pattern \x*\x + \xt

At first sight, it might be thought useful to consider joining each pair into a single xref.

However, not all instances are unequivocally suitable for joining. Here is a counter example, in 1 Samuel 25:2 which reads: \v 2 Kwakukhona-ke indoda eMahoni\x + Josh. 15.55.\x*\x + 23.24.\x*, lomsebenzi wayo wawuseKharmeli\x + Josh. 15.55.\x*; lindoda-ke yayiyisikhulu esikhulu, yayilezimvu eziyizinkulungwane ezintathu lembuzi eziyinkulungwane, yayigunda izimvu zayo eKharmeli.

The second reference in \x + Josh. 15.55.\x*\x + 23.24.\x* may be an implicit reference to 1 Samuel 23:24 and not to Joshua 23:24.

For this reason, each similar pair must be considered in its own context. i.e. Where the second xref begins with a reference without a book abbreviation. 730 of the observed adjacent pairs are like this. Search for regexp \\x\*\\x \+ \d+\. Even so, some these are still candidates for joining. Example: \x + 2.32.\x*\x + 20.23-26.\x*

DavidHaslam commented 7 years ago

There is also one pair of xrefs separated only by a full stop. Daniel 2:49 reads: \v 49 UDaniyeli wasecela enkosini, njalo yamisa\x + 2.24; 3.12.\x* oShadraki, uMeshaki loAbedinego\x + 1.7.\x* phezu komsebenzi wesabelo seBhabhiloni\x + 3.1,12,30; Esta 1.1.\x*; kodwa uDaniyeli waba sesangweni lenkosi\x + Esta 2.19.\x*.\x + 4.9; 5.11.\x*

Similar caveats apply.

teusbenschop commented 7 years ago

The last one, with the two xrefs separated by a full stop, I've fixed it. Thanks for spotting it. And as for the separate Xrefs that are suitable for joining, whew, that's going to be a labour intensive job. We are now focusing on getting the Shona Bible ready for publication, so if the xrefs in Ndebele are not exactly wrong, then I won't spend time, right now, on this huge job of going over all of them to see which ones can be joined and which ones need special care.

DavidHaslam commented 7 years ago

I intended to perform a similar analysis on the xrefs for the Shona Bible as I did yesterday for the Ndebele Bible with all the reported issues herein (not just this one). With your production plans in progress, I guess that leaves me little time....

teusbenschop commented 7 years ago

There's more time than it looks because submission is planned for around Q3 or Q4 2018.

DavidHaslam commented 6 years ago

See also issue #46