Fix bugs
This commit is contained in:
parent
a6a7858eaf
commit
69776245a7
20 changed files with 59721 additions and 58907 deletions
|
|
@ -67,5 +67,5 @@ library sj4common
|
|||
library sj4core
|
||||
library sj4rkcv
|
||||
|
||||
executable sj4mkdic
|
||||
executable sj4mkdic sj4common.lib
|
||||
executable sj4test "sj4common.lib sj4core.lib"
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue