<div dir="ltr"><div>Thank you this is very helpful.</div><div><br></div><div>I would just add that
lucene index could be create with command line:</div><div>mkfastmod KJVA</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 8 Feb 2024 at 10:51, pierre amadio <<a href="mailto:amadio.pierre@gmail.com">amadio.pierre@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi there.<br>
<br>
I once wrote some note to remember how to do this kind of stuff, but i<br>
must admit I m not sure how correct this is.<br>
<br>
With diateke:<br>
<br>
#if a lucene index has been built for the module:<br>
diatheke -b KJV -s lucene -r Genesis -k "lemma:H0776"<br>
#without index:<br>
diatheke -b KJV -s attribute -r Genesis -k "Word//Lemma./H0776/"<br>
<br>
However, given that both search do not give the same result, I expect<br>
at least one of them to be wrong...<br>
I also had some notes on how to do similar stuff with python here<br>
(search function)<br>
<a href="https://github.com/pierre-amadio/SwordSandBox/blob/master/python/search.py" rel="noreferrer" target="_blank">https://github.com/pierre-amadio/SwordSandBox/blob/master/python/search.py</a><br>
<br>
<br>
<br>
<br>
On Thu, 8 Feb 2024 at 08:06, ZdPo Ster <<a href="mailto:zdposter@gmail.com" target="_blank">zdposter@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> Is there any python script (way) for searching in modules?<br>
> pysword[1] seems to only show bible text (if you know the reference).<br>
><br>
> What I try to do:<br>
><br>
> Find all currencies of the strong number in Bible module with support of Strongs (e.g. G01344 in NASB)<br>
> Collect all references (35) and show them in (e.g. Slovak or Czech) Bible translations (+ NASB) that does not support Strongs => how the original word was translated in local language.<br>
><br>
><br>
> Also suggestions for non python tools / workflow for this are welcomed.<br>
><br>
> [1] <a href="https://gitlab.com/tgc-dk/pysword" rel="noreferrer" target="_blank">https://gitlab.com/tgc-dk/pysword</a><br>
><br>
> BR,<br>
><br>
> Zdenko<br>
> _______________________________________________<br>
> sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
> <a href="http://crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://crosswire.org/mailman/listinfo/sword-devel</a><br>
> Instructions to unsubscribe/change your settings at above page<br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div>