Re: [sword-devel] Front-end feature

2023-06-27 Thread David Haslam
Thanks Troy,

SWORD Web = The Bible Tool (right?)

Now here's a radical suggestion to consider...

How about an option to rearrange the w elements containing the displayed text, 
so that they are shown in the numerical order of the src attribute values?

Such an option would be switched on/off by a suitable UI control in each 
front-end.

IMHO, this novel idea could be a huge help to students learning the Biblical 
languages, and who are already familiar with the KJV or another 'heavily marked 
up' Bible module in their own language. Being able to switch quickly between 
the normal and re-arranged order would be a fascinating linguistic experience.

NB. For the OT, this might even be combined automaticallywith a switch to RtoL 
direction?
That might seem a bit weird at first, but I reckon users would soon get used to 
it.
Of course, that would already be the case for Arabic, Urdu, Farsi Bible 
translations...

This leaves the unanswered question:

- What to do with all the text that is not wrapped within the w elements?

That's mostly a smattering of odd words/phrases here & there and a lot of the 
punctuation.

btw. It's still the case for the KJV module that only for the NT books have all 
the w elements got the src attribute. This reminds us that there's still a lot 
more we could do to further enhance the module for the benefit of users.

Best regards,

David

Sent with [Proton Mail](https://proton.me/) secure email.

--- Original Message ---
On Tuesday, June 27th, 2023 at 8:30 PM, Troy A. Griffitts 
 wrote:

> Yes, SWORDWeb uses these to highlight parallel words. You'll see this when 
> you click q word in either the TR or KJV here:
>
> https://crosswire.org/study/parallelstudy.jsp?del=all=KJV=TR=Treg=NASB
>
> On June 27, 2023 9:42:24 AM GMT+02:00, David Haslam  
> wrote:
>
>> Are there any SWORD front-end apps that can display the src numbers that ae 
>> part of the KJV markup in the NT to record the original word position in the 
>> TR ?  e.g.
>>
>> > marker="¶"/>> morph="robinson:T-NSM"/>> morph="robinson:T-ASM"/>> morph="robinson:CONJ">For God > src="1" lemma="strong:G3779 lemma.TR:ουτως" morph="robinson:ADV">so > src="3" lemma="strong:G25 lemma.TR:ηγαπησεν" 
>> morph="robinson:V-AAI-3S">loved the world, > morph="robinson:CONJ">that he gave > lemma="strong:G846 lemma.TR:αυτου" morph="robinson:P-GSM">his > src="13" lemma="strong:G3439 lemma.TR:μονογενη" morph="robinson:A-ASM">only 
>> begotten Son, > lemma="strong:G2443 lemma.TR:ινα" morph="robinson:CONJ">that > lemma="strong:G3956 lemma.TR:πας" morph="robinson:A-NSM">whosoever > src="18" lemma="strong:G4100 lemma.TR:πιστευων" 
>> morph="robinson:V-PAP-NSM">believeth in him > lemma="strong:G622 lemma.TR:αποληται" morph="robinson:V-2AMS-3S" 
>> type="x-split-1793">should > morph="robinson:PRT-N">not > type="x-split-1793">perish, > morph="robinson:CONJ">but > morph="robinson:V-PAS-3S">have everlasting > lemma="strong:G lemma.TR:ζωην" morph="robinson:N-ASF">life.> eID="John.3.16"/>
>>
>> Best regards,
>>
>> David
>>
>> Sent with Proton Mail secure email.
>> ---
>>
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://crosswire.org/mailman/listinfo/sword-devel
>>
>> Instructions to unsubscribe/change your settings at above page
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Front-end feature

2023-06-27 Thread Troy A. Griffitts
Yes, SWORDWeb uses these to highlight parallel words. You'll see this when you 
click q word in either the TR or KJV here:

https://crosswire.org/study/parallelstudy.jsp?del=all=KJV=TR=Treg=NASB

On June 27, 2023 9:42:24 AM GMT+02:00, David Haslam  
wrote:
>Are there any SWORD front-end apps that can display the src numbers that ae 
>part of the KJV markup in the NT to record the original word position in the 
>TR ?  e.g.
>
>marker="¶"/>morph="robinson:T-NSM"/>morph="robinson:T-ASM"/>morph="robinson:CONJ">For God src="1" lemma="strong:G3779 lemma.TR:ουτως" morph="robinson:ADV">so src="3" lemma="strong:G25 lemma.TR:ηγαπησεν" 
>morph="robinson:V-AAI-3S">loved the world, morph="robinson:CONJ">that he gave lemma="strong:G846 lemma.TR:αυτου" morph="robinson:P-GSM">his lemma="strong:G3439 lemma.TR:μονογενη" morph="robinson:A-ASM">only 
>begotten Son, lemma="strong:G2443 lemma.TR:ινα" morph="robinson:CONJ">that lemma="strong:G3956 lemma.TR:πας" morph="robinson:A-NSM">whosoever src="18" lemma="strong:G4100 lemma.TR:πιστευων" 
>morph="robinson:V-PAP-NSM">believeth in him should 
>not src="22" lemma="strong:G622 lemma.TR:αποληται" morph="robinson:V-2AMS-3S" 
>type="x-split-1793">perish, morph="robinson:CONJ">but morph="robinson:V-PAS-3S">have everlasting lemma="strong:G lemma.TR:ζωην" morph="robinson:N-ASF">life.eID="John.3.16"/>
>
>
>
>
>
>
>Best regards,
>
>David
>
>Sent with Proton Mail secure email.
>___
>sword-devel mailing list: sword-devel@crosswire.org
>http://crosswire.org/mailman/listinfo/sword-devel
>Instructions to unsubscribe/change your settings at above page

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


[sword-devel] The OSIS Name element and SWORD rendering?

2023-06-27 Thread David Haslam
For all our software developers to consider...

As far as I know, SWORD doesn't make wide use of bold style outside of titles 
and headings. cf. We are already familiar with its general use of italics to 
render text wrapped within the transChange element, and elsewhere.

Those of us who are used to a bicameral writing systems (scripts with upper and 
lowercase letters) have constant clues while reading the Bible that help us 
recognize whenever a word is a name. The initial letter of a name is 
capitalized, eg. David or Troy.

But many languages have non-Roman scripts and lack the distinction between 
lowercase and uppercase in their typography. This I suggest may make it more 
difficult for Bible readers to see at a glance if a word is a proper noun, i.e. 
the name of a person or a place, etc. For new Bible readers (hitherto 
unfamiliar with the whole of Scripture) that's a further minor yet real 
obstacle to better understanding.

It occurs to me that SWORD developers could help in this regard, providing the 
font used for the writing system can distinguish between bold and normal styles.

Were there to be a new filter that SWORD could use to toggle how words wrapped 
in a name element are rendered, then a front-end could display such names in 
either bold or normal style. A module could have this new key in the conf file:

GlobalOptionFilter=OSISNames

The front-end would have an option in its UI to control this feature.

In order to test the concept once it had been implemented, we would only need a 
module that has extensive use of the OSIS name element. And we already do!

For the latest KJVA module v3.1 (currently in Beta), in the DC books only (for 
now at least) there are 4018 text_items wrapped in such a name element.

NB: I used text_items for a reason, as 21 instances are for a bipolar name such 
as Judas Maccabeus.

At present, none of these w elements have any attributes, but those 
distinctions can be developed later.

For the Protocanonical Books in KJVA and for the KJV module itself, we have not 
yet made use of the name element. This is because OSIS 2.1.1 does not allow a 
name element within a w element.

Marking names must therefore be done outside w elements. This might require 
that the "backwards greedy matching" (of the Strong's markup) be rolled back 
first. Meanwhile, an alternative approach would be to wrap each name element 
within a seg element, e.g. in Eden which does validate.

If you would like to see SWORD enhanced to support this proposed feature, then 
please encourage the API developers to start to code for it, and encourage the 
front-end developers to start to include it in the UI. The rendering would be 
done by the SWORD engine, but the UI would provide the option do switch it on 
or off as the user may choose.

Best regards,

David

Sent with Proton Mail secure email.
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


[sword-devel] Front-end feature

2023-06-27 Thread David Haslam
Are there any SWORD front-end apps that can display the src numbers that ae 
part of the KJV markup in the NT to record the original word position in the TR 
?  e.g.

For God so loved the world, that he gave his only 
begotten Son, that whosoever believeth in him should not perish, but have everlasting life.






Best regards,

David

Sent with Proton Mail secure email.
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page