Documentation

Linglib.Data.Examples.Judgment

Judgments #

This file defines Judgment, the mark a paper puts before an example, the CLDF 1.3 grammaticalityJudgement of [FCL+24]: unmarked, ?, ??, # or *.

Main definitions #

Implementation notes #

References #

inductive Judgment :

The mark a paper puts before an example.

  • acceptable : Judgment

    The paper accepts the example and leaves it unmarked.

  • marginal : Judgment

    The mark ? calls the example marginal.

  • questionable : Judgment

    The mark ?? calls the example questionable.

  • unacceptable : Judgment

    The mark # calls the example well formed but infelicitous or semantically anomalous.

  • ungrammatical : Judgment

    The mark * calls the example ungrammatical.

Instances For
    @[instance_reducible]
    instance instDecidableEqJudgment :
    DecidableEq Judgment
    Equations
    @[instance_reducible]
    instance instReprJudgment :
    Equations
    def instReprJudgment.repr :
    Judgment → ℕ → Std.Format
    Equations
    Instances For
      @[instance_reducible]
      instance instInhabitedJudgment :
      Inhabited Judgment
      Equations
      @[instance_reducible]
      instance instFintypeJudgment :
      Fintype Judgment
      Equations
      def Judgment.rank :
      Judgment → Fin 5

      The position of a mark on the scale, ungrammatical lowest.

      Equations
      Instances For
        @[instance_reducible]
        instance instLinearOrderJudgment :
        LinearOrder Judgment
        Equations
        def Judgment.ofName? :
        String → Option Judgment

        Judgment.ofName? s is the judgment the data files write as s.

        Equations
        Instances For