How to get tf or idf of a term with galago?
Every time I run the command line — batch-search, I can see the term frequence in the screen, But how can I get the frequence of a term in my code rather than in output screen,so that it can be computed in my way?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you very much, Michael. I find the function. according to the result, the first column is word, the second column is term frequency in the collection, the third column is document count, is that right?
And can you explain the meaning of extent , posting, and field ?
It confuses me a lot after I created the apendix.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In indri, query likelihood model is compeleted by "#combine(term1 term2)", so what's the difference between "term1 term2" and "#combine(term1 term2)"?
In galago, is query likelihood model also compeleted by "#combine(term1 term2)"?
And, how to use galago to achieve the MLE method?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How to get tf or idf of a term with galago?
Every time I run the command line — batch-search, I can see the term frequence in the screen, But how can I get the frequence of a term in my code rather than in output screen,so that it can be computed in my way?
Please see the dump-term-stats function.
Thank you very much, Michael. I find the function. according to the result, the first column is word, the second column is term frequency in the collection, the third column is document count, is that right?
And can you explain the meaning of extent , posting, and field ?
It confuses me a lot after I created the apendix.
In indri, query likelihood model is compeleted by "#combine(term1 term2)", so what's the difference between "term1 term2" and "#combine(term1 term2)"?
In galago, is query likelihood model also compeleted by "#combine(term1 term2)"?
And, how to use galago to achieve the MLE method?