diff --git a/src/main/kotlin/ranking/bm25/Bm25Plus.kt b/src/main/kotlin/ranking/bm25/Bm25Plus.kt index e422e61..20118e3 100644 --- a/src/main/kotlin/ranking/bm25/Bm25Plus.kt +++ b/src/main/kotlin/ranking/bm25/Bm25Plus.kt @@ -154,7 +154,7 @@ class Bm25Plus { /** * Computes the inverse document frequency for a given term. * - * THe IDF is defined as the total number of documents (N) divided by the documents that contain the term (dft). + * The IDF is defined as the total number of documents (N) divided by the documents that contain the term (dft). * In the BM25+ version the IDF is the (N+1)/(dft) */ private fun computeInverseDocumentFrequency(term: String): Double { @@ -184,4 +184,4 @@ class Bm25Plus { ) return score } -} \ No newline at end of file +}