sentence1: each grammar consists of a set of rules evaluated in a leftto-right fashion over the input annotations , with multiple grammars cascaded together and evaluated bottom-up .
sentence2: the 'grammar ' consists of a lexicon where each lexical item is associated with a finite number of structures for which that item is the 'head ' .