Documentation

Linglib.Syntax.ConstructionGrammar.Basic

Constructions #

A construction is a learned pairing of a form and a meaning, for Goldberg the basic unit of grammatical knowledge. The form side is a TypedForm, a sequence of Slots, each fixing a lexeme, opening a category, or admitting any phrase, and a construction's Specificity is derived from its slot structure rather than stipulated.

Main definitions #

References #

The specificity of a construction is how fully its form side is specified, along [Gol03]'s degree-of-abstraction continuum as [GS25]'s Table 8 discretizes it.

  • lexicallySpecified : Specificity

    Every slot is lexically filled, as in veggie-wrap and must-read.

  • partiallyOpen : Specificity

    Fixed and open slots are mixed, as in N-wrap and a simple ⟨PAL⟩.

  • fullyAbstract : Specificity

    Every slot is open, as in [N⁰ N⁰ N⁰] and [N′ PAL⁰ N].

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

      Typed slots #

      Slot content follows [Dun25]'s three representation levels, a fixed lexeme (LEX), a word of a category (SYN) and a semantic constraint (SEM), with the categories the parts of speech of Universal Dependencies where Dunn's are learned, plus [KF99]'s headed phrases, grammatical functions, coreference indices and slot constraints.

      inductive ConstructionGrammar.SlotFiller (Lex : Type u_1) :
      Type u_1

      A slot's filler gives the slot's content at one of the representation levels. It is parameterized over the lexeme type Lex, so the same representation works for strings, morphemes, or phonological forms.

      • fixed {Lex : Type u_1} : Lex → SlotFiller Lex

        fixed w is the word form w itself, at the LEX level, as fixed "must".

      • open_ {Lex : Type u_1} : UD.UPOS → SlotFiller Lex

        open_ pos is any word of part of speech pos, as open_ .VERB.

      • headed {Lex : Type u_1} : Lex → UD.UPOS → SlotFiller Lex

        headed w pos is a phrase of part of speech pos headed by the lexeme w ([KF99]), so headed "doing" .VERB is a VP headed by doing. It is at the LEX level, since the head lexeme is fixed even though the phrase is open.

      • semantic {Lex : Type u_1} : String → SlotFiller Lex

        semantic c is any expression meeting the semantic constraint c, at the SEM level ([Dun25]), so semantic "animate" is any expression denoting an animate.

      • phrasal {Lex : Type u_1} : SlotFiller Lex

        phrasal is any phrase, with no fixed head and no category restriction on its internal structure, the filler of a phrasal-compound or PAL slot (the ⟨phrase⟩ node of [GS25]'s Figure 5).

      Instances For
        def ConstructionGrammar.instDecidableEqSlotFiller.decEq {Lex✝ : Type u_1} [DecidableEq Lex✝] (x✝ x✝¹ : SlotFiller Lex✝) :
        Decidable (x✝ = x✝¹)
        Equations
        Instances For
          def ConstructionGrammar.instReprSlotFiller.repr {Lex✝ : Type u_1} [Repr Lex✝] :
          SlotFiller Lex✝ → ℕ → Std.Format
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            @[instance_reducible]
            instance ConstructionGrammar.instReprSlotFiller {Lex✝ : Type u_1} [Repr Lex✝] :
            Repr (SlotFiller Lex✝)
            Equations

            A filler is open when no lexeme anchors it. The open_, semantic and phrasal fillers are open, while fixed and headed are not, the latter fixing its head lexeme even though the phrase is open.

            Equations
            Instances For

              A representation level is one of [Dun25]'s three ontologies of slot-constraints.

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

                  A filler is open exactly when it is not lexical.

                  The grammatical function of a valence member ([KF99], Figure 12) is distinct from its semantic role, since a subject can be an agent, a theme, or an experiencer.

                  Instances For
                    @[instance_reducible]
                    Equations
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      @[reducible, inline]

                      A reference index marks unification across slots, [KF99]'s #1 and #2; values bearing one index are unified.

                      Equations
                      Instances For

                        A slot constraint is a syntactic constraint on a slot ([KF99], Figure 12).

                        • locMinus : SlotConstraint

                          [loc -] requires the slot to occur left-isolated, not VP-internal.

                        • negMinus : SlotConstraint

                          [neg -] forbids negating the slot.

                        • refEmpty : SlotConstraint

                          [ref ∅] marks the slot as no operator, "in the sense of binding the reference of something else".

                        Instances For
                          @[instance_reducible]
                          Equations
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            structure ConstructionGrammar.Slot (Lex : Type u_1) :
                            Type u_1

                            A slot in a construction's form has a filler, a headedness flag, and Kay and Fillmore's lexicality of the position, where lex := none leaves it unspecified; their maximality is not stored, since a head is nonmaximal and every other daughter maximal. A slot's semantics bears its refIdx, and a predicate phrase that does not realize its own subject bears the index of that subject requirement as its subjIdx. Coinstantiation, which covers raising and control, unifies a predicator's subject with the subject requirement of its complement ([KF99], Figure 13).

                            • filler : SlotFiller Lex

                              filler is what fills the slot.

                            • isHead : Bool

                              isHead records whether the slot is the head of the construction.

                            • lex : Option Bool

                              lex says whether the position is a word, some true for a word-level slot.

                            • gf is the slot's grammatical function ([KF99]).

                            • refIdx : Option RefIndex

                              refIdx is the index of the slot's semantics.

                            • subjIdx : Option RefIndex

                              subjIdx is the index of the slot's unrealized subject requirement.

                            • constraints : List SlotConstraint

                              constraints lists the slot's syntactic constraints.

                            Instances For
                              @[instance_reducible]
                              instance ConstructionGrammar.instDecidableEqSlot {Lex✝ : Type u_1} [DecidableEq Lex✝] :
                              DecidableEq (Slot Lex✝)
                              Equations
                              def ConstructionGrammar.instDecidableEqSlot.decEq {Lex✝ : Type u_1} [DecidableEq Lex✝] (x✝ x✝¹ : Slot Lex✝) :
                              Decidable (x✝ = x✝¹)
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                def ConstructionGrammar.instReprSlot.repr {Lex✝ : Type u_1} [Repr Lex✝] :
                                Slot Lex✝ → ℕ → Std.Format
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  @[instance_reducible]
                                  instance ConstructionGrammar.instReprSlot {Lex✝ : Type u_1} [Repr Lex✝] :
                                  Repr (Slot Lex✝)
                                  Equations
                                  @[reducible, inline]
                                  abbrev ConstructionGrammar.TypedForm (Lex : Type u_1) :
                                  Type u_1

                                  A typed form is the form side of a construction, a sequence of slots.

                                  Equations
                                  Instances For

                                    A slot holds a phrase in a word-level position when its filler is phrasal and its position a word, the defining configuration of phrasal compounds and the PAL construction ([GS25]) and the cell that lexical-integrity hypotheses rule out.

                                    Equations
                                    Instances For
                                      @[instance_reducible]
                                      instance ConstructionGrammar.instDecidableIsPhraseInWordSlotOfDecidableEq {Lex : Type u_1} [DecidableEq Lex] (s : Slot Lex) :
                                      Decidable s.IsPhraseInWordSlot
                                      Equations

                                      Derived specificity #

                                      The derived specificity of a form is fullyAbstract when every slot is open (vacuously so for the empty form), lexicallySpecified when none is, and partiallyOpen otherwise.

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

                                        Some slot in the form bears the constraint c.

                                        Equations
                                        Instances For
                                          def ConstructionGrammar.refGroupCount {Lex : Type u_1} (form : TypedForm Lex) :
                                          ℕ

                                          The number of distinct unification indices in a form, on slots and on their subject requirements.

                                          Equations
                                          Instances For

                                            Characterization lemmas #

                                            A form is fully abstract exactly when every slot is open (vacuously so for the empty form).

                                            A form is lexically specified exactly when it is nonempty and no slot is open.

                                            Constructions and the network #

                                            structure ConstructionGrammar.Construction (Sem : Type u_1) :
                                            Type u_1

                                            A construction is a learned pairing of form and meaning. The meaning pole is typed by the domain that owns the construction, such as a composition rule or a presupposition, with Unit for a purely formal record or a defective, form-only construction.

                                            • form : TypedForm String

                                              form is the form pole.

                                            • meaning : Sem

                                              meaning is the meaning pole.

                                            • pragmaticPoint : Bool

                                              pragmaticPoint records whether the construction carries a conventional pragmatic point ([FKOC88] §1.1.4).

                                            Instances For
                                              def ConstructionGrammar.instDecidableEqConstruction.decEq {Sem✝ : Type u_1} [DecidableEq Sem✝] (x✝ x✝¹ : Construction Sem✝) :
                                              Decidable (x✝ = x✝¹)
                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For
                                                @[instance_reducible]
                                                instance ConstructionGrammar.instReprConstruction {Sem✝ : Type u_1} [Repr Sem✝] :
                                                Repr (Construction Sem✝)
                                                Equations
                                                def ConstructionGrammar.instReprConstruction.repr {Sem✝ : Type u_1} [Repr Sem✝] :
                                                Construction Sem✝ → ℕ → Std.Format
                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                Instances For

                                                  A construction's specificity is derived from its slot structure.

                                                  Equations
                                                  Instances For
                                                    def ConstructionGrammar.Construction.map {Sem : Type u_1} {Sem' : Type u_2} (f : Sem → Sem') (c : Construction Sem) :

                                                    c.map f reinterprets the meaning pole of c along f, keeping the form.

                                                    Equations
                                                    Instances For

                                                      A construction is fully compositional when the universal combination schemata alone analyze it, when its form is fully abstract and it carries no pragmatic point. This is a proxy for [Mul13]'s structural criterion, approximating what [KM19] survey as a continuum.

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

                                                        A construction is a formal idiom in the sense of [FKOC88] §1.1.3, a lexically open idiom, when it is a syntactic pattern rather than a lexically filled expression. The distinction is a cline (fn. 3), which Specificity discretizes.

                                                        Equations
                                                        Instances For
                                                          @[instance_reducible]
                                                          Equations