sentence1: the grammar is grounded in the theoretical framework of hpsg and uses minimal recursion semantics for the semantic representation .
sentence2: the grammar matrix is couched within the head-driven phrase structure grammar framework .