Interesting challenge: sorting #Chinese words Example: 失眠 shī mián 师生 shī shēng ...
Language Tales @langtales@mastodon.social
Interesting challenge: sorting #Chinese words
Example:
失眠 shī mián
师生 shī shēng
失误 shī wù
Goal: sort alphabetically by pinyin but also keep same Chinese characters together
Sort keys that don’t work:
shī mián 失眠
shī shēng 师生
shī wù 失误
Solution—sort lexicographically:
shī 失 mián 眠
shī 失 wù 误
shī 师 shēng 生