i3thuan5 / SuiSiann-KauTui

台灣媠聲標記網站
12 stars 3 forks source link

揣無斷做2句ê文章 #328

Closed sih4sing5hong5 closed 3 years ago

sih4sing5hong5 commented 3 years ago
from SuiSiannAdminApp.models import 句表

ku=句表.objects.filter(羅馬字='lomaji')
bun=set()
tng=set()

for mih in ku:
    if len(mih.kaldi切音時間) > 1:
        tng.add(mih.來源)
    bun.add(mih.來源)

print(sorted(bun - tng, key=lambda b:b.id))
sih4sing5hong5 commented 3 years ago

用過--ah,記tī tsia