Documentation

Linglib.Morphology.Paradigm.Basic

Paradigms: forms over ordered cells #

The morphologist's primary observable: a paradigm assigns a surface form to each of n linearly ordered cells. One type serves both research lines that consume it — realization-pattern typology (*ABA and contiguity, Morphology/Paradigm/Contiguity.lean) and paradigm-cell information theory (implicative structure and complexity, Morphology/Paradigm/Complexity.lean). [AM13a]'s inflection classes are paradigms with frequency weights (ParadigmSystem); [Bob12]-style realization patterns are paradigms over graded cells.

Main declarations #

@[reducible, inline]
abbrev Morphology.Paradigm (n : ) (F : Type u_1) :
Type u_1

A paradigm over n linearly ordered cells: the form occupying each cell. The single carrier for realization patterns ([Bob12]'s AAA/ABB/ABC shapes; see Morphology/Paradigm/Contiguity.lean) and for inflection-class rows ([AM13a]; a weighted system of paradigms is a ParadigmSystem).

Equations
Instances For
    structure Morphology.ParadigmSystem (numCells : ) (Form : Type u_1) :
    Type u_1

    A paradigm system: paradigms (inflection classes) paired with frequency weights.

    • entries : List (Paradigm numCells Form × )
    Instances For
      def Morphology.groupBySum {α : Type u_1} [DecidableEq α] (tagged : List (α × )) :
      List (α × )

      Group a tagged list by key, summing associated ℚ values.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def Morphology.ParadigmSystem.cellDistribution {n : } {Form : Type u_1} [DecidableEq Form] (ps : ParadigmSystem n Form) (c : Fin n) :
        List (Form × )

        Empirical distribution of forms at cell c: pairs each surface form with the total frequency of inflection classes realizing it at c.

        Equations
        Instances For
          def Morphology.ParadigmSystem.jointCellDistribution {n : } {Form : Type u_1} [DecidableEq Form] (ps : ParadigmSystem n Form) (ci cj : Fin n) :
          List ((Form × Form) × )

          Joint empirical distribution of forms at cell pair (ci, cj).

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Morphology.ParadigmSystem.eComplexity {n : } {Form : Type u_1} (ps : ParadigmSystem n Form) :

            E-complexity ([AM13a]): the number of inflection classes in the paradigm system.

            Equations
            Instances For