Documentation

Linglib.Theories.Morphology.Core.ScaleFromParadigm

Scale Generation from Morphological Paradigms #

@cite{horn-1972} @cite{kennedy-2007}

Derives Horn scales automatically from adjective paradigms. Given a stem with comparative and superlative rules, we can construct the scale ⟨positive, comparative, superlative⟩ — ordered from weakest to strongest.

This connects morphological infrastructure (Core/Morphology/) to scalar-alternative infrastructure (Theories/Semantics/Alternatives/HornScale.lean), enabling automatic generation of the alternatives needed for scalar implicature computation.

Main definitions #

A morphologically-derived Horn scale, tracking the positive, comparative, and superlative forms.

  • positive : String

    The positive (base) form

  • comparative : String

    The comparative form

  • superlative : String

    The superlative form

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

        Convert a MorphScale to a HornScale String, ordered from weakest (positive) to strongest (superlative).

        Equations
        Instances For

          Extract a degree scale from a stem's paradigm.

          Looks for rules with category =.degree and value = "comp" / "super", and builds a 3-point scale [positive, comparative, superlative]. Returns none if either the comparative or superlative rule is missing.

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

            Given a stem and a form (positive, comparative, or superlative), return the paradigm-mates as scalar alternatives.

            Returns all scale members except the given form, preserving scale order (weakest to strongest).

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