Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Whisper ¶
type Whisper struct {
// contains filtered or unexported fields
}
func NewWhisper ¶
func (*Whisper) ChopByTimestamp ¶
type WhisperOutputType ¶
type WhisperOutputType struct {
Segments []WhisperSegmentType `json:"segments"`
Language string `json:"language"`
}
type WhisperSegmentType ¶
type WhisperSegmentType struct {
Id int `json:"id"`
Seek float64 `json:"seek"`
Start float64 `json:"start"`
End float64 `json:"end"`
Text string `json:"text"`
Tokens []int `json:"tokens"`
Temperature float32 `json:"temperature"`
AvgLogProb float64 `json:"avg_logprob"`
CompressionRatio float64 `json:"compression_ratio"`
NoSpeechProb float64 `json:"no_speech_prob"`
Words []WhisperWord `json:"words"`
}
Click to show internal directories.
Click to hide internal directories.