Description Usage Arguments Examples
Okapi BM25 (BM stands for Best Matching) is a ranking function used by search engines to estimate the relevance of documents to a given search query.
1 2 3 4 5 6 7 |
text |
A document-term martrix or a |
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
init_textanalysis()
# create corpus
doc <- string_document("A simple document.")
doc2 <- string_document("Another simple document.")
crps <- corpus(doc, doc2)
# matrix & plot
bm_25(crps)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.