<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>My question is about a frontend, BibleTime. Your suggestion about
      establishing a pattern from an arbitrary key was what I was
      thinking about. I am glad to hear that it is used by JSword. This
      is the answer I needed.</p>
    <p>Gary<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 09/27/2017 05:11 PM, DM Smith wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:F3644306-BE01-4899-9A1B-80257D3BA6D5@crosswire.org">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      I’m curious whether your question is as a module creator or
      otherwise. Are you creating a Strong’s module or a module having
      Strong’s numbers? 
      <div class=""><br class="">
      </div>
      <div class="">The KJV module uses Strong’s numbers of the form
        G975, that is, a G or H followed by an unpadded number. That’s
        the current standard.<br class="">
        <div class=""><br class="">
        </div>
        <div class="">There’s a new setting for dictionary modules
          having keys that beginning with numbers:
          StrongsPadding=true|false</div>
        <div class="">When it is true, it will pad a key beginning with
          numbers with the assumption that it follows the old logic of
          padded numbers.</div>
        <div class=""><br class="">
        </div>
        <div class="">The reason for padded numbers is that keys are
          sorted by a strict ascii text collation and the desire is for
          keys to be in numerical order.</div>
        <div class=""><br class="">
        </div>
        <div class="">You can use ld2imp to dump a dictionary and
          examine its keys.</div>
        <div class=""><br class="">
        </div>
        <div class="">A front end needs to normalize a search request
          the same as the module it is searching against.</div>
        <div class=""><br class="">
        </div>
        <div class="">I don’t know how SWORD does it but JSword examines
          an arbitrary key from the Strong’s module and establishes a
          pattern based upon that. It allows for keys to start with a G
          or H and be 0 padded or not. Then it normalizes the search
          request according to that pattern.</div>
        <div class=""><br class="">
        </div>
        <div class="">Hope this helps a bit,</div>
        <div class="">DM Smith</div>
        <div class=""><br class="">
          <div>
            <blockquote type="cite" class="">
              <div class="">On Sep 27, 2017, at 2:12 PM, Gary Holmlund
                &lt;<a href="mailto:gary.holmlund@gmail.com" class=""
                  moz-do-not-send="true">gary.holmlund@gmail.com</a>&gt;
                wrote:</div>
              <br class="Apple-interchange-newline">
              <div class="">
                <meta http-equiv="Content-Type" content="text/html;
                  charset=utf-8" class="">
                <div text="#000000" bgcolor="#FFFFFF" class="">
                  <p class="">I don't see anywhere the document suggest
                    not having the zeros. I do see several examples with
                    zeros between the letter and the digits.</p>
                  <p class="">H0776<br class="">
                    H01961<br class="">
                    H08414<br class="">
                    H0922</p>
                  <p class="">Even if the document had suggested no
                    zeros, we have documents (MLStrong, Dodson) that do
                    have these zeros. If I have "G32" how do I know to
                    change it to "G0032" to lookup in these documents?<br
                      class="">
                  </p>
                  <p class="">Gary<br class="">
                  </p>
                  <br class="">
                  <div class="moz-cite-prefix">On 09/27/2017 12:12 AM,
                    Michael H wrote:<br class="">
                  </div>
                  <blockquote type="cite"
cite="mid:CAJ9hia8DQdq8bQbTacMG9p1BgeHbWvjCaUNS1-mJq3G5wkJobQ@mail.gmail.com"
                    class="">
                    <div dir="ltr" class="">STEP suggests that leading
                      zeros do not belong in between the letter and the
                      digits. <br class="">
                      <br class="">
                      <a
href="https://stepweb.atlassian.net/wiki/spaces/TYNSTEP/pages/36569098/OSIS+samples#OSISsamples-OSISofaBiblewithstrongnumbers%28ESV%29"
                        moz-do-not-send="true" class="">https://stepweb.atlassian.net/wiki/spaces/TYNSTEP/pages/36569098/OSIS+samples#OSISsamples-OSISofaBiblewithstrongnumbers(ESV)</a><br
                        class="">
                      <br class="">
                      <br class="">
                    </div>
                    <div class="gmail_extra"><br class="">
                      <div class="gmail_quote">On Tue, Sep 26, 2017 at
                        10:38 PM, Gary Holmlund <span dir="ltr"
                          class="">&lt;<a
                            href="mailto:gary@holmlund.org"
                            target="_blank" moz-do-not-send="true"
                            class="">gary@holmlund.org</a>&gt;</span>
                        wrote:<br class="">
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">I am trying to
                          understand the various forms that Strong's
                          references can have. Let me explain with an
                          example from BibleTime when we hover over a
                          word and automatically display the Strong's
                          reference text.<br class="">
                          <br class="">
                          In the new testament (KJV and ESV2011) the
                          Strong's reference for "angel" is  "G32". In
                          BibleTime the "G" is removed leaving "32" as
                          the reference to lookup. This works for
                          StrongsGreek, StringsRealGreek, and
                          AbbottSmithStrongs. It does not work for
                          MLStrong and Dodson.<br class="">
                          <br class="">
                          In the books StrongsGreek, StringsRealGreek,
                          and AbbottSmithStrongs the reference is
                          "00032". In MLStrong and Dodson the reference
                          is "G0032". So, I find that "32" will work as
                          a key when the book reference is "00032",  but
                          "32" or "G32" won't work if the book reference
                          is "G0032"<br class="">
                          <br class="">
                          If I knew that Strong's references were either
                          "Gnnnn" or "nnnnn" I could pad zeros in the
                          right place when a shorter Strong's reference
                          needs to be looked up. Or is there some other
                          method we can use?<br class="">
                          <br class="">
                          PS. I am told that Xiphos has the same
                          problem.<br class="">
                          <br class="">
                          Gary Holmlund<br class="">
                          <br class="">
                          <br class="">
                          <br class="">
                          ______________________________<wbr class="">_________________<br
                            class="">
                          sword-devel mailing list: <a
                            href="mailto:sword-devel@crosswire.org"
                            target="_blank" moz-do-not-send="true"
                            class="">sword-devel@crosswire.org</a><br
                            class="">
                          <a
                            href="http://www.crosswire.org/mailman/listinfo/sword-devel"
                            rel="noreferrer" target="_blank"
                            moz-do-not-send="true" class="">http://www.crosswire.org/mailm<wbr
                              class="">an/listinfo/sword-devel</a><br
                            class="">
                          Instructions to unsubscribe/change your
                          settings at above page</blockquote>
                      </div>
                      <br class="">
                    </div>
                    <br class="">
                    <fieldset class="mimeAttachmentHeader"></fieldset>
                    <br class="">
                    <pre class="" wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org" moz-do-not-send="true">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel" moz-do-not-send="true">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
                  </blockquote>
                  <br class="">
                </div>
                _______________________________________________<br
                  class="">
                sword-devel mailing list: <a
                  href="mailto:sword-devel@crosswire.org" class=""
                  moz-do-not-send="true">sword-devel@crosswire.org</a><br
                  class="">
                <a
                  href="http://www.crosswire.org/mailman/listinfo/sword-devel"
                  class="" moz-do-not-send="true">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br
                  class="">
                Instructions to unsubscribe/change your settings at
                above page</div>
            </blockquote>
          </div>
          <br class="">
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
    </blockquote>
    <br>
  </body>
</html>