Bug585代码更新,解决若干测试

pull/197/head
王希涛 2025-05-29 14:25:09 +08:00
parent 6462ef87cc
commit 98e590dc20
1 changed files with 1 additions and 1 deletions

View File

@ -58,4 +58,4 @@ class ArticleVocabularyLevel(VocabularyLevelEstimator):
def level(self):
if not self.top_levels:
return 0
return sum(self.top_levels) / len(self.top_levels)
return sum(self.top_levels) / len(self.top_levels)