Documentation

Linglib.Core.Interfaces.CoreferenceTheory

Coreference Theory #

Abstract interface for coreference predictions.

The possible coreference relationships between two positions.

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

      A theory that makes predictions about coreference patterns.

      • Structure : Type

        The theory's internal representation of a sentence/structure

      • parse : List WordOption (Structure T)

        Parse a list of words into the theory's representation. Returns none if the theory can't parse this input.

      • coreferenceStatus : Structure TNatNatCoreferenceStatus

        Predict the coreference status between positions i and j.

        Positions are indexed from the word list:

        • "John sees himself" → position 0 = John, position 2 = himself

        Returns the theory's prediction about whether these positions can/must/cannot corefer.

      • grammaticalForCoreference : Structure TBool

        Does the theory predict this sentence is grammatical for coreference?

        A sentence is "grammatical for coreference" if:

        • All obligatory coreferences have valid antecedents
        • No blocked coreferences are forced

        This is the primary prediction we test against empirical data.

      Instances

        Check if coreference is possible at positions i, j

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

          Check if coreference is obligatory at positions i, j

          Equations
          Instances For

            Check if coreference is blocked at positions i, j

            Equations
            Instances For

              Does the theory correctly predict a minimal pair?

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

                Does the theory capture all pairs in a phenomenon dataset?

                Equations
                Instances For

                  Two theories agree on a sentence if they make the same grammaticality prediction

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

                    Two theories agree on all sentences in a list

                    Equations
                    Instances For

                      Two theories are extensionally equivalent on a class of sentences.

                      Equations
                      Instances For