2026-04-26 13:03:07 -05:00
|
|
|
package builtin
|
|
|
|
|
|
|
|
|
|
import "gitea.maximumdirect.net/eric/seriatim/internal/pipeline"
|
|
|
|
|
|
2026-04-27 21:48:04 -05:00
|
|
|
// NewRegistry registers the built-in modules.
|
2026-04-26 13:03:07 -05:00
|
|
|
func NewRegistry() *pipeline.Registry {
|
|
|
|
|
registry := pipeline.NewRegistry()
|
|
|
|
|
|
|
|
|
|
registry.RegisterInputReader(jsonFilesReader{})
|
2026-04-27 21:48:04 -05:00
|
|
|
registry.RegisterPreprocessor(validateRaw{})
|
2026-04-26 13:03:07 -05:00
|
|
|
registry.RegisterPreprocessor(normalizeSpeakers{})
|
2026-04-26 13:57:13 -05:00
|
|
|
registry.RegisterPreprocessor(trimText{})
|
2026-04-27 21:48:04 -05:00
|
|
|
registry.RegisterMerger(chronologicalMerger{})
|
2026-04-26 20:39:49 -05:00
|
|
|
registry.RegisterPostprocessor(detectOverlaps{})
|
2026-04-27 15:52:53 -05:00
|
|
|
registry.RegisterPostprocessor(resolveOverlaps{})
|
2026-04-27 19:49:25 -05:00
|
|
|
registry.RegisterPostprocessor(backchannelPostprocessor{})
|
2026-04-27 19:58:55 -05:00
|
|
|
registry.RegisterPostprocessor(fillerPostprocessor{})
|
2026-04-27 19:30:00 -05:00
|
|
|
registry.RegisterPostprocessor(coalescePostprocessor{})
|
2026-04-28 15:38:16 -05:00
|
|
|
registry.RegisterPostprocessor(resolveDanglersPostprocessor{})
|
2026-04-26 13:03:07 -05:00
|
|
|
registry.RegisterPostprocessor(assignIDs{})
|
2026-04-27 21:27:19 -05:00
|
|
|
registry.RegisterPostprocessor(validateOutput{})
|
2026-04-26 19:33:23 -05:00
|
|
|
registry.RegisterPostprocessor(autocorrectPostprocessor{})
|
2026-04-26 13:03:07 -05:00
|
|
|
registry.RegisterOutputWriter(jsonOutputWriter{})
|
|
|
|
|
|
|
|
|
|
return registry
|
|
|
|
|
}
|