language
This module provides a dictionary of around 150 world languages.
Import
Import the dictionary to your project via the require
tag:
require: language/languageEn.sc
module = sys.zb-common
After importing the file, the following becomes available:
- the
$Languages
named entity dictionary; - the
$Language
named entity for processing language names with patterns.
Value format
Field | Type | Description |
---|---|---|
name | String | Language name |
family | String or null | Language family |
group | String or null | Language group |
dead | Boolean | Is it a dead language |
Dictionary entry examples
17;Basque;{"name": "Basque", "family": null, "group": null, "dead": false}
107;Sami, Saami, Saame, Samic, Saamic, Lappish, Lappic, Lapp;{"name": "Sami", "family": "Uralic", "group": "Finno-Ugric", "dead": false}