mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-25 10:15:23 +00:00
fix version in config.py
This commit is contained in:
parent
ffd352f148
commit
3d5b3d47e8
@ -1,7 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
CONFIG = {
|
CONFIG = {
|
||||||
'version': '0.9.0',
|
'version': '1.0b',
|
||||||
# data_dir is a relative or absolute path to where the wordlist data
|
# data_dir is a relative or absolute path to where the wordlist data
|
||||||
# is stored
|
# is stored
|
||||||
'data_dir': 'data',
|
'data_dir': 'data',
|
||||||
@ -71,6 +71,4 @@ def all_languages():
|
|||||||
for langlist in CONFIG['sources'].values():
|
for langlist in CONFIG['sources'].values():
|
||||||
languages |= set(langlist)
|
languages |= set(langlist)
|
||||||
return [lang for lang in sorted(languages)
|
return [lang for lang in sorted(languages)
|
||||||
if len(source_names(lang))
|
if len(source_names(lang)) >= CONFIG['min_sources']]
|
||||||
>= CONFIG['min_sources']]
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user