Before making any changes to your grammar for this lab, run a baseline test suite instance. If you decide to add items to your test suite for the material covered here, consider doing so before modifying your grammar so that your baseline can include those examples. (Alternatively, if you add examples in the course of working on your grammar and want to make the snapshot later, you can do so using the grammar you turned in for Lab 7.)
There are many sources of tense and/or grammatical aspect, i.e., possible forms of contributing elements:
Replace the lexical type hierarchy for finite and nonfinite verbs with lexical rule types (if not already done).
For English, I expanded the hierarchy under form, adding nonfin (nonfinite) with subtypes base (for infinitival forms) and prespart (for present participle forms):
nonfin := form.
base := nonfin.
prespart := nonfin.
Then I wrote lexical rules for finite and nonfinite verbs that specify the
FORM values. These lexical rules will function as supertypes for lexeme to
word rules and so inherit from lexeme-to-word-rule defined in matrix.tdl.
finite-verb-lex-rule := lexeme-to-word-rule &
[ DTR.SYNSEM.LOCAL.CAT.HEAD verb & [FORM fin]].
nonfinite-verb-lex-rule := lexeme-to-word-rule &
[ DTR.SYNSEM.LOCAL.CAT.HEAD verb & [FORM nonfin]].
I also wrote a rule that defines English infinitival forms (base).
base-verb-lex-rule := nonfinite-verb-lex-rule &
[ DTR.SYNSEM.LOCAL.CAT.HEAD.FORM base ].
Define values for the features TENSE and ASPECT in a hierarchy. The specific values possible for these features need to be defined in klingon.tdl. The TENSE and ASPECT features themselves are defined in matrix.tdl as features of the type tam (which is itself the value of the feature E, declared for the type event, i.e., the value of INDEX on verbs). Each particular language may have a different set of values and a different hierarchy. Some languages have more general, and some more specific, contrasts, e.g., [past]/[nonpast] vs. [[farpast/past]/recentpast]/[present/nearfuture/...].
nonfuture := tense.
nonpast := tense.
past := nonfuture.
present := nonpast & nonfuture.
future := nonpast.
perfective := aspect.
imperfective := aspect.
progressive := imperfective.
nonprogressive := imperfective.
habitual := nonprogressive.
generic := nonprogressive.
General approach: If aspect is defined on the lexical entries themselves define the aspect directly on the verbs.
If tense and/or aspect is conveyed by inflection on the verb:
General approach: Define the value of tense/aspect in the lexical-rule that licenses the verb.
Write lexical-rules that define the verb form(s). Build a hierarchy
of lexical rule types from which instances of lexical rules can inherit.
For English, I wrote a present tense rule and a past tense rule. The past
tense rule inherits a finite FORM value from the type
finite-verb-lex-rule. It additionally needs to inherit from
inflecting-lex-rule since it will be associated with an
inflectional rule in irules.tdl. This rule adds the specification
that the verb is not an auxiliary (AUX -) and that the values of TENSE and
ASPECT in the semantic content (CONT) are 'past' and 'perfective',
respectively.
past-tense-lex-rule := finite-verb-lex-rule & inflecting-lex-rule &
[ DTR.SYNSEM.LOCAL [ CAT.HEAD.AUX -,
CONT.HOOK.INDEX.E [ TENSE past,
ASPECT perfective ] ] ].
The present tense rule is similar but only constrains the tense of the verb. This will function as a supertype for instances of present tense verb rules with different agreement constraints (since English distinguishes 3sg from non-3sg in present tense verbs).
present-tense-lex-rule := finite-verb-lex-rule &
[ DTR.SYNSEM.LOCAL.CONT.HOOK.INDEX.E.TENSE present ].
past-tense-verb :=
%suffix (!e !eed) (e ed)
past-verb-lex-rule.
If tense or aspect is introduced through a portmanteau morpheme, add semantic information to the rules, e.g., agreement rules, that are already in the grammar. You might find it convenient to cross-classify lexical rule types for e.g., agreement and tense/aspect, so that you get a 1sg-past-lex-rule and a 1sg-present-lex-rule, which both inherit from a 1sg-verb-lex-rule which puts in the information about the PNG of the subject. Similarly, 1sg-past-lex-rule and the other past tense lex rules would inherit from the type past-tense-lex-rule which would fill in the TENSE information.
For English, I added tense and aspect information to the rules that define
the agreement+tense+aspect (present tense) verb forms, e.g., "He walks",
"I/you/we/they walk". Note that these rules are instances of subtypes of
present-tense-lex-rule. (In English, the full cross-classification
doesn't make sense, as the agreement information is only marked in present
tense, and only makes a two-way distinction even there.)
3sg-present-verb-lex-rule := present-tense-lex-rule & inflecting-lex-rule &
[ DTR.SYNSEM.LOCAL [ CAT [ HEAD.AUX -,
VAL.SUBJ < [ LOCAL.CONT.HOOK.INDEX.PNG.PERNUM 3sg ] > ],
CONT.HOOK.INDEX.E.ASPECT nonprogressive ] ].
non3sg-present-verb-lex-rule := present-tense-lex-rule & constant-lex-rule &
[ DTR.SYNSEM.LOCAL [ CAT [ HEAD.AUX -,
VAL.SUBJ < [ LOCAL.CONT.HOOK.INDEX.PNG.PERNUM non3sg ] > ],
CONT.HOOK.INDEX.E.ASPECT nonprogressive ] ].
These rules have the following associated irules and lrules:
In irules:
3sg-present-verb :=
%suffix (!s !ss) (s ses)
3sg-present-verb-lex-rule.
In lrules:
non3sg-present-verb := non3sg-present-verb-lex-rule.
If tense and/or aspect is conveyed by an auxiliary plus verb form:
General approach: Define the verb forms that are required with the auxiliary including the aspect (or tense, if appropriate) they contribute. Define the auxiliary, including the tense (and/or aspect as appropriate) specifying the required verb type as a complement of the auxiliary. The auxiliary is treated as a head and the verb form as a complement. Their combination is then licensed by the grammar's head-complement rule.
For English, I added the present participle form that also contributes progressive aspect.
In english.tdl:presparticiple-verb-lex-rule := nonfinite-verb-lex-rule & inflecting-lex-rule &In irules.tdl:
[ DTR.SYNSEM.LOCAL[ CAT.HEAD [AUX -, FORM prespart ],
CONT.HOOK.INDEX.E.ASPECT progressive ] ]
presparticiple-verb :=
%suffix (!e !eing) (e ing)
presparticiple-verb-lex-rule.
For English, I defined the following type, specifying the form of the
compliment to be a present participle (prespart). This analysis
asserts that progressive aspect in English is introduced by the present
participle. Alternatively, aspect might be introduced by the auxiliary
itself. In that case, the type for the auxiliary would need to specify the
aspect.
be-aux := subj-raise-aux & trans-first-arg-raising-lex-item-2 &
[ INFLECTED +,
ARG-ST < [ ], [LOCAL.CAT.HEAD.FORM prespart ] > ].
Note that semantically contentful auxiliaries (like can) should instead inherit from trans-first-arg-raising-lex-item-1.
For English, I added past and present tense 'be' verb forms to the
lexicon. The following are two of several such entries. Note that
non-auxiliary uses of the verb would require a separate entries in the
lexicon.
be-aux-am := be-aux &
[ STEM < "am" >,
SYNSEM.LOCAL [ CAT.VAL.SUBJ < [ LOCAL.CONT.HOOK.INDEX.PNG.PERNUM 1sg ] >,
CONT.HOOK.INDEX.E.TENSE present ] ] .
be-aux-was := be-aux &
[ STEM < "was" >,
SYNSEM.LOCAL [ CAT.VAL.SUBJ < [ LOCAL.CONT.HOOK.INDEX.PNG.PERNUM 1+3sg ] >,
CONT.HOOK.INDEX.E.TENSE past ] ] .
If tense and/or aspect is conveyed by an element that looks like a particle, the implementation depends on the analysis of the particle-like element.
What is necessary to appropriately constrain tense and aspect depends on the
particular language.
Two typical scenarios:
One possible analysis of English restricts progressive to non-stative verbs, ruling out constructions like 'He is knowing the answer'. One way to constrain progressive constructions from occurring with stative verbs:
be-aux := subj-raise-aux & trans-first-arg-raising-lex-item-2 &
[ INFLECTED +,
ARG-ST < [ ],[ LOCAL [ CAT.HEAD.FORM prespart,
CONT.HOOK.INDEX.E.STATIVE - ] ] > ].
It is widely accepted that perfective aspect is cognitively incompatible with present tense since (roughly) present tense is punctual and perfective aspect requires that an event be viewed as a whole (compete) and if it is complete it is not happening in the present moment. Different languages handle this cognitive dissonance differently.
For example, one possible analysis of English assumes that all present tense forms are imperfective therefore there are no present perfective constructions. The easiest way to implement this constraint is to define all present tense forms as imperfective. This is what I have done in the examples above.
Alternatively, in Russian, there are present tense forms of perfective verbs. However, these constructions always result in a future tense interpretation. There are several possible analyzes of this phenomenon. Although there are certainly other viable approaches, I suggest treating the present tense inflection on imperfectives and perfectives as distinct but homophonous forms.
Your write up should address the following phenomena. For each, be sure to include examples in IGT format from your test suite to illustrate your points. (Emily should be able to parse the examples as given to see for herself what your grammar is doing.)
tar czf lab8.tgz *
(When I download your submission from CollectIt, it comes in a directory named with your UWNetID. The above method avoids extra directory structure inside that directory.)