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

Chris Burrell chris at burrell.me.uk
Wed Mar 13 13:34:55 MST 2013


Sorry my mistake! Forget this email. This does what it should do.


On 12 March 2013 21:25, Chris Burrell <chris at burrell.me.uk> wrote:

> 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/20130313/f6d61c9a/attachment.html>


More information about the jsword-devel mailing list