mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 17:31:41 +00:00
removed uncessary if statement
This commit is contained in:
parent
d988b1b42e
commit
620becb7e8
@ -66,7 +66,6 @@ def freqs_to_cBpack(in_filename, out_filename, cutoff=-600):
|
||||
cBpack = []
|
||||
for token, freq in freqs.items():
|
||||
cB = round(math.log10(freq) * 100)
|
||||
if cB >= cutoff:
|
||||
neg_cB = -cB
|
||||
while neg_cB >= len(cBpack):
|
||||
cBpack.append([])
|
||||
|
Loading…
Reference in New Issue
Block a user