mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 17:31:41 +00:00
parent
2dc3d82a98
commit
76c504bdd2
@ -82,8 +82,7 @@ def read_dBpack(filename):
|
||||
[[], [], [], ['fish'], [], [], ['blue', 'red']]
|
||||
"""
|
||||
with gzip.open(filename, 'rb') as infile:
|
||||
got = msgpack.load(infile, encoding='utf-8')
|
||||
return got
|
||||
return msgpack.load(infile, encoding='utf-8')
|
||||
|
||||
|
||||
def available_languages(wordlist='combined'):
|
||||
|
Loading…
Reference in New Issue
Block a user