Skip to main content

Interface: VerseSpan

Defined in: Data/Text/VerseFormatting.ts:85

A range of words carrying a semantic role.

start and end are 0-based, inclusive word indices into splitVerseWords(text). A single-word span has start === end.

Properties

end

readonly end: number

Defined in: Data/Text/VerseFormatting.ts:90

Last word covered. 0-based, inclusive.


ref?

readonly optional ref?: number

Defined in: Data/Text/VerseFormatting.ts:95

Only meaningful for quotation: the verse_id of the passage being quoted. Omitted when the source is unknown.


start

readonly start: number

Defined in: Data/Text/VerseFormatting.ts:88

First word covered. 0-based, inclusive.


type

readonly type: VerseSpanType

Defined in: Data/Text/VerseFormatting.ts:86