Documentation

Linglib.Discourse.Centering.Rule2

Centering Theory — Rule 2 (Transition Preference) #

[GJW95] [BFP87] [Str98] [PSDEH04] Two Rule 2 variants in this file: GJW 95 sequence ranking (CON-CON > RET-RET > SHIFT-SHIFT) via pairRank, and Strube 1998's cheap/expensive distinction via isCheap. The BFP 87 4-way variant lives in Studies/PoesioEtAl2004.lean.

Rule 2 (GJW 1995): sequences of transitions #

Rule 2 (GJW 95): sequence preference by sum-of-ranks.

Equations
Instances For

    Rule 2 (Strube 1998): cheap vs expensive #

    def Discourse.Centering.isCheap {E : Type u_1} {R : Type u_2} [DecidableEq E] [CfRankerOf E R] {U : Type u_3} [Realizes U E] (prev : Utterance E R) (cur : U) (prevCp : Option E) :

    A transition is cheap ([Str98]) if CB(U_n) = CP(U_{n-1}): the previous utterance's preferred center predicts the current CB.

    Equations
    Instances For
      @[implicit_reducible]
      instance Discourse.Centering.isCheap.decidable {E : Type u_1} {R : Type u_2} [DecidableEq E] [CfRankerOf E R] {U : Type u_3} [Realizes U E] (prev : Utterance E R) (cur : U) (prevCp : Option E) :
      Decidable (isCheap prev cur prevCp)
      Equations
      def Discourse.Centering.Rule2Strube1998Preferred {E : Type u_1} {R : Type u_2} [DecidableEq E] [CfRankerOf E R] {U : Type u_3} [Realizes U E] (prev : Utterance E R) (cur : U) (prevCp : Option E) :

      Strube 1998 Rule 2 preference: cheap > expensive.

      Equations
      Instances For