মডিউল:scripts/data/combiningClasses
অবয়ব
< মডিউল:scripts | data
এই মডিউলের জন্য মডিউল:scripts/data/combiningClasses/নথি-এ নথিপত্র তৈরি করা হয়ে থাকতে পারে
-- This cannot be loaded directly with mw.loadData, as its parent table has a metatable. However, using mw.loadData on this module will work instead. It is separated out of the main data module to ensure that it is only loaded when needed, as it uses ~2MB of the 100MB memory allocation.
-- Note that the table is modified so that the key is the character, rather than its codepoint.
local u = require("Module:string utilities").char
local combclass = require("ustring/normalization-data").combclass
local data = {}
for cp, class in next, combclass do
data[u(cp)] = class
end
return data