alignment/dialogue_types
Generic dialogue types — reused across any dialogue/audio pipeline.
This module is the ONLY place the alignment tool defines Turn/Role. It replaces the previous dependency on speak_engl/content. These are generic dialogue concepts, not speak_engl domain types.
Types
Who spoke a line in a doctor-patient (or any two-role) dialogue.
pub type Role {
Doctor
Patient
}
Constructors
-
Doctor -
Patient
Values
pub fn turn_filename(index: Int) -> String
Zero-padded mp3 filename for a turn — e.g. “turn_0042.mp3”.