pub fn syllable_count(text: &str) -> usizeExpand description
Count the number of syllables in a given text
ยงExample
use acorn_lib::analyzer::readability::syllable_count;
let sentence = "The quick brown fox jumps over the lazy dog.";
assert_eq!(syllable_count(sentence), 11);