Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckLanguage ¶
func CheckLanguage(ctx context.Context, lang string, sttLang string, aiTool string) (string, *log.Status)
Check that language is supported by mms_asr, and return alternate if it is not
func HasLocalAdapter ¶ added in v1.2.0
HasLocalAdapter reports whether a trained MMS adapter for lang already exists on local disk under dir. This covers the case where the adapter was just trained earlier in this same job: it is written to disk immediately, but isn't uploaded to R2 until the whole job finishes (see courier.PersistToBucket), so it must be found locally rather than downloaded.
Types ¶
type ForcedAlign ¶
type ForcedAlign struct {
// contains filtered or unexported fields
}
func NewForcedAlign ¶
func (*ForcedAlign) ProcessFiles ¶
func (f *ForcedAlign) ProcessFiles(files []generic.InputFile) *log.Status
ProcessFiles will perform Forced Alignment on these files