[jsword-devel] Easy way of getting the verse text

Chris Burrell chris at burrell.me.uk
Tue Mar 12 14:25:10 MST 2013


Hi

Is there a straight forward way of getting the verse content at the moment?

OSISUtil#getCanonicalContent gets you verse numbers and the like as well.

I'm thinking the easiest way around this is to use the JDOM filters, and
the obtaining the text from that... But it's not as trivial as getting just
verses. You'd have to get <w> s as well, segs, and so on.

Any ideas come to mind?
(I want the raw text to do create some word stats for a whole chapter)
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20130312/9e66909e/attachment.html>


More information about the jsword-devel mailing list