[sword-devel] OSIS Variants
Chris Burrell
chris at burrell.me.uk
Fri Feb 8 13:54:05 MST 2013
I'm not sure this is an issue with the ThML converter. From using mod2imp,
we have
Mat 1.9:
$$$Matthew 1:9
<w lemma="strong:G3604" morph="robinson:N-NSM">οζιας</w> <w
lemma="strong:G1161" morph="robinson:CONJ">δε</w> <w lemma="strong:G1080"
morph="strongsMorph:G5656 robinson:V-AAI-3S">εγεννησεν</w> <w
lemma="strong:G3588" morph="robinson:T-ASM">τον</w> <w lemma="strong:G2488"
morph="robinson:N-PRI">ιωαθαμ</w> <w lemma="strong:G2488"
morph="robinson:N-PRI">ιωαθαμ</w> <w lemma="strong:G1161"
morph="robinson:CONJ">δε</w> <w lemma="strong:G1080"
morph="strongsMorph:G5656 robinson:V-AAI-3S">εγεννησεν</w> <w
lemma="strong:G3588" morph="robinson:T-ASM">τον</w> *<seg subType="x-1"
type="x-variant"> αχας | αχαζ | 881 {N-PRI} | αχας </seg><seg subType="x-2"
type="x-variant"> αχαζ </seg> 881 {N-PRI}*<w lemma="strong:G1161"
morph="robinson:CONJ">δε</w> <w lemma="strong:G1080"
morph="strongsMorph:G5656 robinson:V-AAI-3S">εγεννησεν</w> <w
lemma="strong:G3588" morph="robinson:T-ASM">τον</w> <w lemma="strong:G1478"
morph="robinson:N-ASM">εζεκιαν</w>
Mat 9.4 outputs the seg with <w> tags in them. Mat 1.9 outputs some random
stuff.
$$$Matthew 9:4
<w lemma="strong:G2532" morph="robinson:CONJ">και</w> *<seg subType="x-1"
type="x-variant"><w lemma="strong:G1492" morph="strongsMorph:G5761
robinson:V-RAP-NSM">ειδως</w> </seg><seg subType="x-2" type="x-variant"><w
lemma="strong:G3708" morph="strongsMorph:G5631
robinson:V-2AAP-NSM">ιδων</w> </seg>*<w lemma="strong:G3588"
morph="robinson:T-NSM">ο</w> <w lemma="strong:G2424"
morph="robinson:N-NSM">ιησους</w> <w lemma="strong:G3588"
morph="robinson:T-APF">τας</w> <w lemma="strong:G1761"
morph="robinson:N-APF">ενθυμησεις</w> <w lemma="strong:G846"
morph="robinson:P-GPM">αυτων</w> <w lemma="strong:G3004"
morph="strongsMorph:G5627 robinson:V-2AAI-3S">ειπεν</w> <w
lemma="strong:G2443" morph="robinson:CONJ">ινα</w> <w lemma="strong:G5101"
morph="robinson:I-ASN">τι</w> <w lemma="strong:G1760"
morph="strongsMorph:G5736 robinson:V-PNI-2P">ενθυμεισθε</w> <w
lemma="strong:G4190" morph="robinson:A-APN">πονηρα</w> <w
lemma="strong:G1722" morph="robinson:PREP">εν</w> <w lemma="strong:G3588"
morph="robinson:T-DPF">ταις</w> <w lemma="strong:G2588"
morph="robinson:N-DPF">καρδιαις</w> <w lemma="strong:G4771"
morph="robinson:P-2GP">υμων</w>
Cheers
Chris
On 8 February 2013 20:47, DM Smith <dmsmith at crosswire.org> wrote:
> I noticed this a few weeks ago. We should change JSword's ThML converter
> to output OSIS as is used in Byz and WHNU. And the xslt to handle it.
>
> When I did the original, there were not any variants in an OSIS text.
>
> In Him,
> DM
> On Feb 8, 2013, at 1:09 PM, Chris Burrell <chris at burrell.me.uk> wrote:
>
> Hi
>
> Is there are standard subType pattern that modules are supposed to follow?
>
> It seems Byz and WHNU are using x-<n> where n is the variant number.
>
> <seg subType="x-1" type="x-variant">αχας | αχαζ | 881 {N-PRI} |
> αχας</seg>
> <seg subType="x-2" type="x-variant">αχαζ</seg>
>
>
> I'm seeing some code taken originally from BibleDesktop which suggests
> subType can be x-class-1 ?
>
> A post on the sword list (
> http://sword-dev.350566.n4.nabble.com/OSIS-variants-td1009209.html)
> suggests, there is also a third subtly different form:
>
> <seg type="x-variant" subType="x-class:1">
>
> (i.e. a colon separating "class" from the number.
>
>
> Is one more appropriate than the other form? Does a UI have to cater for all possible forms of subtypes? Is there a page somewhere listing the mutlitple forms this can take?
>
> Chris
>
>
> _______________________________________________
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20130208/0c4a997e/attachment.html>
More information about the sword-devel
mailing list