Documentation ¶
Overview ¶
emitblabbertabber massages the output from the IBM Speech to Text back-end into a format that can be readily output for easy consumption by the front-end javascript.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SquashSpeakerLabels ¶
func SquashSpeakerLabels(speakerLabels []parseibm.SpeakerLabel) ([]parseibm.SpeakerLabel, error)
Types ¶
type SpeakerStat ¶
type SpeakerStats ¶
type SpeakerStats []SpeakerStat
func (SpeakerStats) Len ¶
func (s SpeakerStats) Len() int
func (SpeakerStats) Less ¶
func (s SpeakerStats) Less(i, j int) bool
func (SpeakerStats) Swap ¶
func (s SpeakerStats) Swap(i, j int)
type Summary ¶
type Summary struct { TotalSpeakingTime float64 `json:"total_speaking_time"` LeaderBoard []SpeakerStat `json:"leader_board"` Utterances []Utterance `json:"utterances"` }
func CalcSummary ¶
Click to show internal directories.
Click to hide internal directories.