-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Thanks for this :)
When trying to get references from text strings sometimes a word matching a bible book returns a full book reference. For example, the word "mark" in here is giving me an extra ref. Is there a way we can add a flag on the get_references function to say if a chapter number is required in the match?
text = """This one thing I do, forgetting those things which are behind.... I press toward the mark
for the prize of the high calling of God in Christ Jesus. Phil 3:13, 14"""
references = bible.get_references(text)
print(bible.format_scripture_references(references))
#Mark;Philippians 3:13-14Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working