Documentation

Linglib.Theories.Syntax.DependencyGrammar.Coreference

Simple clause structure: a subgraph rooted at the main verb.

  • subject : Word
  • verb : Word
  • object : Option Word
  • semanticPl : Bool

    Whether the subject denotes a plurality. Defaults to matching syntactic number. Override for languages where syntactic and semantic number diverge (@cite{rakosi-2019}).

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

        Build a dependency tree from a simple clause.

        Indices: 0 = subject, 1 = verb (root), 2 = object (if present). Dependencies: subject ←nsubj— verb, object ←obj— verb.

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

          Same local domain: both subject and object are dependents of the same head (the verb), hence in the same dependency subgraph.

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

            Path length from subject to object: count edges through the shared head (subject → verb → object).

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def DepGrammar.Coreference.dCommands (tree : DepTree) (i j : ) :
              Bool

              D-command: word at index i d-commands word at index j in a dependency tree if both are dependents of the same head and i bears the subject relation (nsubj).

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

                Subject d-commands object: derived from the dependency tree. Both are dependents of the verb, and the subject bears nsubj.

                Equations
                Instances For

                  Object does not d-command subject: derived from the tree. The object bears obj, not nsubj, so d-command fails.

                  Equations
                  Instances For

                    Reflexive is licensed if d-commanded by an agreeing antecedent in the local domain.

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

                      Reciprocals must be d-commanded by a semantically plural antecedent. The plurality requirement is semantic, not morphosyntactic (@cite{rakosi-2019}).

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

                        A pronoun must not be d-commanded by a coreferent antecedent locally.

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

                          R-expression freedom in dependency grammar

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

                            Is a sentence grammatical for coreference under dependency binding?

                            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 pronoun coreference is blocked

                                Equations
                                Instances For

                                  Dependency grammar coreference configuration

                                  • strictLocality : Bool

                                    Whether to use strict path-length locality

                                  Instances For

                                    Compute coreference status using d-command (dependency paths)

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