SpokenWord

data class SpokenWord(source)

One spoken word together with its position and source range in the passage.

Properties

Link copied to clipboard
val id: Int

Stable identity of the word within its passage.

Link copied to clipboard

Zero-based word index within the printed line.

Link copied to clipboard

Zero-based word index across the complete passage.

Link copied to clipboard

Zero-based printed-line index.

Link copied to clipboard

UTF-16 offsets occupied by the spoken letters in their line.

Link copied to clipboard

Printed spelling inside range.

Functions

Link copied to clipboard
fun movedToLine(lineIndex: Int): SpokenWord

Returns the same word associated with another line index.