Actually the sentence diagramming was useful introduction to a type of analysis. Not too different from computer science foundations of programming languages, automata, etc
It's a living, evolving, consensus language. It can't be nailed down to an algorithm. It's a language in which writers who break the rules become legendary. Would James Joyce or Charles Dodgson or the Bard himself have diagrammed a sentence? Heck no. They played with grammar and spelling the way a child plays with a pile of lego: with enthusiasm and imagination and a gleeful disregard for the instructions.