Documentation

Linglib.Theories.Pragmatics.Dialogue.KOS.Grammar

KOS–Grammar Integration #

@cite{ginzburg-2012} Ch. 5, @cite{ginzburg-sag-2000}

@cite{ginzburg-2012}'s central thesis: interaction is built into grammar. The Sign type has dgb-params and q-params — dialogue features living inside syntactic representations (Ch. 5, §5.2).

This module provides the integration point between HPSG signs and KOS dialogue gameboards. Neither HPSG/Core/Basic.lean nor KOS/Basic.lean knows about the other; this module imports both and defines:

  1. DialogueSign — an HPSG sign extended with DGB-params and Q-params
  2. Conversions to both HPSG.Synsem and KOS.LocProp
  3. Example entries for wh-words and proper names

Design #

This is opt-in integration: theories that don't need dialogue features continue to use plain HPSG signs. Theories that need the Ginzburg 2012 architecture import this module.

An HPSG sign extended with dialogue features.

@cite{ginzburg-2012} Ch. 5, §5.2: the sign type has three dialogue-relevant features:

  • dgbParams: contextual parameters that must be resolved for grounding
  • qParams: parameters contributed by interrogative elements (wh-words)
  • questDom: the question domain — what question the sign introduces

These correspond to DGB-PARAMS, Q-PARAMS, and QUEST-DOM in the book.

  • phon : String

    Phonological form

  • pos : UD.UPOS

    Part of speech (UD-based, matching HPSG.Synsem.cat)

  • Head features from HPSG

  • cont : String

    Semantic content

  • dgbParams : CParamSet

    DGB-PARAMS: contextual parameters requiring grounding. Non-empty for referential NPs ("Bo"), demonstratives, etc.

  • qParams : CParamSet

    Q-PARAMS: parameters contributed by interrogative elements. Non-empty for wh-words ("who", "what").

  • questDom : Option String

    QUEST-DOM: the question this sign introduces (if interrogative).

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Project a DialogueSign to its HPSG Synsem (dropping dialogue features).

      Equations
      Instances For

        Convert a DialogueSign to a LocProp for the KOS DGB. DGB-PARAMS become cparams; Q-PARAMS are not cparams (they are contributed, not requiring resolution).

        Equations
        Instances For

          "who" — a wh-word with Q-PARAMS. @cite{ginzburg-2012} Ch. 5: wh-words contribute Q-PARAMS that project to the QUEST-DOM of the clause.

          Equations
          Instances For

            "Jo" — a proper name with DGB-PARAMS. @cite{ginzburg-2012} Ch. 6: referential NPs introduce DGB-PARAMS that must be resolved (grounded) for the utterance to be integrated.

            Equations
            Instances For

              "left" — an intransitive verb (no dialogue params).

              Equations
              Instances For

                "who" has Q-PARAMS (it's interrogative).

                "who" doesn't need grounding (Q-PARAMS ≠ DGB-PARAMS).

                Structural analogy: discharging a SLASH gap and resolving a C-PARAM both reduce the count of outstanding dependencies.

                Both SLASH (filler-gap) and C-PARAMS (grounding) are sets of outstanding dependencies discharged by similar mechanisms. This theorem makes the isomorphism explicit.