Skip to main content

whole_file_text_class

Function whole_file_text_class 

Source
pub fn whole_file_text_class(before: &str, after: &str) -> WholeFileClass
Expand description

Whole-file classification at the pipeline’s default edit-distance cap (PLAIN_TEXT_MAX_EDIT) - the entry point Phase 3a’s dispatcher uses. A myers_lcs give-up is treated as Mixed: no license should ever be granted from an edit distance too large to have actually been measured.