Documentation

Linglib.Theories.Syntax.HPSG.Coreference

Derive MODE feature from a word.

Per @cite{sag-wasow-bender-2003} Ch. 7:

  • Reflexives and reciprocals → [MODE ana]
  • Personal pronouns and R-expressions → [MODE ref]
Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Is this word an anaphor ([MODE ana])?

    Equations
    Instances For

      Is this word a reflexive specifically?

      Equations
      Instances For

        Is this word a reciprocal?

        Equations
        Instances For

          Types of nominal expressions for coreference.

          Implementation convenience for dispatching agreement checks. Both pronoun and rExpression map to [MODE ref] in SWB2003.

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

              Classify a word as a nominal type.

              This maps to MODE as follows:

              • reflexive, reciprocal → [MODE ana]
              • pronoun, rExpression → [MODE ref]

              The pronoun/rExpression distinction is useful for implementation (e.g., agreement checks) but both are [MODE ref] in SWB2003.

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

                Simple clause structure with ARG-ST for binding.

                ARG-ST is implicitly [subject, object] — subject at position 0 outranks object at position 1.

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

                    Parse a simple transitive sentence into a clause.

                    Equations
                    Instances For

                      Does the subject outrank the object on ARG-ST?

                      In a simple clause, ARG-ST = [subject, object], so the subject at position 0 always outranks the object at position 1.

                      Equations
                      Instances For

                        In a simple clause, subject and object are on the same ARG-ST list.

                        Equations
                        Instances For

                          Anaphoric Agreement Principle (AAP): coindexed elements must agree.

                          Per @cite{sag-wasow-bender-2003} Ch. 7: "Coindexed NPs agree."

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

                            Principle A (SWB2003): An anaphor ([MODE ana]) must be outranked by a coindexed element on the same ARG-ST list.

                            For reflexives, the coindexed antecedent must also satisfy the AAP.

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

                              Principle A for reciprocals: a reciprocal ([MODE ana]) must be outranked by a plural coindexed element.

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

                                Principle B (SWB2003): A [MODE ref] element must NOT be outranked by a coindexed element on the same ARG-ST list.

                                This applies to both pronouns and R-expressions (both are [MODE ref]). In a simple clause, the subject outranks the object, so any [MODE ref] object that is coindexed with the subject violates Principle B.

                                Note: grammaticalForCoreference only tests this for pronouns, since R-expression objects are typically not coindexed with the subject. computeCoreferenceStatus applies Principle B to all [MODE ref] elements for explicit coindexation queries.

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

                                  Is a sentence free of binding violations under HPSG binding theory?

                                  Checks Principle A (anaphors must be outranked) and Principle B (pronouns must not be locally bound).

                                  For R-expression objects, no binding violation arises because coindexation with the subject is not assumed. Use computeCoreferenceStatus for explicit coindexation queries.

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

                                    Check if reflexive is licensed in a sentence

                                    Equations
                                    Instances For

                                      Check if local coreference is blocked by Principle B ([MODE ref]).

                                      Applies to both pronouns and R-expressions.

                                      Equations
                                      Instances For

                                        Check if HPSG correctly predicts a minimal pair for coreference

                                        Grammatical sentence should pass, ungrammatical should fail.

                                        Equations
                                        Instances For

                                          Compute coreference status for positions i and j using ARG-ST outranking.

                                          Position 0 = subject, position 2 = object.

                                          Applies both binding principles uniformly:

                                          • Principle A: [MODE ana] at j outranked by coindexed i → obligatory
                                          • Principle B: [MODE ref] at j outranked by coindexed i → blocked
                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For