sentence1: the lingo grammar matrix is situated theoretically within head-driven phrase structure grammar , a lexicalist , constraint-based framework .
sentence2: this grammar is based on the framework of head-driven phrase structure grammar , one of the most prominent linguistic theories being used in natural language processing .