Put CC-CEDICT surname definitions at the end of the list

This commit is contained in:
Marvin Elsen 2024-10-11 20:37:16 +02:00
parent f159d3f404
commit 9f60c4c9b2
Signed by: marvinelsen
GPG Key ID: 820672408CC318C2

View File

@ -70,7 +70,7 @@ fun main() {
) { it.format(TransliterationSystem.PINYIN_WITH_TONE_NUMBERS).lowercase() }}"
}.entries.forEach { entries ->
val entry = entries.value.first()
val definitions = entries.value.flatMap { it.definitions }
val definitions = entries.value.reversed().flatMap { it.definitions }
try {
insertStatement.setString(1, entry.traditional)