pub fn check_controlled_language_with_morphology(
source: &str,
profile: &ControlledLanguageProfile,
analyze_sentence: impl FnMut(&[ControlledLanguageWord<'_>]) -> Vec<Vec<ControlledLanguageAnalysis>>,
) -> Result<Vec<ControlledLanguageDiagnostic>, ControlledLanguageError>Expand description
Checks text with caller-supplied readings, one list per input word. An empty list delegates that word to the profile.