[sword-devel] seeking consensus on OSIS lemma best practice
gary.holmlund at gmail.com
Fri Oct 12 20:28:23 MST 2012
On 10/12/2012 07:23 PM, Karl Kleinpaste wrote:
> Chris Little wrote:
>>> This is certainly bad OSIS encoding. It is also not a Sword
>>> convention. If anything is implemented that requires a language prefix
>>> like this, it represents a bug, whether in Sword or in BibleTime.
> Well...this is how SWModule has done this since forever.
> Gary Holmlund <gary.holmlund at gmail.com> writes:
>> Here is a quote of a comment from Xiphos source code:
>> Strong's words are specified as a prefix letter H or G (Hebrew or
>> Greek) and the numeric word identifier, e.g. G2316 to find \"θεός\"
> Yes, that's from one of the help texts in Xiphos' advanced search. It
> simply reflects what has been the case since (what I have always
> perceived as) The Dawn Of Net.Time.
> See src/modules/swmodule.cpp, the description of case -3 before
> SWModule::search(). And then tell me what the 3 special cases are
> about, that have to do with noticing "G3588".
> (Love the comment: "cheeze. skip empty article tags that weren't
> assigned to any text". Hm.)
Type this into a shell in the sword/src directory. You will see plenty
of evidence that sword is using H and G to parse strongs information.
find -type f -name '*.cpp' |xargs grep -w H
More information about the sword-devel