mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 17:31:41 +00:00
Make the jieba_deps comment make sense
This commit is contained in:
parent
48734d1a60
commit
7c12f2aca1
@ -215,7 +215,8 @@ def opensubtitles_deps(dirname_in, languages):
|
|||||||
|
|
||||||
def jieba_deps(dirname_in, languages):
|
def jieba_deps(dirname_in, languages):
|
||||||
lines = []
|
lines = []
|
||||||
# Either subtlex_zh is turned off, or it's just in Chinese
|
# Because there's Chinese-specific handling here, the valid options for
|
||||||
|
# 'languages' are [] and ['zh']. Make sure it's one of those.
|
||||||
if not languages:
|
if not languages:
|
||||||
return lines
|
return lines
|
||||||
assert languages == ['zh']
|
assert languages == ['zh']
|
||||||
|
Loading…
Reference in New Issue
Block a user