Learn R Programming

textpress (version 1.1.0)

nlp_index_tokens: Create a BM25 Search Index

Description

Create a BM25 Search Index

Usage

nlp_index_tokens(tokens, k1 = 1.2, b = 0.75, stem = FALSE)

Arguments

tokens

A named list of character vectors.

k1

BM25 saturation parameter.

b

BM25 length normalization.

stem

Logical; if TRUE, stems tokens.