diff --git a/scripts/make-pack.py b/scripts/make-pack.py index 49341c8..0b7dba7 100644 --- a/scripts/make-pack.py +++ b/scripts/make-pack.py @@ -56,7 +56,7 @@ firstConfidence = re.search(r'c":(.*?),', vlfContents).group(1) v["description"] = "Words with confidence lesser than " + firstConfidence - wordsCount += len(re.findall(r'"w"', vlfContents)) + wordsCount += len(re.findall(r'"c"', vlfContents)) pageIndex += 1 packInfo["total_words"] = wordsCount