Hello Ambassadors - This technical question may be relevant to multiple
(particularly CJK) language communities so I'm asking it here.
What is the advice for writing a Lua script that needs to look up data from
a big table (~10k rows at first deployment, potentially increasing in the
future)? Does one hard-code the data into a Lua script, or is there a
recommended data structure for storing those?
The design problem at hand is that the Cantonese Wikipedia wants to re-sort
articles by Jyutping rather than Unicode. This will probably involve
automating the generation of Jyutping phonetic guides by looking up the
Jyutping transcription of common Chinese characters using a Lua module.
Where do we store the data?
If another wiki has done similar things, we'd be interested in sharing the
On behalf of the Cantonese Wikipedia community