e-MG expectation-based Minimalist Grammars

lexicon · top-down derivation · memory buffer

One item per line: word :: Expected =Expect. A plain X is a feature the word must be licensed for; =X is something it expects (selects); +X licenses an X without deleting it. ~X makes the word a modifier of an X, which nothing selects, and ^F raises the modified head into its memory as an F. ROOT starts the derivation, ε (or eps) is silent, ; 3.s.f adds agreement, # a comment. Give a word several lines to make it ambiguous.

Words separated by spaces. Generation and parsing are the same derivation: type the whole sentence, or leave it empty and pick one word at a time.

Memory buffer

Which waiting item can be re-merged: the last stored (LIFO) or the first (FIFO).

Re-merge

At once: memory always comes before the next word. May wait: the next word can take the place instead.

Nested phases

Only the last expectation of an item inherits its memory: the others, and modifiers, are islands. Sinking lets them see it too.

Expectations of a moved item

Delayed: it may expand them where it is re-merged, not where it is pronounced.

Modifiers (~X)

Adjuncts and relative clauses follow what they modify in head-initial languages, and precede it in head-final ones.

Categories whose merge checks agreement (person 1 2 3, number s p, gender m f).

Items licensed as one of these cost 1 to encode (see the complexity estimates).

words

Lexical items

11 items, written as [Expected word =Expect]. Click a word to add it to the sentence.

[ROOT =nom =T]

Derivation

derived

“the giraffe that the cow kicked smiled” is generated by this lexicon.

23 steps · 3 re-merges · M-buffer peak 2 · 1 dead end explored

Step 23 / 23

Current phase
M-bufferstack: last in, first out
Wordssaid or read so far

Left to right is the order of the derivation; each item hangs from the item that selected it. X checked here · X still to be licensed (the item waits in memory) · =X open expectation · ⟨word⟩ silent copy, re-merged from memory along the dashed arrow · ⟨?⟩ the gap of a head still to come · a dotted branch attaches a modifier, which nothing selects · M the phase holding items in memory.

Complexity estimates

On-linethegiraffethatthecowkickedsmiled
Encoding1111100
Integration2223224
Retrieval–––––4.272.83
Intervention–––––11
Time steps
19
MaxD
3
MaxT
17
SumT
30
MaxS
17
RelM
1
Move failures
1
Ambiguities
3

Word-by-word and whole-sentence estimates for this derivation, with the clock and the measures of eMG_complexity_metrics.py (hover a name for its definition, or see ).

All 23 steps

What this lexicon generates

25 sentences of up to 6 words, shortest first. Click one to see its derivation; change a parameter to see the list change.

How an e-MG derivation works

An expectation-based Minimalist Grammar is just a lexicon. Every item says what it must be licensed as (its expected features) and what it wants next (its expectations). The derivation runs top-down and left to right, one word at a time, and it is the same whether the words are being produced or read.

Merge
The current phase has a first expectation =X. An item whose first expected feature is X satisfies it and hangs below it. Nothing else can be merged.
Move
If the merged item has more expected features, it is not fully licensed yet: a copy waits in the memory buffer (M-buffer) of the phase.
Re-merge
When the phase expects what the waiting item still needs, a silent copy ⟨word⟩ is merged there. This is how a word is pronounced in one place and interpreted in another.
Phases
An item with expectations of its own becomes the current phase. If it satisfied the last expectation of its selector it is sequential and inherits the M-buffer. Otherwise it is nested: it gets no memory, so nothing can be re-merged inside it (an island).
Success
All expectations satisfied, all words used, every M-buffer empty. A phase that closes with something left in memory fails.
+X
Licenses an X without deleting the feature (agreement positions): the item goes on waiting until some =X selects it.
Modifiers
An item written ~X (an adjunct, a relative clause) is not selected by anything. It attaches to an X that has just been completed, on the right edge of the tree; in a head-final grammar it comes before the X that is expected next. Either way it is a nested phase: it inherits no memory, which is what makes adjuncts and relative clauses islands.
Head raising
A relativizer written ~N ^F also copies the noun it modifies into its own M-buffer, where the copy has to be licensed as F. The head is then re-merged at the gap like any moved item, and it keeps its agreement. Before its head, what waits in memory is a gap ⟨?⟩, bound by the head when it arrives; nothing has been stored yet, so the gap is not subject to the order of the buffer.

Relative clauses: two analyses

Raising. The head is interpreted inside the clause, and the relative complementizer or pronoun is what starts the dependency (the raising analysis: Bianchi 1999, 2002). This is the example “relatives: raising”: that :: ~N ^acc =nom =T.

Relabeling. The bare noun moves and gives its label to the clause; the trigger is selection by the outer determiner, and the complementizer plays no role (Donati & Cecchetto 2011). Top-down, the noun that D selects expects the clause and is re-merged at the gap: giraffe :: N acc =C, in “relatives: relabeling”.

In this page the two encodings differ in two ways. Raising keeps one entry per noun and two for the relativizer; relabeling does the opposite. And a clause selected by the noun inherits memory whenever the noun phrase does (an object), while a modifier never does.

Parameters

  • Memory buffer. A stack gives nested dependencies, a queue crossing ones. Try both on “aⁿbⁿ by memory” and “mirror / copy”.
  • Re-merge. “At once” is the published algorithm: memory is always tried before the next word. With “may wait” the next word can fill the position while the item keeps waiting, which is needed to re-merge what inside an object (“what did John read a book about”).
  • Nested phases. “Sinking” passes the memory of the selecting phase down into nested phases as well, modifiers included (so adjuncts and relatives stop being islands); what is not used there comes back when the nested phase closes.
  • Expectations of a moved item. When they can be delayed, an item that moves may expand its own expectations at the place where it is finally selected.
  • Modifiers. Whether ~X items follow the head they modify or precede it. “Head-final relatives” is a verb-final grammar where relative clauses come first.
  • Agree on. When an expectation for one of these categories is satisfied, the two items must not clash in person, number or gender.
  • Content categories. Only used by the Encoding estimate: an item licensed as one of them costs 1.

Complexity estimates

The page keeps the clock of the Python scripts: one time step to consult the current phase, one for every item of its M-buffer that is tried (re-merged or not), one to retrieve the next lexical item. From it:

Encoding
1 for each content category of the word (see “Content categories”), plus 1 if the word form has more than one lexical item.
Integration
The time steps between a word and the previous one: 2, plus the number of items tried in memory.
Retrieval
For every item re-merged under the word, ln of the time steps the item waited in memory, summed.
Intervention
The Feature Retrieval Cost of every re-merge under the word, multiplied together. FRC = (1 + nF)m / (1 + dF), where m is the number of items in the M-buffer at that moment, dF the agreement features of the retrieving word that the retrieved item shares, and nF what the other items share with the retrieval cues: 1 for each of them waiting for the same category, 1 for each agreement feature in common. So 1 means that nothing competes, more than 1 interference, less than 1 that agreement helps. “–” means that nothing was retrieved.
MaxT, SumT
Tenure is the time between an item and its latest dependent. MaxT is the longest; SumT adds up the tenures above 1, each item once.
MaxS, MaxD
The longest wait in memory, in time steps; the deepest nesting level (1 for each nested phase on the way down).
RelM
The highest FRC of a single re-merge.

The clock, Encoding, Integration, Retrieval, MaxT, MaxS and MaxD are the numbers printed by eMG_run.py on derivations that both programs build in the same way. Three measures are defined more strictly here: SumT counts each tenure once; the FRC looks at the buffer as it is at each retrieval and at the item actually retrieved, and an empty agreement is not a shared feature; Retrieval and Intervention belong to each occurrence of a word, not to its form.

Ambiguity

A word with several entries is a choice. The expectation already filters the entries (only those that start with the expected category are candidates); among the rest the page tries each in turn, depth-first, and counts the dead ends.

Where this differs from the Python implementation

eMG_run.py asks the user to resolve each ambiguity; here the choices are searched. There, relative clauses and adjuncts are recognised by their label (RC, PP) and a relative attaches to the last noun completed; here they are lexical items (~X, ^F) and attach only on the right edge, at any height. “Unexpected merge” and head movement are not reproduced.

References

  • C. Chesi (2023). Parameters of Cross-linguistic Variation in Expectation-based Minimalist Grammars (e-MGs). IJCoL 9(1). doi:10.4000/ijcol.1135
  • C. Chesi. e-MGs, Python implementation. github.com/cristianochesi/e-MGs
  • C. Chesi (2021). Expectation-based Minimalist Grammars. arXiv:2109.13871
  • V. Bianchi & C. Chesi (2014). Subject Islands, Reconstruction, and the Flow of the Computation. Linguistic Inquiry 45(4), 525–569. doi:10.1162/ling_a_00166
  • V. Bianchi (1999). Consequences of Antisymmetry: Headed Relative Clauses. Mouton de Gruyter.
  • V. Bianchi (2002). Headed relatives in generative syntax. Glot International 6(7), 6(8): Part I, Part II
  • C. Donati & C. Cecchetto (2011). Relabeling Heads: A Unified Account for Relativization Structures. Linguistic Inquiry 42(4), 519–560.

The lexicon as JSON

This is the format read by eMG_run.py -l in the Python implementation. An ambiguous word becomes one entry per reading (a_1, a_2…). +X has no counterpart there and is written as a plain expectation; a modifier gets the label the script reserves for unselected items, RC if it raises its head and PP otherwise. You can also paste a lexicon in this format into the Lexicon box: it is converted when you press Derive.