<div dir="ltr"><div>No. Both DM's script (and mine) operate on an OSIS file. Not on a module.</div><div><br></div><div>--Greg</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jun 18, 2025 at 3:03 PM David Haslam <<a href="mailto:dfhdfh@protonmail.com">dfhdfh@protonmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>   <div dir="auto">Does it take account of the Scope key in the .conf file for a less than complete Bible ?</div><div dir="auto"><br></div><div dir="auto">David</div><div><br></div> <div id="m_-4081075353325937808protonmail_mobile_signature_block"><div>Sent from <a href="https://proton.me/mail/home" target="_blank">Proton Mail</a> for iOS</div></div> <div><br></div><div><br></div>On Wed, Jun 18, 2025 at 20:51, DM Smith <<a href="mailto:On+Wed,+Jun+18,+2025+at+20:51,+DM+Smith+%3C%3Ca+href=" target="_blank">dmsmith@crosswire.org</a>> wrote:<blockquote type="cite">  Hi,
<div>
 <br>
</div>
<div>
 Several have commented on how hard it is to test an OSIS xml file against v11ns especially since it goes off into an infinite loop. (I’ve posted a patch that fixes that) But it is still a process of trial and error to find an appropriate v11n.
</div>
<div>
 <br>
</div>
<div>
 <div>
  So, I’ve been iterating with chatGPT to create a python script to find a best fit v11n. Since I don’t know python, I can’t vouch for the script beyond it worked for a simple test case that had an extra chapter for Genesis and had some extra verses at the end of a chapter in that book.
 </div>
 <div>
  <br>
 </div>
 <div>
  I offer it, as a starting place. See the attached file.
 </div>
 <div>
  <br>
 </div>
 <div>
  It has a —debug flag.
 </div>
 <div>
  The first argument is expected to be the OSIS xml file.
 </div>
 <div>
  The second argument is optional and gives the location to the include directory of svn/sword/trunk/include with all the canon*.h files. If you don’t supply the argument, it uses the web to load the canon*.h files from 
  <a href="https://www.crosswire.org/svn/sword/trunk/include" target="_blank">https://www.crosswire.org/svn/sword/trunk/include</a>. 
 </div>
 <div>
  <br>
 </div>
 <div>
  It will score the fitness of each of the v11ns. It gives the score as a %, but I don’t know what that means. I told it that it should prioritize book matches, then chapter matches and finally verse matches. I don’t know how well it did that scoring. I didn’t test for that.
 </div>
 <div>
  <br>
 </div>
 <div>
  The output is alphabetized. If more than one v11n have the same high score, they are listed.
 </div>
 <div>
  <br>
 </div>
 <div>
  In His Service,
 </div>
 <div>
  <span style="white-space:pre-wrap"> </span>DM
 </div>
 <div>
  <br>
 </div>
 <div></div>
</div>

<div>
 <div></div>
</div></blockquote></div>_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div>