Skip to content

Commit 29dfb47

Browse files
pazzo83storopoli
andauthored
Update README.md - spacing
Co-authored-by: Jose Storopoli <[email protected]>
1 parent bd4bc0b commit 29dfb47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ tfidf_mat = transform(mach, ngram_docs)
5555
```
5656

5757
## BM25 Transformer
58-
BM25 is an approach similar to that of TF-IDF in terms of representing documents in a vector space. The BM25 scoring function uses both term frequency (TF) and inverse document frequency (IDF) so that, for each term in a document, its relative concentration in the document is scored (like TF-IDF). However, BM25 improves upon TF-IDF by incorporating probability - particularly, the probability that a user will consider a search result relevant based on the terms in the search query and those in each document.
58+
BM25 is an approach similar to that of TF-IDF in terms of representing documents in a vector space. The BM25 scoring function uses both term frequency (TF) and inverse document frequency (IDF) so that, for each term in a document, its relative concentration in the document is scored (like TF-IDF). However, BM25 improves upon TF-IDF by incorporating probability - particularly, the probability that a user will consider a search result relevant based on the terms in the search query and those in each document.
5959

6060
### Usage
6161
This transformer is used in much the same way as the `TfidfTransformer`.

0 commit comments

Comments
 (0)