subtitles

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subtitles

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

func NewSubtitlesFromVTT

func NewSubtitlesFromVTT(webvtt io.Reader) (*Subtitles, error)

func (*Subtitles) FormatForLLM

func (s *Subtitles) FormatForLLM() string

func (*Subtitles) FormatTextOnly

func (s *Subtitles) FormatTextOnly() string

func (*Subtitles) FormatVTT added in v0.5.0

func (s *Subtitles) FormatVTT() string

func (*Subtitles) IsEmpty added in v0.5.0

func (s *Subtitles) IsEmpty() bool

func (*Subtitles) WebVTT

func (s *Subtitles) WebVTT() io.Reader

Jump to

Keyboard shortcuts

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