## Natural Language Toolkit: sem1.fcfg ## ## Minimal feature-based grammar to illustrate the interpretation of ## determiner phrases. ## ## Author: Ewan Klein ## URL: ## For license information, see LICENSE.TXT % start S S[SEM = ] -> NP[SEM=?subj] VP[SEM=?vp] VP[SEM=?v] -> IV[SEM=?v] NP[SEM=] -> Det[SEM=?det] N[SEM=?n] Det[SEM=<\Q P.exists x.(Q(x) & P(x))>] -> 'a' Det[SEM=<\Q P.all x.(Q(x) -> P(x))>] -> 'every' N[SEM=<\x.dog(x)>] -> 'dog' IV[SEM=<\x.bark(x)>] -> 'barks'