Documentation

Linglib.Theories.Syntax.WordGrammar.LexicalRules

Lexical Rules for Word Grammar @cite{hudson-2010} #

Lexical rules derive new lexical entries from existing ones, following Word Grammar and HPSG @cite{pollard-sag-1994}. The two rules formalised here are central to the @cite{hudson-2010} treatment of English auxiliaries (also discussed in @cite{gibson-2025}):

  1. Auxiliary Inversion: V+aux → V+aux,+inv (subject moves from left to right — Hudson treats this as a word-class subtype, not a movement rule; see WordGrammar.Network.englishAuxNet's inverted_auxiliary node).
  2. Passive: VN → V+passive (object promoted, subject demoted to by-phrase).

A third rule — Dative Alternation — is mentioned in the literature but not formalised here.

A lexical entry: word form + category + features + argument structure. Uses the shared Features bundle from Core/Basic.lean. The inv field is DG-specific (auxiliary inversion state).

Instances For
    def WordGrammar.instReprLexEntry.repr :
    LexEntryStd.Format
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Auxiliary verb (non-inverted): subject left, main verb right

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

        Auxiliary verb (inverted): subject right, main verb right

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

          A lexical rule transforms one lexical entry into another

          • name : String
          • applies : LexEntryBool

            Condition for the rule to apply

          • transform : LexEntryLexEntry

            Transform the entry

          Instances For

            Auxiliary Inversion Rule: V+aux,-inv → V+aux,+inv The subject moves from left to right position

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

              Passive Rule: VN → V+passive Object is removed (promoted to subject), by-phrase added as optional

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def WordGrammar.applyRule (rule : LexRule) (entry : LexEntry) :
                Option LexEntry

                Apply a lexical rule if it matches

                Equations
                Instances For
                  def WordGrammar.deriveEntries (rules : List LexRule) (entry : LexEntry) :

                  Apply all applicable rules to generate derived entries

                  Equations
                  Instances For