Documentation
¶
Index ¶
- type Compare
- type HTMLWriter
- func (h *HTMLWriter) WriteEnd(filenameMap string)
- func (h *HTMLWriter) WriteHeading(baseDataset string, languageISO string, model string) string
- func (h *HTMLWriter) WriteLine(verse Pair)
- func (h *HTMLWriter) WriteReport(baseDataset string, records []Pair, languageISO string, fileMap string, ...) (string, *log.Status)
- type Pair
- type PairText
- type Verse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compare ¶
type Compare struct {
// contains filtered or unexported fields
}
func NewCompare ¶
func (*Compare) CompareChapters ¶
CompareChapters deprecated 3/6/2025. It was determined to not be necessary
func (*Compare) SetIsLatin ¶
type HTMLWriter ¶
type HTMLWriter struct {
// contains filtered or unexported fields
}
func NewHTMLWriter ¶
func NewHTMLWriter(ctx context.Context, datasetName string) HTMLWriter
func (*HTMLWriter) WriteEnd ¶
func (h *HTMLWriter) WriteEnd(filenameMap string)
func (*HTMLWriter) WriteHeading ¶
func (h *HTMLWriter) WriteHeading(baseDataset string, languageISO string, model string) string
func (*HTMLWriter) WriteLine ¶
func (h *HTMLWriter) WriteLine(verse Pair)
func (*HTMLWriter) WriteReport ¶
func (h *HTMLWriter) WriteReport(baseDataset string, records []Pair, languageISO string, fileMap string, asr request.SpeechToText) (string, *log.Status)
type Pair ¶
type Pair struct {
Ref generic.VerseRef `json:"ref"`
ScriptNum string `json:"script_num"`
AudioFile string `json:"audio_file"`
BeginTS float64 `json:"begin_ts"`
EndTS float64 `json:"end_ts"`
Base PairText `json:"base"`
Comp PairText `json:"comp"`
Diffs []diffmatchpatch.Diff `json:"diffs"`
HTML string `json:"html""`
}
func GordonFilter ¶
func (*Pair) LargestLength ¶
Click to show internal directories.
Click to hide internal directories.