Skip to content

Methods · Text & NLP · Information retrieval

BM25 Document Ranking

BM25 document ranking scores each document for a query by summing, over query terms, an idf weight times a saturating function of term frequency normalised by document length.

BM25 문서 순위화는 질의어마다 idf 가중치에 문서 길이로 보정한 포화형 단어빈도 함수를 곱해 더하는 방식으로 문서의 관련도를 점수화합니다.

I have 3,000 interview transcripts; which ones are most relevant to the query 'housing cost burden'?

인터뷰 녹취록 3,000건 중에서 '주거비 부담'이라는 질의와 가장 관련 있는 문서는 어떤 것들인가요?

Tokenise documents and query, compute each term's inverse document frequency and score documents with the BM25 formula using the parameters k1 and b. Rank documents by score per query and inspect the top results and the term statistics.

When to use BM25 Document Ranking

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

BM25 (k1 = [value], b = [value]) ranked [n] documents for [q] queries; the top document for '[query]' scored [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run BM25 Document Ranking on Quorant

Data you need
a table (CSV or Excel) with predictor (feature) columns
Price
150 credits for one analysis up to 10,000 rows (complexity level 1); larger or wider data costs more. Optional methodologist review: 900 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q73034 · Reviewed 2026-10-25