generic

package
v1.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlignChar

type AlignChar struct {
	AudioFile   string
	LineId      int64
	LineRef     string // e.g. GEN 1:3-5a or GEN 1 or GEN 1:49-2:1
	WordId      int64  // WordSeq, Word could be added
	Word        string
	CharId      int64
	CharSeq     int
	Uroman      rune
	BeginTS     float64
	EndTS       float64
	FAScore     float64
	IsASR       bool
	Duration    float64
	Silence     float64
	SilencePos  int
	ScoreError  int
	SilenceLong int
}

type AlignLine

type AlignLine struct {
	Chars []AlignChar
}

type Char

type Char struct {
	CharId int64
	WordId int64
	Seq    int
	Uroman rune
	Start  float64
	End    float64
	Score  float64
}

type LogicalKey

type LogicalKey interface {
	IsLogicalKey()
	UniqueKey() string
	Description() string
}

type Publish

type Publish struct {
	BookId     string
	ChapterNum int
	Page       int
	Paragraph  int
	Sentence   int
	// contains filtered or unexported fields
}

func NewPublish

func NewPublish(key string) Publish

func (Publish) Description

func (p Publish) Description() string

func (Publish) IsLogicalKey

func (p Publish) IsLogicalKey()

func (Publish) UniqueKey

func (p Publish) UniqueKey() string

type VerseRef

type VerseRef struct {
	BookId     string `json:"book_id"`
	ChapterNum int    `json:"chapter_num"`
	VerseStr   string `json:"verse_str"`
	ChapterEnd int    `json:"chapter_end"`
	VerseEnd   string `json:"verse_end"`
}

func NewVerseRef

func NewVerseRef(key string) VerseRef

func (VerseRef) Description

func (r VerseRef) Description() string

func (VerseRef) IsLogicalKey

func (r VerseRef) IsLogicalKey()

func (VerseRef) UniqueKey

func (r VerseRef) UniqueKey() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL