This commit is contained in:
Nishi 2026-06-21 16:55:56 +09:00
commit 69776245a7
20 changed files with 59721 additions and 58907 deletions

View file

@ -67,5 +67,5 @@ library sj4common
library sj4core
library sj4rkcv
executable sj4mkdic
executable sj4mkdic sj4common.lib
executable sj4test "sj4common.lib sj4core.lib"

View file

@ -161,6 +161,6 @@ for y in sorted(grouped.keys()):
for freq, k, sj, freq in lst:
t2 = "\t" * (4 - (len(k) // 4))
freq = floor(freq / maxf * 0xffff)
freq = 0xffff - floor(freq / maxf * 0xffff)
fp.write(f"{y}{t}{k}{t2}{sj}:[C{freq}]:\n")
fp.close()