Function to compute rank scores for documents in corpus and helper class BM25 used in calculations.

get_bm25_weights(mm, n_jobs = -1L)

# S3 method for mm_file
get_bm25_weights(mm, n_jobs = -1L)

# S3 method for mm
get_bm25_weights(mm, n_jobs = -1L)

# S3 method for list
get_bm25_weights(mm, n_jobs = -1L)

Arguments

mm

A corpus.

n_jobs

The number of processes to use for computing bm25.