Skip to content

Commit 5d27561

Browse files
committed
Change description of total_score
1 parent 3e70af2 commit 5d27561

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def score(self, word, doc):
157157
math.log(1 + self.documents[doc].nwords))
158158

159159
def total_score(self, words, doc):
160-
"Compute the sum of the scores of the queried words on this doc."
160+
"Compute the sum of the scores of these words on this doc."
161161
return sum(self.score(word, doc) for word in words)
162162

163163
def present(self, results):

0 commit comments

Comments
 (0)