Re: [sword-devel] Remove Strong's references from KJV module

2020-11-15 Thread Loren Burkholder
That does make sense. Thanks for the explanation. From: sword-devel on behalf of Troy A. Griffitts Sent: Sunday, November 15, 2020 12:41:12 AM To: SWORD Developers' Collaboration Forum Subject: Re: [sword-devel] Remove Strong's references from KJV mo

Re: [sword-devel] Remove Strong's references from KJV module

2020-11-14 Thread Troy A. Griffitts
Greg is certainly right, the KJV source markup is OSIS, which you can discover by looking in the module's kjv.conf file. SWORD's typical nomenclature for filters is to start the filter name with the markup source which it is designed to work upon, thus GBFPlain would take GBF source markup and o

Re: [sword-devel] Remove Strong's references from KJV module

2020-11-14 Thread Troy A. Griffitts
Hi Loren, There should be examples you can find under the examples/ folder in the source which output plain text, but there are 2 general ways to do this in SWORD: 1) SWMgr library; SWModule *kjv = library.getModule("KJV"); kjv->setKey("jn.3.16"); cout << kjv->stripText() << endl; (see example

Re: [sword-devel] Remove Strong's references from KJV module

2020-11-14 Thread Greg Hellings
Have you tried OSISPlain? KJV is not in GBF On Sat, Nov 14, 2020, 21:42 Loren Burkholder wrote: > I'm trying to get the plain text for a verse from the KJV module, but I > can't figure out how to remove the Strong's references. I've tried adding a > sword::GBFPlain and sword::GBFStrongs as a str

[sword-devel] Remove Strong's references from KJV module

2020-11-14 Thread Loren Burkholder
I'm trying to get the plain text for a verse from the KJV module, but I can't figure out how to remove the Strong's references. I've tried adding a sword::GBFPlain and sword::GBFStrongs as a strip filter to my KJV module, but it only strips out the beginning of the element, leaving me with stuf