Re: Calculate the score of an arbitrary string vs a query?

2015-04-11 Thread Sujit Pal
Hi Ali, I agree with the others that there is no good way to do what you are looking for if you want to assign lucene-like scores to your external results, but if you have some objective measure of goodness that doesn't depend on your lucene scores, you can apply it to both result sets and merge t

LMDirichletSimilarity Scoring Function

2015-04-11 Thread Ronan Cummins
I am implementing a language modelling (type) similarity function, and am using the LMDirichletSimilarity class (and its helper classes) as a template. However, it seems the LMDirichletSimilarity.class implementation is not the same as that presented in "A Study of Smoothing Methods for Language Mo