Re: (Python) script to search for Strong number

ZdPo Ster <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <CAC=ZCwxRfwiVDL_--jDturwHVP2snW3wCUOkBmUau3iqHwEBpg@mail.gmail.com>
Thank you this is very helpful.

I would just add that lucene index could be create with command line:
mkfastmod KJVA

On Thu, 8 Feb 2024 at 10:51, pierre amadio <[email protected]> wrote:

> Hi there.
>
> I once wrote some note to remember how to do this kind of stuff, but i
> must admit I m not sure how correct this is.
>
> With diateke:
>
> #if a lucene index has been built for the module:
> diatheke -b KJV -s lucene -r Genesis -k "lemma:H0776"
> #without index:
> diatheke -b KJV -s attribute -r Genesis -k "Word//Lemma./H0776/"
>
> However, given that both search do not give the same result, I expect
> at least one of them to be wrong...
> I also had some notes on how to do similar stuff with python here
> (search function)
> https://github.com/pierre-amadio/SwordSandBox/blob/master/python/search.py
>
>
>
>
> On Thu, 8 Feb 2024 at 08:06, ZdPo Ster <[email protected]> wrote:
> >
> > Hello,
> >
> > Is there any python script (way) for searching in modules?
> > pysword[1] seems to  only show bible text (if you know the reference).
> >
> > What I try to do:
> >
> > Find all currencies of the strong number in Bible module with support of
> Strongs (e.g. G01344 in NASB)
> > 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.
> >
> >
> > Also suggestions for non python tools / workflow for this are welcomed.
> >
> > [1] https://gitlab.com/tgc-dk/pysword
> >
> > BR,
> >
> > Zdenko
> > _______________________________________________
> > sword-devel mailing list: [email protected]
> > http://crosswire.org/mailman/listinfo/sword-devel
> > Instructions to unsubscribe/change your settings at above page
> _______________________________________________
> sword-devel mailing list: [email protected]
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.