avendesora / pythonbible

A python library for validating, parsing, normalizing scripture references and retrieving scripture texts (for open source and public domain versions)
https://docs.python.bible
MIT License
58 stars 11 forks source link

Missing the first few words of some verses in ASV #9

Closed avendesora closed 4 years ago

avendesora commented 4 years ago

When getting the verse text for Exodus 20:3 in the ASV version, the first two words are missing.

import pythonbible as bible
references = bible.get_references("Exodus 20:3")
verse_ids = bible.convert_references_to_verse_ids(references)
kjv_parser = bible.get_parser(version=bible.Version.KING_JAMES)
kjv_verse_text = kjv_parser.get_verse_text(verse_ids[0])

The verse text for KJV looks right:

'3. Thou shalt have no other gods before me.'

But, when I get the verse text for ASV:

asv_parser = bible.get_parser(version=bible.Version.AMERICAN_STANDARD)
asv_verse_text = asv_parser.get_verse_text(verse_ids[0])

The ASV verse text is missing the "Thou shalt", but it is in the XML file.

'3. have no other gods before me.'