Dear Mark,
thank you very much for this lovely post. It is really useful. I like getting metrics when marking assessments with essay components.
I wonder whether this is substantially different in different languages. So for example if I run your code on an English sentence and then a German or Spanish translation of that sentence.
I just tried this, but unfortunately, TextStructure does not work in other languages, it appears.
Thank you for the great post,
Marco