[sword-devel] AbbottSmith module question
Aaron Christianson
ninjaaron at gmail.com
Wed Jan 13 21:30:40 MST 2016
The BDBGlosses_Strongs module is similar. I started a python wrapper
on diatheke (I don't know Java or C++, and there is no documentation
for the SWIG python-sword library) specifically to provide intelligent
resolutions for issues around different ways of representing Strong's
numbers in various Bible and dictionary modules which are currently
broken on the Linux front-ends (Xiphos and Bibletime) and on AndBible.
It's quite frustrating, though I will say that using a language like
python (not least in interactive mode) as a filter for complex queries
has ultimately turned out to be useful in ways I'd never imagined and
would be difficult for a GUI front-end to match without its own
built-in macro language (which isn't a bad idea... If only I would get
off my can and learn C++)
But yeah. Strong's number madness in Sword is basically why I learned
to program.
On Wed, Jan 13, 2016 at 8:31 PM, Daniel Owens <dhowens at pmbx.net> wrote:
> One more thing: I created markup instructions for contributors to the
> Abbott-Smith project. You can get a quick overview of how we have marked it
> up:
> https://github.com/translatable-exegetical-tools/Abbott-Smith/blob/master/Instructions_for_Contributors.md.
>
> One other thing you are likely to want to remove is <pb>. This is mean to
> preserve page numbering in case someone wants to create a module that is
> easy to cite. But that is a lower priority for me.
>
> Daniel
>
> On 1/14/16 8:42 AM, DM Smith wrote:
>>
>> Based on your and Karl’s reply, I’m going to move it to the experimental
>> part of the repository.
>>
>> Best I can tell, it doesn’t work because the Strong’s number isn’t zero
>> filled and I’ve not found any support for Strong’s numbers that aren’t
>> padded.
>>
>> To rebuild the module, we have to change the Strong’s numbers from G1 to
>> G0001, G2 to G0002 and so forth. It was a nice idea to have the Strong’s
>> numbers and the Greek words as separate entry. It’s not practical,
>> especially since they are fully accented.
>>
>> To create a module from the TEI source (Thank you Daniel for the work
>> you’ve put into it. I see that you are a major contributor.) one needs to
>> cut the <entry>…</entry> out of the file into it’s own file, then run that
>> through tei2mod. There’s a bug in all of the TEI dictionary modules where
>> the <entry …> is not in the module, but </entry> is. tei2mod should have
>> kept both or dropped both.
>>
>> If I were to make the module, I’d use xslt to transform the xml. The one
>> thing that I think is missing in the entry is the word. It is represented in
>> the <orth> element, but it is not the same. I also find it odd that there is
>> a leading <note> with the number of occurrences in the NT. I’ve not looked
>> at the pdf to see where that came from.
>>
>> In Him,
>> DM
>>
>>
>>> On Jan 13, 2016, at 8:14 PM, Daniel Owens <dcowens76 at gmail.com> wrote:
>>>
>>> This module has never worked, as far as I can tell. I never was able to
>>> chase down why or convince Chris (who first put it up) to fix it. Thanks for
>>> calling attention to this, DM.
>>>
>>> Now the source file has many corrections to the markup and data
>>> (https://github.com/translatable-exegetical-tools/Abbott-Smith/blob/master/abbott-smith.tei.xml).
>>> So I suggest a new module needs to be made.
>>>
>>> However, it has been a long time since I have been able to successfully
>>> compile and test a TEI module. If someone has time and expertise to do this,
>>> I would be grateful because the TEI lexicon module creation cycle is a
>>> series of mysteries to me.
>>>
>>> Daniel
>>>
>>> On 1/14/16 7:53 AM, DM Smith wrote:
>>>>
>>>> Well, I’ve created a new Windows 7 VM and installed the KJV and also
>>>> AbbottSmith using The SWORD Project for Windows (BibleCS) Install Manager.
>>>> I’m not able to get the module to work in BibleCS.
>>>>
>>>> As far as I can tell it loads but doesn’t work in Xiphos. I show
>>>> Strong’s in the KJV. Click on a number, any number and I get the same entry.
>>>> As far as I can tell it is the last entry. Once I get there, clicking the up
>>>> and down arrows on the dictionary will make the program crash. (I can
>>>> deliberately, reliably repeat the crash.) The dropdown list contains >, G1,
>>>> G1, G1, …., which is wrong. If I manually search for a number by prefixing
>>>> it with a G, I’ll get the entry, indicating it is linked.
>>>>
>>>> I’m running the Windows version that I just downloaded from the
>>>> xiphos.org <http://xiphos.org> site.
>>>>
>>>> In Him,
>>>> DM
>>>>
>>>>> On Jan 13, 2016, at 6:29 PM, Peter Von Kaehne <refdoc at gmx.net
>>>>> <mailto:refdoc at gmx.net>> wrote:
>>>>>
>>>>> I have just now installed it on Xiphos and set up as my strong
>>>>> dictionary for NT. It works perfectly well as far as I can tell
>>>>>
>>>>> Peter
>>>>>
>>>>>> Gesendet: Mittwoch, 13. Januar 2016 um 20:16 Uhr
>>>>>> Von: "DM Smith" <dmsmith at crosswire.org <mailto:dmsmith at crosswire.org>>
>>>>>> An: "SWORD Developers' Collaboration Forum" <sword-devel at crosswire.org
>>>>>> <mailto:sword-devel at crosswire.org>>
>>>>>> Betreff: [sword-devel] AbbottSmith module question
>>>>>>
>>>>>> The AbbottSmith module has excellent content. I’m having some problems
>>>>>> getting it to work in any SWORD or a JSword front-end (due to bugs in
>>>>>> JSword).
>>>>>>
>>>>>> I’m wondering how it is supposed to work in a SWORD front-end.
>>>>>>
>>>>>> It is keyed to Strong’s numbers. Each Strong’s number begins with the
>>>>>> letter G and is followed by the number, but not padded. These are sorted as:
>>>>>> *blank key*
>>>>>> G1
>>>>>> G10
>>>>>> G100
>>>>>> G1000
>>>>>> G1001
>>>>>> ….
>>>>>> G2
>>>>>> G20
>>>>>> G200
>>>>>> ….
>>>>>> and so forth.
>>>>>>
>>>>>> (The first two entries in the modules are bugs, probably in the module
>>>>>> making utility. But that is another issue.)
>>>>>>
>>>>>> Each of these entries is linked to the entry for the corresponding
>>>>>> Greek word. These are fully accented words. In the index they are sorted
>>>>>> according to their upper case representation. They follow the entries
>>>>>> beginning with G.
>>>>>>
>>>>>> In my Windows VM, I’m not able to get the KJV to show up in either
>>>>>> Xiphos or The SWORD Project for Windows. (Others have reported this problem.
>>>>>> And I’m not interested in “going there.”) As such I can’t determine if I
>>>>>> were to use AbbottSmith as a Greek Strong’s Dictionary how it would or if
>>>>>> it’d work.
>>>>>>
>>>>>> In Him,
>>>>>> DM Smith
>>>>>> _______________________________________________
>>>>>> sword-devel mailing list: sword-devel at crosswire.org
>>>>>> <mailto:sword-devel at crosswire.org>
>>>>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>>>>> Instructions to unsubscribe/change your settings at above page
>>>>>
>>>>> _______________________________________________
>>>>> sword-devel mailing list: sword-devel at crosswire.org
>>>>> <mailto:sword-devel at crosswire.org>
>>>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>>>> Instructions to unsubscribe/change your settings at above page
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> sword-devel mailing list: sword-devel at crosswire.org
>>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>>> Instructions to unsubscribe/change your settings at above page
>>>
>>>
>>> _______________________________________________
>>> sword-devel mailing list: sword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list