View source: R/summarization.R
Function to compute rank scores for documents in corpus and helper class BM25 used in calculations.
1 2 3 4 5 6 7 8 9 10 | get_bm25_weights(mm, n_jobs = -1L)
## S3 method for class 'mm_file'
get_bm25_weights(mm, n_jobs = -1L)
## S3 method for class 'mm'
get_bm25_weights(mm, n_jobs = -1L)
## S3 method for class 'list'
get_bm25_weights(mm, n_jobs = -1L)
|
mm |
A corpus. |
n_jobs |
The number of processes to use for computing bm25. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.