grammatical analysis demo