Refactored rank_BM25 to score_BM25.