transcript

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DocumentKind = "transcript"
	UnitKind     = "transcript_segment"
	Format       = "application/vnd.seriatim+json"
)
View Source
const (
	MetadataSpeaker = "speaker"
	MetadataStart   = "start"
	MetadataEnd     = "end"
)
View Source
const Key = "seriatim"

Variables

This section is empty.

Functions

func End

func End(unit source.SourceUnit) (json.Number, bool)

func ModuleSpec

func ModuleSpec() pipeline.ModuleSpec

func Register

func Register(registry *pipeline.InputAdapterRegistry) error

func Speaker

func Speaker(unit source.SourceUnit) (string, bool)

func Start

func Start(unit source.SourceUnit) (json.Number, bool)

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

func New

func New() *Adapter

func (*Adapter) Key

func (a *Adapter) Key() string

func (*Adapter) Parse

type Options

type Options struct{}

func DecodeOptions

func DecodeOptions(options map[string]any) (Options, error)

Jump to

Keyboard shortcuts

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