pub fn align_nosplit(
reference: &[TimeSpan],
list: &[TimeSpan],
score_fn: impl Fn(TimeDelta, TimeDelta) -> f64 + Copy,
progress_handler: impl ProgressHandler,
) -> (TimeDelta, Score)Expand description
Matches an incorrect subtitle list to a reference subtitle list with only a single constant shift (no split).
Returns the delta for every time span in list.
This function takes usually less than 300ms on 2h30min subtitle data.
Use standard_scoring as score function if no fine tuning is required.