From 7c12f2aca169951f4619deb168b00fe14ff06809 Mon Sep 17 00:00:00 2001 From: Rob Speer Date: Tue, 22 Sep 2015 17:19:00 -0400 Subject: [PATCH] Make the jieba_deps comment make sense --- wordfreq_builder/wordfreq_builder/ninja.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wordfreq_builder/wordfreq_builder/ninja.py b/wordfreq_builder/wordfreq_builder/ninja.py index 2c94f58..80437ff 100644 --- a/wordfreq_builder/wordfreq_builder/ninja.py +++ b/wordfreq_builder/wordfreq_builder/ninja.py @@ -215,7 +215,8 @@ def opensubtitles_deps(dirname_in, languages): def jieba_deps(dirname_in, languages): 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: return lines assert languages == ['zh']