PdfCitation

data class PdfCitation(val pageIndex: Int, val start: Int, val end: Int, val rects: List<PdfRect>, val quote: String)

A sentence in the document that supports an answer (ANS-5).

Constructors

Link copied to clipboard
constructor(pageIndex: Int, start: Int, end: Int, rects: List<PdfRect>, quote: String)

Properties

Link copied to clipboard
val end: Int
Link copied to clipboard
Link copied to clipboard

The source text the range covers, not the model's copy of it.

Link copied to clipboard
val rects: List<PdfRect>
Link copied to clipboard
val start: Int

Character range in the page's text layer, end exclusive.