BASIC MLP LESSON 2C
Noun Phrases, Adverbs, Subordinate Conjunction Strings

Lesson 1A Lesson 1B Lesson 2X Lesson 2A Lesson 2B Lesson 2C Lesson 2D

-
The Third Update to eg2X — eg2C

Read Document 2X and Homework 2C.

Files in use:
Grammar 2C
Dictionary 2C
Parse directive 2C
Sentences 2C

The grammar eg2C is concerned primarily with the expansion of <LN>, with the inclusion of time strings (<NSTGT>) and subordinate clauses (<SUB1>), and with the restriction of adverbs to particular slots. Also <LNR> is revised to include <NVAR> instead of <*N> so that both nouns and pronouns can be grouped together instead of having <LPROR> as an option of <NSTG>.

<LN> is expanded to include quantity modifiers (<QPOS>) and noun modifiers (<NPOS>), as in few stone towers. <APOS> is made recursive to allow for more than one adjective (few old green stone towers. <QPOS> now calls on an LXR type definition (<LQR>), as does <APOS> (<LAR>). <LAR> includes <*ADJ> (a green stone), <*VEN> (a broken stone), and <*VING> (a growing investigation). Both <*Q> and <*ADJ> may have an adverb as a left-adjunct, so <LQ> contains <*D> (very few), and <LA> contains <*D> (very old).

A new agreement restriction WAGREE-LN checks that a SINGULAR (or PLURAL) left adjunct of N agrees with a SINGULAR (or PLURAL) core oF <NVAR> (ruling out a towers).

Three new options appear in <SA>. These are <TOVO> (e.g. To find the buttons in To find the buttons, they had to dig). Noun strings of time <NSTGT> (years ago), and a subordinate clause <SUB1> (while they dug). The restriction WTIME checks that the noun in <NSTGT> has the attribute NTIME1. Subordinate clauses are introduced by words such as while and before in the category CS1.

In eg2C, adverbs may appear in nine possible positions - SA, LT, LQ, LA, RN, LW, RW, LV, RV. Since there are certain subclasses of adverbs that cannot appear freely in all slots, this means that without restrictions a problem can arise with the placement of adverbs. An example was seen in the unintended parse of The found out the facts, where out was parsed as an adverb in <RV> (like They walked out) instead of the initial <*DP> of the object string <DP2> of found. The solution lies in restrictions which allow only adverbs with the correct attribute to fill a given adverb slot.

Few changes are needed in the dictionary. The attributes NTIME1, DLA, DLQ, DLT, DLV, DRN, DRV and DSA are added to the ATTRIBUTE list in eg2C and to the appropriate words.

CHANGES MADE IN THE GRAMMAR

*BNF
SA add NSTGT, TOVO, CSSTG
NSTGT new
SUB1 new
NSTG delete LPROR, add PLACESTG
LNR replace *N with *NVAR
NVAR new
LN add QPOS, NPOS
TPOS make LTR
LTR new
LT new
RT new
QPOS make LQR
LQR new
LQ new
RQ new
APOS make recursive (LAR), add *VING
LA new
AVAR new
RA new
NPOS new
RN add D
LPROR delete
OBJBE change *ADJ to ASTG
ASTG new
*LISTS
ATTRIBUTE add DLA, DLQ, DLT, DRN, DRV, DSA, NTIME1
STRING add SUB1, NSTGT, PLACESTG
ADJSET add LA, LQ, LT, RA, RQ, RT; delete LPRO
LADJSET add LA, LQ, LT; delete LPRO
RADJSET add RA, RQ, RT
LXR add LQR, LAR; delete LPROR
*RESTR
WAGREE-LN new
WPOSLA new
WPOSLQ new
WPOSLT new
WPOSRN new
WPOSRV new
WPOSSA new
WTIME new

CHANGES MADE IN THE DICTIONARY

A define as T:(SINGULAR)
AGO add DRN
AROUND define as D: (DRV), P: ('AROUND')
BEFORE add CS1
BY add DRV
A_FEW add Q:(PLURAL)
FEW add Q:(PLURAL)
FINALLY add DSA
IN add DRV
MANY add Q:(PLURAL)
NEWPORT_,_RHODE_ISLANDnew
OUT add DRV
QUITE_A_FEW define as Q:(PLURAL)
QUITE_A_WHILE define as D: (DSA)
UNDER add DRV
UP add DRV
VERY add DLA
WHILE add NTIME1, CS1
YEARS add NTIME1