Мазмунга өтүү

Модуль:scripts/recognition data/doc

Wiktionary дан

This is the documentation page for Модуль:scripts/recognition data

This module relates Unicode characters (code points) to Wiktionary script codes. It is used by the lua function in Module:scripts.

It was generated by a series of functions in Module:User:Erutuon/script recognition from the script patterns in Module:scripts/data. It must be regenerated whenever script patterns are added or modified. The lua and lua functions in Module:debug were used to print the output from Module:User:Erutuon/script recognition.

To explain the format, the first keys are the groups of 4096 codepoints (lua in hexadecimal base). Key lua is for the first group of 4096 codepoints, from U+000 to U+FFF. Within the tables for each block of codepoints, the syntax lua indicates that all the characters from codepoint lua (U+0041 or the character A) to codepoint lua (U+005A or the character Z) belong to the Latin script. The table lua contains all the individual codepoints that are defined as belonging to a script, but are not found inside a range.

Conflicts between character sets of different scripts

[түзөтүү]

This module includes fewer scripts than Module:scripts/data, because some scripts do not have characters at all, and some scripts' character sets are in conflict with each other. Here are the ways conflicts have been resolved.

Scripts are omitted if they have the same characters as another more basic script, or they consist of two or more other scripts. For example, fa-Arab is omitted because it contains the same characters as Arab, and Jpan is omitted because it consists of Hani, Hira and Kana.

If a script consists of the characters of another script, plus some unique characters, only the unique characters are counted as belonging to the script. For instance, Polyt consists of the characters of Grek, which are used in the monotonic orthography of Modern Greek, plus characters used for Ancient Greek; only the Ancient Greek characters are counted as Polyt in this module. It is the same with Cyrs and Cyrl.