Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion search_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ def load_ranker(cfg_file):
The parameter to this function, cfg_file, is the path to a
configuration file used to load the index.
"""
return metapy.index.OkapiBM25()
ranker = metapy.index.OkapiBM25(k1=1.3,b=0.75,k3=500)
return ranker
#return metapy.index.OkapiBM25()

if __name__ == '__main__':
if len(sys.argv) != 2:
Expand Down