;;; lexical entries modified for exercise 5.1.1-4 the := word & [ ORTH [ LIST [ FIRST "the"]], HEAD det, SPR < >, COMPS < > ]. ;;; modified as answer to exercise 5.1.1 - 5 this := word & [ ORTH [ LIST [ FIRST "this" ]], HEAD det & [ NUMAGR sg], SPR < >, COMPS < > ]. ;;; modified as answer to exercise 5.1.1 - 5 these := word & [ ORTH [ LIST [ FIRST "these" ]], HEAD det & [ NUMAGR pl], SPR < >, COMPS < > ]. ;;; modified as answer to exercise 5.1.1 - 5 dog := word & [ ORTH [ LIST [ FIRST "dog" ]], HEAD noun & [ NUMAGR sg & #agr], SPR < phrase & [HEAD det & [NUMAGR #agr]] >, COMPS < > ]. ;;; modified as answer to exercise 5.1.1 - 5 dogs := word & [ ORTH [ LIST [ FIRST "dogs" ]], HEAD noun & [ NUMAGR pl & #agr], SPR < phrase & [HEAD det & [NUMAGR #agr]] >, COMPS < > ]. ;;; modified as answer to exercise 5.1.1 - 5 cat := word & [ ORTH [ LIST [ FIRST "cat" ]], HEAD noun & [ NUMAGR sg & #agr], SPR < phrase & [HEAD det & [NUMAGR #agr]] >, COMPS < > ]. ;;; modified as answer to exercise 5.1.1 - 5 aardvark := word & [ ORTH [ LIST [ FIRST "aardvark" ]], HEAD noun & [ NUMAGR sg & #agr], SPR < phrase & [HEAD det & [NUMAGR #agr]] >, COMPS < > ]. ;;; modified as answer to exercise 5.1.1 - 5 ;;; modified as answer to exercise 5.1.1 - 6 barks := word & [ ORTH [ LIST [ FIRST "barks" ]], HEAD verb, SPR < phrase & [HEAD noun & [ NUMAGR sg], SPR <>] >, COMPS < > ]. ;;; modified as answer to exercise 5.1.1 - 5 ;;; modified as answer to exercise 5.1.1 - 6 bark := word & [ ORTH [ LIST [ FIRST "bark" ]], HEAD verb, SPR < phrase & [HEAD noun & [ NUMAGR pl], SPR <>] >, COMPS < > ]. ;;; modified as answer to exercise 5.1.1 - 5 ;;; modified as answer to exercise 5.1.1 - 6 sleeps := word & [ ORTH [ LIST [ FIRST "sleeps" ]], HEAD verb, SPR < phrase & [HEAD noun & [ NUMAGR sg], SPR <>] >, COMPS < > ]. ;;; modified as answer to exercise 5.1.1 - 5 ;;; modified as answer to exercise 5.1.1 - 6 sleep := word & [ ORTH [ LIST [ FIRST "sleep" ]], HEAD verb, SPR < phrase & [HEAD noun & [ NUMAGR pl], SPR <>] >, COMPS < > ]. ;;; modified as answer to exercise 5.1.1 - 5 ;;; modified as answer to exercise 5.1.1 - 6 chased_1 := word & [ ORTH [ LIST [ FIRST "chased" ]], HEAD verb, SPR < phrase & [ HEAD noun, SPR <>] >, COMPS < phrase & [HEAD noun, SPR <>] > ]. ;;; added as answer to exercise 5.1.1 - 3 ;;; modified as answer to exercise 5.1.1 - 5 ;;; modified as answer to exercise 5.1.1 - 6 chased_2 := word & [ ORTH [ LIST [ FIRST "chased" ]], HEAD verb, SPR < phrase & [ HEAD noun, SPR <>], phrase & [ HEAD noun, SPR <>] >, COMPS < phrase & [HEAD noun, SPR <>] > ]. ;;; added as answer to exercise 5.1.1 - 1 ;;; modified as answer to exercise 5.1.1 - 5 ;;; modified as answer to exercise 5.1.1 - 6 gave_1 := word & [ ORTH [ LIST [ FIRST "gave" ]], HEAD verb, SPR < phrase & [ HEAD noun, SPR <>] >, COMPS < phrase & [HEAD noun, SPR <>], phrase & [HEAD noun, SPR <>] > ]. ;;; added as answer to exercise 5.1.1 - 2 ;;; modified as answer to exercise 5.1.1 - 5 ;;; modified as answer to exercise 5.1.1 - 6 gave_2 := word & [ ORTH [ LIST [ FIRST "gave" ]], HEAD verb, SPR < phrase & [ HEAD noun, SPR <>] >, COMPS < phrase & [HEAD noun, SPR <>], phrase & [HEAD prep, SPR <>, COMPS <>] > ]. ;;; added as answer to exercise 5.1.1 - 2 to := word & [ ORTH [ LIST [ FIRST "to" ]], HEAD prep, SPR <>, COMPS < phrase & [HEAD noun, SPR <>] > ].