overlap_scoring

Function overlap_scoring 

Source
pub fn overlap_scoring(a: TimeDelta, b: TimeDelta) -> Score
Expand description

Calculate score based only on the overlapping length of the intervals (better when comparing scaled subtitles; used for FPS correction).