Centering theory: transitions #
Grosz, Joshi, and Weinstein classify the move from one utterance to the next by whether the
backward-looking center is kept and, if so, whether it is the preferred center: continuation,
retaining, or shifting. Rule 2 orders the three, continuation first, and prefers sequences of
earlier transitions to sequences of later ones. This file classifies a pair of utterances from
its centers, scans a discourse for the centers and transitions of each utterance after the
first, and carries Rule 2's order as the LinearOrder on Transition.
Main declarations #
Discourse.Centering.Transition: the three transition types, linearly ordered by Rule 2.Transition.ofCenters: the transition determined by the prior center, the current center, and the current preferred center.Discourse.Centering.transition: the transition into an utterance from the previous one, given the prior center.Discourse.Centering.cbsandtransitions: the centers and transitions along a discourse.
Implementation notes #
The paper's definitions presuppose a prior backward-looking center. When there is none, as for the second utterance of a segment, the center counts as kept, so the utterance continues or retains according to whether its center is its preferred center: the proposal of Walker, Iida, and Cote that [PSDEH04] reports, on which the first utterance's center is underspecified until the second is processed. An utterance with no backward-looking center shifts, as the paper's shifting clause reads when the center is undefined.
Rule 2 prefers sequences of continuations to sequences of retentions and those to sequences of
shifts, and in particular prefers a pair of continuations to a pair of retentions. The order on
Transition is its content on single transitions; a study compares sequences by that order
pointwise.
References #
The transition into an utterance: its backward-looking center is kept and is its preferred center, kept but not preferred, or changed.
- continuation : Transition
- retaining : Transition
- shifting : Transition
Instances For
Equations
- Discourse.Centering.instDecidableEqTransition x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Rule 2's rank: continuation over retaining over shifting.
Equations
Instances For
Rule 2's order on single transitions, continuation the greatest.
Equations
- Discourse.Centering.Transition.instLinearOrder = LinearOrder.lift' Discourse.Centering.Transition.rank ⋯
The transition determined by the prior backward-looking center, the current one, and the current preferred center. The center is kept when it is defined and, if the prior center is defined, equal to it.
Equations
- One or more equations did not get rendered due to their size.
- Discourse.Centering.Transition.ofCenters x✝¹ none x✝ = Discourse.Centering.Transition.shifting
Instances For
A defined prior center gives the paper's three-way classification.
The transition into cur from prev, given the backward-looking center of prev.
Equations
- Discourse.Centering.transition prevCb prev cur = Discourse.Centering.Transition.ofCenters prevCb (Discourse.Centering.cb prev cur) cur.cp
Instances For
Scanning a discourse #
The backward-looking center of each utterance of d after the first.
Equations
- Discourse.Centering.cbs d = List.zipWith Discourse.Centering.cb d d.tail
Instances For
The transition into each utterance of d after the first, the first of them with no prior
center.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Each transition after the first threads the previous pair's center as its prior center.