LanguageData

For general access to the Wolfram Knowledgebase, use entities of type Language instead of LanguageData.

LanguageData[entity,property]

gives the value of the specified property for the language entity.

LanguageData[{entity1,entity2,},property]

gives a list of property values for the specified language entities.

LanguageData[entity,property,annotation]

gives the specified annotation associated with the given property.

Details

  • LanguageData[] gives a list of all language entities.
  • LanguageData["Properties"] gives a list of available properties.
  • The specified entity in LanguageData can be an Entity, EntityClass, entity canonical name, or list thereof.
  • The specified property can be an EntityProperty, EntityPropertyClass, property canonical name, or list of properties.
  • Properties that do not apply or are not known in a particular case are indicated by Missing[].
  • Properties include:
  • "BasicAlphabet"alphabet
    "BasicCommunicationWords"basic communication
    "Classification"classification
    "Codes"codes
    "ColorNames"colors
    "CountryLanguageFractions"language fraction by country
    "Dialects"dialects
    "KeyboardImage"keyboard
    "LargestCountry"place with most speakers
    "LetterFrequency"letter frequencies
    "Letters"characters
    "LexicalSimilarity"lexical similarity
    "MonthNames"months
    "Name"name
    "NativePopulation"number of native speakers
    "NonNativeTotalSpeakers"non-native total speakers
    "NumeralWords"numerals
    "OfficialSpeakingCountries"official speaking countries
    "PrimaryOrigin"original location
    "Pronouns"pronouns
    "RelativeCharacterCount"typical translation length
    "Speakers"native speakers
    "TotalSpeakers"total number of speakers
    "UnicodeBlock"Unicode blocks
    "WritingSystem"writing system
  • Some properties are available for LanguageData as a whole and can be given using the form LanguageData[property]. Such properties include:
  • "Entities"all available entities
    "EntityCount"total number of available entities
    "Classes"all available entity classes
    "EntityClassCount"total number of available entity classes
    "SampleEntities"list of sample entities
    "SampleEntityClasses"list of sample entity classes
    "EntityCanonicalNames"list of all entity canonical names
    "PropertyCanonicalNames"list of all property canonical names
    "EntityClassCanonicalNames"list of all entity class canonical names
    "RandomEntities"pseudorandom sample entities
    {"RandomEntities",n}n pseudorandom entities
    "RandomEntityClasses"pseudorandom sample entity classes
    {"RandomEntityClasses",n}n pseudorandom entity classes
  • The following annotations can be used in the third argument of LanguageData[entity,property,annotation]:
  • "Qualifiers"the list of possible qualifiers for the property
    "QualifierValues"the list of possible values that can be given to each qualifier
    "DefaultQualifierValues"the list of default values for the property's qualifiers
    "Description"a brief textual description of the property
    "Definition"a detailed textual definition of the property
    "Source"source information for the property
    "Date"the date associated with the entity-property value (if any)
    "PhysicalQuantity"the physical quantity associated with the entity-property value
    "Unit"the unit associated with the entity-property value
    "EntityAssociation"an association of entities and entity-property values
    "PropertyAssociation"an association of properties and entity-property values
  • If a function is provided as an annotation, it will be used to aggregate the result data. Typical aggregation functions include:
  • Minthe minimum value
    Maxthe maximum value
    Meanthe mean value
    Commonestthe most frequently occurring value
    Medianthe median value
    Totalreturns the total
    Lengththe number of elements

Examples

Basic Examples  (12)

Use for discovery:

Find the characters of a language:

Find the keyboard for a language:

Find lexically similar languages:

Get a list of sample entities for languages:

Get a list of sample classes (families) of languages:

Find languages in a given class:

Discover properties of languages:

Find the number of native speakers of a language:

Find where most speakers live:

Compare words for colors in different languages:

Generate a bar chart of all languages with more than 100 million speakers:

Map the number of native English speakers by country:

Wolfram Research (2014), LanguageData, Wolfram Language function, https://reference.wolfram.com/language/ref/LanguageData.html.

Text

Wolfram Research (2014), LanguageData, Wolfram Language function, https://reference.wolfram.com/language/ref/LanguageData.html.

CMS

Wolfram Language. 2014. "LanguageData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LanguageData.html.

APA

Wolfram Language. (2014). LanguageData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LanguageData.html

BibTeX

@misc{reference.wolfram_2023_languagedata, author="Wolfram Research", title="{LanguageData}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/LanguageData.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_languagedata, organization={Wolfram Research}, title={LanguageData}, year={2014}, url={https://reference.wolfram.com/language/ref/LanguageData.html}, note=[Accessed: 19-March-2024 ]}