primeqa.ir.sparse.config.BM25Config#
- class primeqa.ir.sparse.config.BM25Config(index_location: str = None, overwrite: bool = False, collection: str = None, fieldnames: List[str] = None, additional_indexing_args: str = '--storePositions --storeDocvectors --storeRaw', threads: int = 1, queries: str = None, topK: int = 10, use_bm25: bool = True, k1: float = 0.8, b: float = 0.4, output_dir: str = None)#
Bases:
primeqa.ir.sparse.config.SearchArguments
,primeqa.ir.sparse.config.IndexingArguments
Methods
Attributes
additional_indexing_args
b
collection
fieldnames
index_location
k1
output_dir
overwrite
queries
threads
topK
use_bm25