Documentation

Linglib.Data.WALS.Languages

WALS Language Metadata #

Auto-generated from WALS v2020.4 CLDF data. Do not edit by hand — regenerate with python3 scripts/gen_wals.py.

2660 languages referenced across generated features.

WALS language metadata.

  • walsCode : String
  • name : String
  • iso : String
  • family : String
  • genus : String
Instances For
    def Data.WALS.instDecidableEqLanguage.decEq (x✝ x✝¹ : Language) :
    Decidable (x✝ = x✝¹)
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Data.WALS.instReprLanguage.repr :
      LanguageNatStd.Format
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        @[implicit_reducible]
        Equations
        def Data.WALS.findLanguage (code : String) :
        Option Language

        Look up a language by WALS code.

        Equations
        Instances For
          def Data.WALS.findByIso (iso : String) :
          Option Language

          Look up a language by ISO 639-3 code.

          Returns none for empty queries: WALS marks a handful of languages with an empty iso field, and a naive find? on "" would return one of those entries arbitrarily.

          Equations
          Instances For