Documentation

Linglib.Data.UD.DepRel

Universal Dependencies: dependency relations #

[dMMNZ21]

The universal dependency relations of UD v2 and the arcs of a dependency tree, the vocabulary of the dependency grammars and of the dependency-length data.

Official site: https://universaldependencies.org/

inductive UD.DepRel :

Universal dependency relations.

Organized by function following the UD documentation. These encode grammatical relations between a head and its dependent.

Reference: https://universaldependencies.org/u/dep/

Instances For
    @[instance_reducible]
    instance UD.instDecidableEqDepRel :
    DecidableEq DepRel
    Equations
    def UD.instReprDepRel.repr :
    DepRel → ℕ → Std.Format
    Equations
    Instances For
      @[instance_reducible]
      instance UD.instReprDepRel :
      Repr DepRel
      Equations
      @[instance_reducible]
      instance UD.instInhabitedDepRel :
      Inhabited DepRel
      Equations
      @[instance_reducible]
      instance UD.instToStringDepRel :
      ToString DepRel
      Equations

      Is this a valency-bearing dependency? Extends isCoreArg with .obl (oblique nominals), which valency frameworks (e.g. [OL23] on dependency-grammar valent typology) treat as a valency role even though UD classifies it as non-core.

      Equations
      Instances For

        Is this a subject relation?

        Equations
        Instances For

          Is this an object relation?

          Equations
          Instances For
            structure UD.DepArc :

            A single dependency arc in a UD tree

            • dependent : ℕ

              Index of the dependent word (1-indexed)

            • head : ℕ

              Index of the head word (0 = root)

            • deprel : DepRel

              The dependency relation

            Instances For
              def UD.instDecidableEqDepArc.decEq (x✝ x✝¹ : DepArc) :
              Decidable (x✝ = x✝¹)
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def UD.instReprDepArc.repr :
                DepArc → ℕ → Std.Format
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  @[instance_reducible]
                  instance UD.instReprDepArc :
                  Repr DepArc
                  Equations