Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-08 Thread David Haslam
Thanks Troy,

> [scribe@localhost diatheke]$ ./diatheke -b KJV -s attribute -k 
> Heading///Neginoth
> Entries containing "Heading///Neginoth"-- Psalms 4:1Psalms 6:1 ; Psalms 54:1 
> ; Psalms 55:1 ; Psalms 67:1 ; Psalms 76:1 ;  -- 6 matches total (KJV)

You may wish to investigate why there is no " ; " after the first instance 
found. Looks like a minor bug!
btw. It's not just in the email transcript. I checked and found the same on my 
PC.

Is it still true that diatheke cannot output the whole of any particular 
canonical Psalm title, or is this feasible by refining the search parameters?

NB. I have just updated some things in 
https://wiki.crosswire.org/Frontends:Diatheke

More could be done to expand on the various other search types.

Best regards,

David

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐ Original Message ‐‐‐
On 5 April 2018 4:31 PM, Troy A. Griffitts  wrote:

> On 04/05/2018 08:01 AM, David Haslam wrote:
>
>> Thanks Troy for all this fine detail.
>>
>> Is there any way that these special search parameters can be passed to 
>> diatheke (as is) ?
>
> [scribe@localhost diatheke]$ ./diatheke -b KJV -s attribute -k 
> Heading///Neginoth
> Entries containing "Heading///Neginoth"-- Psalms 4:1Psalms 6:1 ; Psalms 54:1 
> ; Psalms 55:1 ; Psalms 67:1 ; Psalms 76:1 ;  -- 6 matches total (KJV)
>
>> Or would diatheke need further enhancing to support search within headings 
>> such as Psalm titles?
>>
>> Best regards, David
>>
>> Sent from ProtonMail Mobile
>>
>> On Wed, Apr 4, 2018 at 23:18, Troy A. Griffitts  wrote:
>>
>>> Here's a quick command.  The entry attributes path / search syntax might 
>>> not be obvious.Entry attributes key paths are always 3 levels deep + 
>>> the final segment the value of the attribute.  Empty path segments mean 
>>> 'any'.  This means find 'Neginoth' in the value of any entry attribute 
>>> under 'Heading'.
>>>
>>> [scribe@localhost cmdline]$ ./search KJV Heading///Neginoth
>>> [0=50===100]
>>>  ==
>>> Psalms 4:1
>>> Psalms 6:1
>>> Psalms 54:1
>>> Psalms 55:1
>>> Psalms 67:1
>>> Psalms 76:1
>>>
>>> Likewise, in any entry attribute:
>>>
>>> [scribe@localhost cmdline]$ ./search KJV ///Neginoth
>>> [0=50===100]
>>>  ==
>>> Psalms 4:1
>>> Psalms 6:1
>>> Psalms 54:1
>>> Psalms 55:1
>>> Psalms 67:1
>>> Psalms 76:1
>>> Habakkuk 3:19
>>>
>>> Or very specifically the first preverse heading of a verse:
>>>
>>> [scribe@localhost cmdline]$ ./search KJV Heading/Preverse/0/Neginoth
>>> [0=50===100]
>>>  ==
>>> Psalms 4:1
>>> Psalms 6:1
>>> Psalms 54:1
>>> Psalms 55:1
>>> Psalms 67:1
>>> Psalms 76:1
>>>
>>> Here's the entry attribute dump, output from the 'lookup' example, for 
>>> Ps.4.1 from the KJV:
>>>
>>> [scribe@localhost cmdline]$ ./lookup KJV Ps.4.1
>>> ==Raw=Entry===
>>> Psalms 4:1:
>>> >> canonical="true" type="psalm">>> morph="strongMorph:TH8764">To the chief Musician >> lemma="strong:H05058">on Neginoth, A Psalm 
>>> of David.>> subType="x-preverse" eID="pv2"/>>> morph="strongMorph:TH8798">Hear >> morph="strongMorph:TH8800">me when I call, O 
>>> God of my righteousness: >> lemma="strong:H07337" morph="strongMorph:TH8689">thou hast enlarged me 
>>> when I was >> lemma="strong:H06862">in distress; >> morph="strongMorph:TH8798">have mercy >> morph="strongMorph:TH8798">upon me, and hear >> lemma="strong:H08605">my prayer.>> type="study">chief…: or, >> type="alternative">overseer>> type="study">have…: or, be 
>>> gracious unto me
>>> ==Render=Entry
>>> .divineName { font-variant: small-caps; }
>>> .wordsOfJesus { color: red; }
>>> .transChange { font-style: italic; }
>>> .transChange.transChange-supplied { font-style: italic; }
>>> .transChange.transChange-added { font-style: italic; }
>>> .transChange.transChange-tenseChange::before { content: '*'; }
>>> .transChange.transChange-tenseChange { font-style: normal; }
>>> .transChange:lang(zh) { font-style: normal; text-decoration: dotted 
>>> underline; }
>>> .overline { text-decoration: overline; }
>>> .indent1 { margin-left: 1em; }
>>> .indent2 { margin-left: 2em; }
>>> .indent3 { margin-left: 3em; }
>>> .indent4 { margin-left: 4em; }
>>> abbr { &:hover{ &:before{ content: attr(title); } } }
>>> .small-caps { font-variant: small-caps; }
>>> .selah { text-align: right; width: 50%; margin: 0; padding: 0; }
>>> .acrostic { text-align: center; }
>>> .colophon {font-style: italic; font-size: small; display: 

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-05 Thread Troy A. Griffitts
On 04/05/2018 08:01 AM, David Haslam wrote:
> Thanks Troy for all this fine detail. 
>
> Is there any way that these special search parameters can be passed to
> diatheke (as is) ?
>

[scribe@localhost diatheke]$ ./diatheke -b KJV -s attribute -k
Heading///Neginoth
Entries containing "Heading///Neginoth"-- Psalms 4:1Psalms 6:1 ; Psalms
54:1 ; Psalms 55:1 ; Psalms 67:1 ; Psalms 76:1 ;  -- 6 matches total (KJV)


> Or would diatheke need further enhancing to support search within
> headings such as Psalm titles?
>
> Best regards, David
>
>
> Sent from ProtonMail Mobile
>
>
> On Wed, Apr 4, 2018 at 23:18, Troy A. Griffitts  > wrote:
>>
>> Here's a quick command.  The entry attributes path / search syntax
>> might not be obvious.    Entry attributes key paths are always 3
>> levels deep + the final segment the value of the attribute.  Empty
>> path segments mean 'any'.  This means find 'Neginoth' in the value of
>> any entry attribute under 'Heading'.
>>
>> [scribe@localhost cmdline]$ ./search KJV Heading///Neginoth
>> [0=50===100]
>>  ==
>> Psalms 4:1
>> Psalms 6:1
>> Psalms 54:1
>> Psalms 55:1
>> Psalms 67:1
>> Psalms 76:1
>>
>> Likewise, in any entry attribute:
>>
>> [scribe@localhost cmdline]$ ./search KJV ///Neginoth
>> [0=50===100]
>>  ==
>> Psalms 4:1
>> Psalms 6:1
>> Psalms 54:1
>> Psalms 55:1
>> Psalms 67:1
>> Psalms 76:1
>> Habakkuk 3:19
>>
>> Or very specifically the first preverse heading of a verse:
>>
>> [scribe@localhost cmdline]$ ./search KJV Heading/Preverse/0/Neginoth
>> [0=50===100]
>>  ==
>> Psalms 4:1
>> Psalms 6:1
>> Psalms 54:1
>> Psalms 55:1
>> Psalms 67:1
>> Psalms 76:1
>>
>> Here's the entry attribute dump, output from the 'lookup' example,
>> for Ps.4.1 from the KJV:
>>
>> [scribe@localhost cmdline]$ ./lookup KJV Ps.4.1
>> ==Raw=Entry===
>> Psalms 4:1:
>> > canonical="true" type="psalm">> morph="strongMorph:TH8764">To the chief Musician > lemma="strong:H05058">on Neginoth, A
>> Psalm of David.> type="x-milestone" subType="x-preverse" eID="pv2"/>> lemma="strong:H06030" morph="strongMorph:TH8798">Hear > lemma="strong:H07121" morph="strongMorph:TH8800">me when I call,
>> O God of my
>> righteousness: > morph="strongMorph:TH8689">thou hast enlarged me > type="added">when I was in
>> distress; > morph="strongMorph:TH8798">have mercy > morph="strongMorph:TH8798">upon me, and hear > lemma="strong:H08605">my prayer.> type="study">chief…: or, > type="alternative">overseer> type="study">have…: or, > type="alternative">be gracious unto me
>> ==Render=Entry
>>         .divineName { font-variant: small-caps; }
>>         .wordsOfJesus { color: red; }
>>         .transChange { font-style: italic; }
>>         .transChange.transChange-supplied { font-style: italic; }
>>         .transChange.transChange-added { font-style: italic; }
>>         .transChange.transChange-tenseChange::before { content: '*'; }
>>         .transChange.transChange-tenseChange { font-style: normal; }
>>         .transChange:lang(zh) { font-style: normal; text-decoration:
>> dotted underline; }
>>         .overline { text-decoration: overline; }
>>         .indent1 { margin-left: 1em; }
>>         .indent2 { margin-left: 2em; }
>>         .indent3 { margin-left: 3em; }
>>         .indent4 { margin-left: 4em; }
>>         abbr { &:hover{ &:before{ content: attr(title); } } }
>>         .small-caps { font-variant: small-caps; }
>>         .selah { text-align: right; width: 50%; margin: 0; padding: 0; }
>>         .acrostic { text-align: center; }
>>         .colophon {font-style: italic; font-size: small; display:
>> block; }
>>         .rdg { font-style: italic; }
>>         .catchWord {font-style: bold; }
>>         .x-p-indent {text-indent: 1em; }
>>    
>> Hear me when I call, O God of my righteousness: thou hast enlarged me
>> when I was in
>> distress; have mercy upon me, and hear my prayer.
>> ==
>> Entry Attributes:
>>
>> [ Footnote ]
>>     [ 1 ]
>>         body = chief…: or, > type="alternative">overseer
>>         type = study
>>     [ 2 ]
>>         body = have…: or, > type="alternative">be gracious unto me
>>         type = study
>> [ Heading ]
>>     [ 0 ]
>>         sID = pv2
>>         subType = x-preverse
>>         type = x-milestone
>>     [ Preverse ]
>>         0 = > savlm="strong:H05329">To the chief Musician > savlm="strong:H05058">on Neginoth, A
>> Psalm of David.
>>         module->renderText(heading[0]) = To the chief Musician on Neginoth, A Psalm of David.
>>
>>
>> [ Word ]
>>     [ 001 ]
>>         Lemma = H05329
>>         

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-05 Thread David Haslam
Greg,

I don't have an Android phone, so trying such a search with And Bible isn't an 
immediate possibility.

As for BD, I'm keeping it in mind. Not tried BD since Java 7 and it's now Java 
10.

On Win7 x64 it's messy to maintain a program launch file. I must touch base 
again with DM on this topic.

Best regards, David

Sent from ProtonMail Mobile

On Wed, Apr 4, 2018 at 14:17, Greg Hellings  wrote:

> On Wed, Apr 4, 2018 at 7:56 AM, David Haslam  wrote:
>
>> I suppose STEP Bible was going to be one most likely to succeed, seeing as 
>> it's whole UI is based on a search field.
>>
>> STEP is based on JSword.
>>
>> Do any other JSword based apps support search within [Psalm] headings?
>>
>> e.g. And Bible, Bible Desktop ?
>
> Go try them.
>
>> Among SWORD based apps, neither Xiphos nor PocketSword has the feature in 
>> its UI.
>>
>> But even with -o h in the CL, Diatheke fails to find Neginoth, so I'm 
>> thinking maybe the SWORD API itself is lacking this capability.
>
> Most likely.
>
>> Either correct me if I'm wrong, or outline what steps it would require to 
>> add the capability to SWORD.
>
> BibleTime finds it, but not in Psalms. It returns a result from Habakkuk 
> 3:19, where the word "Neginoth" appears in a footnote.
>
> --Greg
>
>> Best regards,
>>
>> Davi
>>
>> Sent from ProtonMail Mobile
>>
>> On Wed, Apr 4, 2018 at 12:58, Matěj Cepl  wrote:
>>
>>> On 2018-04-04, 10:57 GMT, David Haslam wrote: > Do any front-ends support 
>>> this? > > e.g. Search the KJV for Neginoth. 
>>> [https://www.stepbible.org/?q=version=KJV|xnave=neginoth=HNVUG](https://www.stepbible.org/?q=version=KJV%7Cxnave=neginoth=HNVUG)
>>>  Blessings, Matěj -- https://matej.ceplovi.cz/blog/ , Jabber: 
>>> mc...@ceplovi.cz GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B 
>>> C9D8 Courage is resistance of fear, mastery of fear, not absence of fear. 
>>> __ _ sword-devel mailing list: 
>>> sword-devel@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@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@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-05 Thread David Haslam
Thanks Troy for all this fine detail.

Is there any way that these special search parameters can be passed to diatheke 
(as is) ?

Or would diatheke need further enhancing to support search within headings such 
as Psalm titles?

Best regards, David

Sent from ProtonMail Mobile

On Wed, Apr 4, 2018 at 23:18, Troy A. Griffitts  wrote:

> Here's a quick command.  The entry attributes path / search syntax might not 
> be obvious.Entry attributes key paths are always 3 levels deep + the 
> final segment the value of the attribute.  Empty path segments mean 'any'.  
> This means find 'Neginoth' in the value of any entry attribute under 
> 'Heading'.
>
> [scribe@localhost cmdline]$ ./search KJV Heading///Neginoth
> [0=50===100]
>  ==
> Psalms 4:1
> Psalms 6:1
> Psalms 54:1
> Psalms 55:1
> Psalms 67:1
> Psalms 76:1
>
> Likewise, in any entry attribute:
>
> [scribe@localhost cmdline]$ ./search KJV ///Neginoth
> [0=50===100]
>  ==
> Psalms 4:1
> Psalms 6:1
> Psalms 54:1
> Psalms 55:1
> Psalms 67:1
> Psalms 76:1
> Habakkuk 3:19
>
> Or very specifically the first preverse heading of a verse:
>
> [scribe@localhost cmdline]$ ./search KJV Heading/Preverse/0/Neginoth
> [0=50===100]
>  ==
> Psalms 4:1
> Psalms 6:1
> Psalms 54:1
> Psalms 55:1
> Psalms 67:1
> Psalms 76:1
>
> Here's the entry attribute dump, output from the 'lookup' example, for Ps.4.1 
> from the KJV:
>
> [scribe@localhost cmdline]$ ./lookup KJV Ps.4.1
> ==Raw=Entry===
> Psalms 4:1:
>  canonical="true" type="psalm"> morph="strongMorph:TH8764">To the chief Musician  lemma="strong:H05058">on Neginoth, A Psalm 
> of David. subType="x-preverse" eID="pv2"/> morph="strongMorph:TH8798">Hear  morph="strongMorph:TH8800">me when I call, O 
> God of my righteousness:  lemma="strong:H07337" morph="strongMorph:TH8689">thou hast enlarged me 
> when I was  lemma="strong:H06862">in distress;  morph="strongMorph:TH8798">have mercy  morph="strongMorph:TH8798">upon me, and hear my 
> prayer.chief…: or,  type="alternative">overseer type="study">have…: or, be 
> gracious unto me
> ==Render=Entry
> .divineName { font-variant: small-caps; }
> .wordsOfJesus { color: red; }
> .transChange { font-style: italic; }
> .transChange.transChange-supplied { font-style: italic; }
> .transChange.transChange-added { font-style: italic; }
> .transChange.transChange-tenseChange::before { content: '*'; }
> .transChange.transChange-tenseChange { font-style: normal; }
> .transChange:lang(zh) { font-style: normal; text-decoration: dotted 
> underline; }
> .overline { text-decoration: overline; }
> .indent1 { margin-left: 1em; }
> .indent2 { margin-left: 2em; }
> .indent3 { margin-left: 3em; }
> .indent4 { margin-left: 4em; }
> abbr { &:hover{ &:before{ content: attr(title); } } }
> .small-caps { font-variant: small-caps; }
> .selah { text-align: right; width: 50%; margin: 0; padding: 0; }
> .acrostic { text-align: center; }
> .colophon {font-style: italic; font-size: small; display: block; }
> .rdg { font-style: italic; }
> .catchWord {font-style: bold; }
> .x-p-indent {text-indent: 1em; }
>
> Hear me when I call, O God of my righteousness: thou hast enlarged me  class="transChange transChange-added">when I was in distress; have 
> mercy upon me, and hear my prayer.
> ==
> Entry Attributes:
>
> [ Footnote ]
> [ 1 ]
> body = chief…: or,  type="alternative">overseer
> type = study
> [ 2 ]
> body = have…: or, be 
> gracious unto me
> type = study
> [ Heading ]
> [ 0 ]
> sID = pv2
> subType = x-preverse
> type = x-milestone
> [ Preverse ]
> 0 = To 
> the chief Musician on Neginoth,  savlm="strong:H04210">A Psalm of 
> David.
> module->renderText(heading[0]) = To 
> the chief Musician on Neginoth, A Psalm of David.
>
> [ Word ]
> [ 001 ]
> Lemma = H05329
> LemmaClass = strong
> Morph = TH8764
> MorphClass = strongMorph
> PartCount = 1
> Text = To the chief Musician
> [ 002 ]
> Lemma = H05058
> LemmaClass = strong
> PartCount = 1
> Text = on Neginoth
> [ 003 ]
> Lemma = H04210
> LemmaClass = strong
> PartCount = 1
> Text = A Psalm
> [ 004 ]
> Lemma = H01732
> LemmaClass = strong
> PartCount = 1
> Text = of David
> [ 005 ]
> Lemma = 

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-04 Thread Troy A. Griffitts
Here's a quick command.  The entry attributes path / search syntax might
not be obvious.    Entry attributes key paths are always 3 levels deep +
the final segment the value of the attribute.  Empty path segments mean
'any'.  This means find 'Neginoth' in the value of any entry attribute
under 'Heading'.

[scribe@localhost cmdline]$ ./search KJV Heading///Neginoth
[0=50===100]
 ==
Psalms 4:1
Psalms 6:1
Psalms 54:1
Psalms 55:1
Psalms 67:1
Psalms 76:1

Likewise, in any entry attribute:

[scribe@localhost cmdline]$ ./search KJV ///Neginoth
[0=50===100]
 ==
Psalms 4:1
Psalms 6:1
Psalms 54:1
Psalms 55:1
Psalms 67:1
Psalms 76:1
Habakkuk 3:19

Or very specifically the first preverse heading of a verse:

[scribe@localhost cmdline]$ ./search KJV Heading/Preverse/0/Neginoth
[0=50===100]
 ==
Psalms 4:1
Psalms 6:1
Psalms 54:1
Psalms 55:1
Psalms 67:1
Psalms 76:1

Here's the entry attribute dump, output from the 'lookup' example, for
Ps.4.1 from the KJV:

[scribe@localhost cmdline]$ ./lookup KJV Ps.4.1
==Raw=Entry===
Psalms 4:1:
To the chief Musician on Neginoth, A
Psalm of David.Hear me when I call, O God of my
righteousness: thou hast enlarged me when I was in
distress; have
mercy upon me,
and hear my prayer.chief…: or, overseerhave…: or, be gracious unto me
==Render=Entry
        .divineName { font-variant: small-caps; }
        .wordsOfJesus { color: red; }
        .transChange { font-style: italic; }
        .transChange.transChange-supplied { font-style: italic; }
        .transChange.transChange-added { font-style: italic; }
        .transChange.transChange-tenseChange::before { content: '*'; }
        .transChange.transChange-tenseChange { font-style: normal; }
        .transChange:lang(zh) { font-style: normal; text-decoration:
dotted underline; }
        .overline { text-decoration: overline; }
        .indent1 { margin-left: 1em; }
        .indent2 { margin-left: 2em; }
        .indent3 { margin-left: 3em; }
        .indent4 { margin-left: 4em; }
        abbr { &:hover{ &:before{ content: attr(title); } } }
        .small-caps { font-variant: small-caps; }
        .selah { text-align: right; width: 50%; margin: 0; padding: 0; }
        .acrostic { text-align: center; }
        .colophon {font-style: italic; font-size: small; display: block; }
        .rdg { font-style: italic; }
        .catchWord {font-style: bold; }
        .x-p-indent {text-indent: 1em; }
   
Hear me when I call, O God of my righteousness: thou hast enlarged me
when I was in
distress; have mercy upon me, and hear my prayer.
==
Entry Attributes:

[ Footnote ]
    [ 1 ]
        body = chief…: or, overseer
        type = study
    [ 2 ]
        body = have…: or, be gracious unto me
        type = study
[ Heading ]
    [ 0 ]
        sID = pv2
        subType = x-preverse
        type = x-milestone
    [ Preverse ]
        0 = To the chief Musician on Neginoth, A
Psalm of David.
        module->renderText(heading[0]) = To the chief Musician on Neginoth, A Psalm of David.


[ Word ]
    [ 001 ]
        Lemma = H05329
        LemmaClass = strong
        Morph = TH8764
        MorphClass = strongMorph
        PartCount = 1
        Text = To the chief Musician
    [ 002 ]
        Lemma = H05058
        LemmaClass = strong
        PartCount = 1
        Text = on Neginoth
    [ 003 ]
        Lemma = H04210
        LemmaClass = strong
        PartCount = 1
        Text = A Psalm
    [ 004 ]
        Lemma = H01732
        LemmaClass = strong
        PartCount = 1
        Text = of David
    [ 005 ]
        Lemma = H06030
        LemmaClass = strong
        Morph = TH8798
        MorphClass = strongMorph
        PartCount = 1
        Text = Hear
    [ 006 ]
        Lemma = H07121
        LemmaClass = strong
        Morph = TH8800
        MorphClass = strongMorph
        PartCount = 1
        Text = me when I call
    [ 007 ]
        Lemma = H0430
        LemmaClass = strong
        PartCount = 1
        Text = O God
    [ 008 ]
        Lemma = H06664
        LemmaClass = strong
        PartCount = 1
        Text = of my righteousness
    [ 009 ]
        Lemma = H07337
        LemmaClass = strong
        Morph = TH8689
        MorphClass = strongMorph
        PartCount = 1
        Text = thou hast enlarged
    [ 010 ]
        Lemma = H06862
        LemmaClass = strong
        PartCount = 1
        Text = in distress
    [ 011 ]
        Lemma = H02603
        LemmaClass = strong
        Morph = TH8798
        MorphClass = strongMorph
        PartCount = 1
        Text = have mercy
    [ 012 ]
        Lemma = H08085
        

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-04 Thread Karl Kleinpaste
On 04/04/2018 01:33 PM, Karl Kleinpaste wrote:
> Doesn't appear to be true, headings on notwithstanding.
On the other hand, a search for lemma:H05058 finds "Neginoth" and "song"
all over the place.
Job 30:9; Psalms 4:1; Psalms 6:1; Psalms 54:1; Psalms 55:1; Psalms 61:1;
Psalms 67:1; Psalms 69:12; Psalms 76:1; Psalms 77:6; Isaiah 38:20;
Lamentations 3:14; Lamentations 5:14; Habakkuk 3:19
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-04 Thread Karl Kleinpaste
On 04/04/2018 01:11 PM, Troy A. Griffitts wrote:
> a call to SWModule::search with any search type other than clucene
> should find them if headings are turned on.
Doesn't appear to be true, headings on notwithstanding. I tried all 5
search types in Xiphos, incl. subtypes of attribute search; the only
thing that found "Neginoth" was attribute search, footnotes, where it
found Neginoth in Hab.3.19, note 18.
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-04 Thread Troy A. Griffitts
I don't believe the SWORD clucene indexes include the headings but a call to 
SWModule::search with any search type other than clucene should find them if 
headings are turned on. Headings are also directly referencible in 
entryAttributes and so you can use an extra attributes search path to only find 
a term in the headings if you'd like. I can't remember the exact path from my 
phone right now, but have a look at our search example here:

http://crosswire.org/svn/sword/trunk/examples/cmdline/search.cpp

And the lookup example tool which dumps all the entry attributes for a key, to 
determine the path for a header search, here:

http://crosswire.org/svn/sword/trunk/examples/cmdline/lookup.cpp



On April 4, 2018 6:17:39 AM MST, Greg Hellings  wrote:
>On Wed, Apr 4, 2018 at 7:56 AM, David Haslam 
>wrote:
>
>> I suppose STEP Bible was going to be one most likely to succeed,
>seeing as
>> it's whole UI is based on a search field.
>>
>> STEP is based on JSword.
>>
>> Do any other JSword based apps support search within [Psalm]
>headings?
>>
>> e.g. And Bible, Bible Desktop ?
>>
>
>Go try them.
>
>
>>
>> Among SWORD based apps, neither Xiphos nor PocketSword has the
>feature in
>> its UI.
>>
>> But even with -o h in the CL, Diatheke fails to find Neginoth, so I'm
>> thinking maybe the SWORD API itself is lacking this capability.
>>
>
>Most likely.
>
>
>>
>> Either correct me if I'm wrong, or outline what steps it would
>require to
>> add the capability to SWORD.
>>
>
>BibleTime finds it, but not in Psalms. It returns a result from
>Habakkuk
>3:19, where the word "Neginoth" appears in a footnote.
>
>--Greg
>
>
>>
>> Best regards,
>>
>> Davi
>>
>> Sent from ProtonMail Mobile
>>
>>
>> On Wed, Apr 4, 2018 at 12:58, Matěj Cepl  wrote:
>>
>> On 2018-04-04, 10:57 GMT, David Haslam wrote: > Do any front-ends
>support
>> this? > > e.g. Search the KJV for Neginoth.
>https://www.stepbible.org/?q=
>> version=KJV|xnave=neginoth=HNVUG Blessings, Matěj --
>> https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz GPG Finger:
>3C76
>> A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Courage is resistance of
>fear,
>> mastery of fear, not absence of fear.
>___
>> sword-devel mailing list: sword-devel@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@crosswire.org
>> http://www.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://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-04 Thread DM Smith
JSword indexes canonical titles as verse text.

— DM Smith
From my phone. Brief. Weird autocorrections. 

> On Apr 4, 2018, at 8:56 AM, David Haslam  wrote:
> 
> I suppose STEP Bible was going to be one most likely to succeed, seeing as 
> it's whole UI is based on a search field.
> 
> STEP is based on JSword.
> 
> Do any other JSword based apps support search within [Psalm] headings?
> 
> e.g. And Bible, Bible Desktop ?
> 
> Among SWORD based apps, neither Xiphos nor PocketSword has the feature in its 
> UI.
> 
> But even with -o h in the CL, Diatheke fails to find Neginoth, so I'm 
> thinking maybe the SWORD API itself is lacking this capability.
> 
> Either correct me if I'm wrong, or outline what steps it would require to add 
> the capability to SWORD.
> 
> Best regards,
> 
> Davi
> 
> Sent from ProtonMail Mobile
> 
> 
>> On Wed, Apr 4, 2018 at 12:58, Matěj Cepl  wrote:
>> On 2018-04-04, 10:57 GMT, David Haslam wrote: > Do any front-ends support 
>> this? > > e.g. Search the KJV for Neginoth. 
>> https://www.stepbible.org/?q=version=KJV|xnave=neginoth=HNVUG 
>> Blessings, Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz 
>> GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Courage is 
>> resistance of fear, mastery of fear, not absence of fear. 
>> ___ sword-devel mailing list: 
>> sword-devel@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@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@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-04 Thread Greg Hellings
On Wed, Apr 4, 2018 at 7:56 AM, David Haslam  wrote:

> I suppose STEP Bible was going to be one most likely to succeed, seeing as
> it's whole UI is based on a search field.
>
> STEP is based on JSword.
>
> Do any other JSword based apps support search within [Psalm] headings?
>
> e.g. And Bible, Bible Desktop ?
>

Go try them.


>
> Among SWORD based apps, neither Xiphos nor PocketSword has the feature in
> its UI.
>
> But even with -o h in the CL, Diatheke fails to find Neginoth, so I'm
> thinking maybe the SWORD API itself is lacking this capability.
>

Most likely.


>
> Either correct me if I'm wrong, or outline what steps it would require to
> add the capability to SWORD.
>

BibleTime finds it, but not in Psalms. It returns a result from Habakkuk
3:19, where the word "Neginoth" appears in a footnote.

--Greg


>
> Best regards,
>
> Davi
>
> Sent from ProtonMail Mobile
>
>
> On Wed, Apr 4, 2018 at 12:58, Matěj Cepl  wrote:
>
> On 2018-04-04, 10:57 GMT, David Haslam wrote: > Do any front-ends support
> this? > > e.g. Search the KJV for Neginoth. https://www.stepbible.org/?q=
> version=KJV|xnave=neginoth=HNVUG Blessings, Matěj --
> https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz GPG Finger: 3C76
> A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Courage is resistance of fear,
> mastery of fear, not absence of fear. 
> ___
> sword-devel mailing list: sword-devel@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@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@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-04 Thread David Haslam
i.e. This fails to find the word in Psalm 4 heading

diatheke -b KJV -o h -r Psalms -k Neginoth

Am I missing anything from the command line that would make it succeed?

Best regards,

David

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐ Original Message ‐‐‐
On 4 April 2018 1:56 PM, David Haslam  wrote:

> I suppose STEP Bible was going to be one most likely to succeed, seeing as 
> it's whole UI is based on a search field.
>
> STEP is based on JSword.
>
> Do any other JSword based apps support search within [Psalm] headings?
>
> e.g. And Bible, Bible Desktop ?
>
> Among SWORD based apps, neither Xiphos nor PocketSword has the feature in its 
> UI.
>
> But even with -o h in the CL, Diatheke fails to find Neginoth, so I'm 
> thinking maybe the SWORD API itself is lacking this capability.
>
> Either correct me if I'm wrong, or outline what steps it would require to add 
> the capability to SWORD.
>
> Best regards,
>
> Davi
>
> Sent from ProtonMail Mobile
>
> On Wed, Apr 4, 2018 at 12:58, Matěj Cepl  wrote:
>
>> On 2018-04-04, 10:57 GMT, David Haslam wrote: > Do any front-ends support 
>> this? > > e.g. Search the KJV for Neginoth. 
>> https://www.stepbible.org/?q=version=KJV|xnave=neginoth=HNVUG 
>> Blessings, Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz 
>> GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Courage is 
>> resistance of fear, mastery of fear, not absence of fear. 
>> ___ sword-devel mailing list: 
>> sword-devel@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@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-04 Thread David Haslam
I suppose STEP Bible was going to be one most likely to succeed, seeing as it's 
whole UI is based on a search field.

STEP is based on JSword.

Do any other JSword based apps support search within [Psalm] headings?

e.g. And Bible, Bible Desktop ?

Among SWORD based apps, neither Xiphos nor PocketSword has the feature in its 
UI.

But even with -o h in the CL, Diatheke fails to find Neginoth, so I'm thinking 
maybe the SWORD API itself is lacking this capability.

Either correct me if I'm wrong, or outline what steps it would require to add 
the capability to SWORD.

Best regards,

Davi

Sent from ProtonMail Mobile

On Wed, Apr 4, 2018 at 12:58, Matěj Cepl  wrote:

> On 2018-04-04, 10:57 GMT, David Haslam wrote: > Do any front-ends support 
> this? > > e.g. Search the KJV for Neginoth. 
> https://www.stepbible.org/?q=version=KJV|xnave=neginoth=HNVUG 
> Blessings, Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz 
> GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Courage is 
> resistance of fear, mastery of fear, not absence of fear. 
> ___ sword-devel mailing list: 
> sword-devel@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@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-04 Thread Matěj Cepl
On 2018-04-04, 10:57 GMT, David Haslam wrote:
> Do any front-ends support this?
>
> e.g. Search the KJV for Neginoth.

https://www.stepbible.org/?q=version=KJV|xnave=neginoth=HNVUG

Blessings,

Matěj
-- 
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Courage is resistance of fear, mastery of fear, not absence of
fear.


___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

[sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

2018-04-04 Thread David Haslam
Do any front-ends support this?

e.g. Search the KJV for Neginoth.

If not, why not?

Best regards, David

Sent from ProtonMail Mobile___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page