15 Feb
2013
15 Feb
'13
1:38 p.m.
Good Friday there, working on a book with many too long sentences, I got the following idea/question: Is it possible to recognize the length of a sentence, and to let context show in the pdf, if there is a too long sentence. For example I am thinking of an command like \version[longsentence,15] which sets an symbol like "*" in the margin, if a sentence has more than 15 words. First, correct sentence-regonition could be a task: It is not enough to count the words between two dots, because of abbreviations. But there is probably a known algorithm for handling those problems. I think a feature like this could be interesting for context (and for my work :D) Thanks for you comments Huseyin