Documentation

Linglib.Features.CoreferenceStatus

Features.CoreferenceStatus #

Cross-framework coreference verdict enum. Syntactic frameworks (HPSG, Dependency Grammar, Minimalism) each provide a computeCoreferenceStatus : ... → CoreferenceStatus function — the shared return type is what makes their predictions comparable rather than each framework's verdict living in a private namespace.

The possible coreference relationships between two positions.

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

      The binding-theoretic class of a nominal expression, shared across the syntactic frameworks (HPSG, Dependency Grammar, Minimalism) so their binding-class sources return the same type. The canonical source reads the class off a word's own UD morphology (Binding.bindingClassOf).

      The binding-distribution axis (anaphor/pronominal/r-expression, with the anaphor class split into reflexive/reciprocal) — orthogonal to a nominal's Semantics.Definiteness.Description (definiteness/reference flavor) and to a pronoun's lexical kind.

      • reflexive : BindingClass

        Reflexive anaphor (himself, herself, themselves).

      • reciprocal : BindingClass

        Reciprocal anaphor (each other, one another).

      • pronoun : BindingClass

        Personal/other pronoun (he, she, they, …).

      • rExpression : BindingClass

        Referring expression (proper name, full NP).

      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[implicit_reducible]
          Equations
          @[reducible, inline]
          abbrev Features.BindingSource (α : Type u_1) :
          Type u_1

          A binding-class source: where an expression's BindingClass comes from. Theories source it differently — a word's own UD morphology (Binding.bindingClassOf, the canonical language-neutral source), a lexical declaration (Pronoun.bindingClass), a structural sort (HPSG), or the syntactic context (minimal-pronoun / DM). The framework-neutral binding engine is polymorphic over the source: it takes a BindingSource and stays agnostic to where the class came from.

          Equations
          Instances For

            The Bound capability: total binding class on a carrier #

            The typeclass face of the binding-class axis, beside its partial companion Features.BindingSource. The class is theory-neutral and lives here; each carrier's instance lives with the carrier (Pronoun in Syntax/Pronoun/Capabilities.lean, Italian clitics and Turkish anaphors in their Fragments).

            class Bound (α : Type u_1) :
            Type u_1

            A carrier whose every element carries a (total) Features.BindingClass — its Principle A/B/C role. The typed companion to Features.BindingSource (α → Option BindingClass, the partial source the framework-neutral binding engine consumes): Bound is the case where the kind fixes the class for the whole carrier.

            • bindingClass : αFeatures.BindingClass

              The Principle A anaphor / B pronominal / C R-expression class.

            Instances

              A [Bound α] carrier's Features.BindingSource — the canonical mixin → source bridge: every element classifies, so the source is total (some everywhere).

              Equations
              Instances For
                class Anaphoric (α : Type u_1) [Bound α] :

                Principle-A carrier: every element is an anaphor (reflexive or reciprocal).

                Instances
                  class Pronominal (α : Type u_1) [Bound α] :

                  Principle-B carrier: every element is a pronominal.

                  Instances
                    class Referring (α : Type u_1) [Bound α] :

                    Principle-C carrier: every element is a referring expression (an R-expression — proper name, full NP). Named for the adjectival parallel with Anaphoric/Pronominal.

                    Instances
                      def Bound.IsAnaphor {α : Type u_1} [Bound α] (a : α) :

                      a is a Principle-A anaphor (reflexive or reciprocal) — the A/B/C partition as an element predicate over any [Bound α] carrier (a Pronoun, an Italian clitic, a Turkish anaphor, …). The element-level companion to the carrier-level Anaphoric type-marker.

                      Equations
                      Instances For
                        def Bound.IsPronominal {α : Type u_1} [Bound α] (a : α) :

                        a is a Principle-B pronominal.

                        Equations
                        Instances For
                          def Bound.IsRExpression {α : Type u_1} [Bound α] (a : α) :

                          a is a Principle-C R-expression.

                          Equations
                          Instances For
                            @[implicit_reducible]
                            instance instDecidableIsAnaphor {α : Type u_1} [Bound α] (a : α) :
                            Decidable (Bound.IsAnaphor a)
                            Equations
                            @[implicit_reducible]
                            instance instDecidableIsPronominal {α : Type u_1} [Bound α] (a : α) :
                            Decidable (Bound.IsPronominal a)
                            Equations
                            @[implicit_reducible]
                            instance instDecidableIsRExpression {α : Type u_1} [Bound α] (a : α) :
                            Decidable (Bound.IsRExpression a)
                            Equations