Re: [sword-devel] Synodal versification IBT modules?

2013-05-13 Thread Familie von Kaehne
On 13/05/13 05:30, Troy A. Griffitts wrote: What sort of use cases do we have to build further API calls on this? vectorstring getBooksPresent() In terms of being able to not showing lists of books which are not present, this would probably be enough. Would it be good enough to have this as

Re: [sword-devel] Synodal versification IBT modules?

2013-05-13 Thread John Austin
On 05/13/2013 10:30 AM, Troy A. Griffitts wrote: We have the first part already in the API: SWModule::hasEntry(const SWKey *) What sort of use cases do we have to build further API calls on this? vectorstring getBooksPresent() ??? Yes- or even just: bool isBookPresent(aBook) and there

Re: [sword-devel] Synodal versification IBT modules?

2013-05-13 Thread David Haslam
Along the same lines, might you require further Booleans to return something for translations in which the Greek additions to Esther are assigned their own separate book? i.e. When the first verse is ESG 10:4 David -- View this message in context:

Re: [sword-devel] Synodal versification IBT modules?

2013-05-13 Thread Костя Маслюк
No need to introduce new functions because last chapter would be always calculated via getChapterMax(). Here is list of *difficult cases* of deuterocanonical content in Synodal v11n Dan.3.24-3.90 Prov.14.13 Prov.18.8 Here deuterocanonical text is inside of chapter... In text without

Re: [sword-devel] Synodal versification IBT modules?

2013-05-13 Thread John Austin
On 05/13/2013 05:34 PM, Костя Маслюк wrote: No need to introduce new functions because last chapter would be always calculated via getChapterMax(). I think that getChapterMax returns the maximum chapter in the verse system. But we still need something like lastChapterPresent to return the

Re: [sword-devel] Synodal versification IBT modules?

2013-05-13 Thread Костя Маслюк
Prov.13.26 Prov.18.25 Dan.3.34-100 - is not correct, but i also got mistaken: Dan.3.24-3.90 *Prov.13.14* Prov.18.8 2013/5/13 John Austin gpl.programs.i...@gmail.com On 05/13/2013 05:34 PM, Костя Маслюк wrote: No need to introduce new functions because last chapter would be always

Re: [sword-devel] Synodal versification IBT modules?

2013-05-13 Thread Ben Morgan
BPBible already has code which (attempts) to check if a chapter is present. https://code.google.com/p/bpbible/source/browse/trunk/backend/book.py?spec=svn1419r=1414#716 Note this isn't yet av11n compliant, but the general principle should be much the same. It's in Python but should be pretty much