Documentation

Linglib.Data.PHOIBLE.Schema

PHOIBLE 2.0 #

PHOIBLE 2.0 is a database of 3,020 phoneme inventories, drawn from eight source databases, in which every phoneme is decomposed into distinctive features. Its table has a row for each phoneme of each inventory. An Inventory collects the rows of one inventory, and each of its Phonemes carries the phoneme's glyph, its FeatureMatrix and what the source records about it. The generated inventories are in Data/PHOIBLE/Inventories/, and Data/PHOIBLE/Chart.lean gives the feature matrix of each glyph.

Main definitions #

Implementation notes #

Where PHOIBLE has NA, a field is none. This means that the source does not record the value, not that it records an absence; Source says what each source records. A blank dialect, which the SAPHON source writes in place of NA, is none too.

A complex segment, such as a prenasalized stop or a diphthong, has a contour value such as +,- on a feature that changes within it. The feature matrix of such a segment takes the meet of the contour's values in the subsumption order, so it leaves that feature unspecified.

References #

The class of a segment, the SegmentClass column.

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

    The source database of an inventory, the Source column. The sources differ in what they record. The AA, PH and SPA sources list the allophones of every phoneme and the others of none, and all but RA, SAPHON and SPA say of every phoneme whether it is marginal. Tones appear only in inventories from AA, PH, RA and SPA.

    • spa : Source

      The Stanford Phonology Archive.

    • upsid : Source

      The UCLA Phonological Segment Inventory Database.

    • aa : Source

      Hartell's Alphabets des langues africaines, as digitized by Chanard.

    • ph : Source

      The inventories the PHOIBLE contributors took from grammars, articles and theses, with Christopher Green and Steven Moran's inventories of African and Southeast Asian languages.

    • ra : Source

      Ramaswami's survey of the phonetics of the languages of India.

    • saphon : Source

      The South American Phonological Inventory Database.

    • ea : Source

      The Database of Eurasian Phonological Inventories.

    • er : Source

      Erich Round's phonemic inventories of Australian languages.

    Instances For
      @[instance_reducible]
      Equations

      Each PHOIBLE feature is a column of the table. The feature system is loosely based on Hayes's and goes beyond it, with features for length, tone and stress among others.

      Instances For
        @[instance_reducible]
        Equations
        @[reducible, inline]

        A feature matrix gives some features the value + (true) or − (false) and leaves the others unspecified, as PHOIBLE's value 0, not applicable, does.

        Equations
        Instances For

          The feature matrix that gives each listed feature its value, the first where a feature is listed twice, and leaves the others unspecified.

          Equations
          Instances For

            A phoneme of an inventory is a glyph with its feature matrix and what the inventory's source records about it.

            • glyph : String

              The IPA glyph.

            • allophones : Option (List String)

              The allophones, among them the glyph itself, and none when the source lists none.

            • marginal : Option Bool

              Whether the phoneme is marginal in the inventory, none when the source does not say.

            • segmentClass : SegmentClass

              The class of the glyph.

            • features : FeatureMatrix

              The feature matrix of the glyph.

            Instances For

              An inventory is a list of phonemes with the language variety it describes and its source.

              • id : ℕ

                The PHOIBLE inventory identifier.

              • glottocode : Option String

                The Glottocode of the variety.

              • iso : String

                The ISO 639-3 code of the language.

              • languageName : String

                The name of the language.

              • specificDialect : Option String

                The dialect described, when the source names one.

              • source : Source

                The source database.

              • phonemes : List Phoneme

                The phonemes.

              Instances For

                The feature matrices of an inventory's phonemes.

                Equations
                Instances For
                  theorem Data.PHOIBLE.Inventory.subset_image_featureMatrices_iff {β : Type u_1} [DecidableEq β] {I : Inventory} {f : FeatureMatrix → β} {S : Finset β} :
                  S ⊆ Finset.image f I.featureMatrices ↔ ∀ x ∈ S, ∃ y ∈ I.phonemes, f y.features = x

                  A set lies in an image of the feature matrices when each of its elements is the image of a phoneme's matrix, a condition decide checks without deduplicating the inventory.