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