alass takes two timespan arrays (e.g. from two subtitle files) and
tries to align the
reference subtitle. It automatically fixes offsets and
introduces/removes breaks between subtitles in the
subtitle to achive the best alignment.
This struct represents a time difference between two
Represents a timepoint in your own metric.
Represents a time span from "start" (included) to "end" (excluded).
Use this trait if you want more detailed information about the progress of the align operation (which might take some seconds).
Calculate the no-split score (see thesis in repository of source code).
Calculate the split score (see thesis in repository of source code).
Calculate score based only on the overlapping length of the intervals (better when comparing scaled subtitles; used for FPS correction).
This score is 1 for equally length spans and lower the more the spans are unequal in length (use this scoring if you're not sure what to take).