Skip to main content

check_controlled_language

Function check_controlled_language 

Source
pub fn check_controlled_language(
    source: &str,
    profile: &ControlledLanguageProfile,
) -> Result<Vec<ControlledLanguageDiagnostic>, ControlledLanguageError>
Expand description

Checks writing rules and vocabulary using the profile’s morphology readings.