feat: upload audio, get a private Swedish transcript, discuss it (#33, ADR-033) #39
@@ -147,14 +147,18 @@ const (
|
|||||||
ReconcileSkipped ReconcileStatus = "skipped"
|
ReconcileSkipped ReconcileStatus = "skipped"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ContestedSpot is a place the engines disagreed that a reader may want to check
|
// ContestedSpot is a place the engines disagreed that the model judged: it changed it,
|
||||||
// against the audio: one the model changed, or one it was unsure about.
|
// kept the base's reading, or could not decide. Every judged spot is stored, not only
|
||||||
|
// the ones a reader should check, because the audio is not retained and the kept ones
|
||||||
|
// are what a later evaluation needs (ADR-035). The page lists only the changed and
|
||||||
|
// uncertain ones.
|
||||||
type ContestedSpot struct {
|
type ContestedSpot struct {
|
||||||
Seconds float64 `json:"seconds"` // roughly where in the recording
|
Seconds float64 `json:"seconds"` // roughly where in the recording
|
||||||
Base string `json:"base"` // what the base engine heard
|
Base string `json:"base"` // what the base engine heard
|
||||||
Alt string `json:"alt"` // what the other engine heard
|
Alt string `json:"alt"` // what the other engine heard
|
||||||
Used string `json:"used"` // "base" or "alt": the reading now in the text
|
Used string `json:"used"` // "base" or "alt": the reading now in the text
|
||||||
Unsure bool `json:"unsure"` // the model could not decide; the base was kept
|
Unsure bool `json:"unsure"` // the model could not decide; the base was kept
|
||||||
|
Before string `json:"before,omitempty"` // the few words just before the spot, to find it by
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reconciliation records how a merged transcript came about, so the page can say so
|
// Reconciliation records how a merged transcript came about, so the page can say so
|
||||||
|
|||||||
Reference in New Issue
Block a user