Skip to content

Add support for versification conversion to ScriptureRangeParser #470

Description

@pmachapman

Follow on from sillsdev/serval#1013.

As Serval expects Scripture Ranges in the target versification, and Scripture Forge inputs source corpus versifications for inferencing in the source versification (as SF cannot use the versification in the JavaScript frontend, so just lists what books the source has for inferencing), we need to be able to convert a ranges such as:

  • MAL1-4 (ENG) to MAL1-3 (ORG)
  • PSA1-151 (LXX/RSO) to PSA1-150,PS2 (ENG/ORG)
  • DAG1-12 (LXX) to DAN1-12 (ENG/ORG)
  • DAG13 (ENG/RSO) to SUS1 (ORG/LXX)
  • DAG14 (ENG/RSO) to BEL1 (ORG/LXX)

(These mappings are all present in the versification files)

As an actual bug SF is encountering, this only really affects drafting from Daniel or Psalms in LXX/Russian versification to English versification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions