Displaying 1 result from an estimated 1 matches for "tf_idfweight".
2012 Apr 20
1
Implementing the tf-idf weighting scheme
Hi, all:
This is the basic implementation of tf-idf scheme (basic scheme used in
SMART) that can be used in the Xapian. It might still need some futher
revision, but I believe it works anyway.:)
I modified the weight.h to define a subclass Tf_idfWeight and add a new
file tf_idf.cc in ../weight in the repo, to implement Tf_idfWeight.
Here is the git diff patch:
https://gist.github.com/2422049
I think the next thing to do is register this scheme to Xapian and write
some test to see whether or not it works?
I'm grepped the current BM25Weight...