Re: Problem with termdocs.freq and other

2007-12-10 Thread Doron Cohen
> Seen as that solved all my problems (i think), Glad it helped! (btw it's always like this with, debugging - others see stuff in my code that I don't) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Problem with termdocs.freq and other

2007-12-10 Thread chris.b
ithin a collection ofdocuments. >> I'm doing this by indexing the documents and then, loading the list of >> keywords and using the IndexReader Class and DefaultSimilarity,retrieving >> and average tf of each word (where the tf is obtained through >> TermDocs.freq() and

Re: Problem with termdocs.freq and other

2007-12-10 Thread Doron Cohen
t; and average tf of each word (where the tf is obtained through > TermDocs.freq() and the average is the sum of tf's divided by > the number of > documents) and the idf for each word, and printing the output in an html > document, together with the documents in which they a

Problem with termdocs.freq and other

2007-12-10 Thread chris.b
Similarity, retrieving and average tf of each word (where the tf is obtained through TermDocs.freq() and the average is the sum of tf's divided by the number of documents) and the idf for each word, and printing the output in an html document, together with the documents in which they appear, and others.

Re: TermDocs.freq()

2005-10-03 Thread Yonik Seeley
you for your consideration, > Tricia > > On Thu, 29 Sep 2005, Tricia Williams wrote: > > > I am finding that TermDocs.freq() method is returning an incorrect > value. > > I was wondering if anyone else had experienced this problem. > > > > I am using tp = Index

Re: TermDocs.freq()

2005-10-03 Thread Tricia Williams
? Is there an obvious work-around so that the frequency that I receive is correct for my document? Thank you for your consideration, Tricia On Thu, 29 Sep 2005, Tricia Williams wrote: > I am finding that TermDocs.freq() method is returning an incorrect value. > I was wondering if anyone el

Re: TermDocs.freq()

2005-09-29 Thread Greg Gershman
Save user queries in a database along with number of results from last time queried, use that as suggestion base. Notice that Google's result count in Suggest differs from the actual result count. They are not computing results on the fly. Greg --- Jérôme BENOIS <[EMAIL PROTECTED]> wrote: > He

Re: TermDocs.freq()

2005-09-29 Thread Jérôme BENOIS
Hello everybody, I would like implement a "Google Suggest" (http://www.google.com/webhp?complete=1&hl=en) like but how to get similar criteria and number of results. Are you an idea ? Thanks, Jérôme. signature.asc Description: This is a digitally signed message part

TermDocs.freq()

2005-09-29 Thread Tricia Williams
I am finding that TermDocs.freq() method is returning an incorrect value. I was wondering if anyone else had experienced this problem. I am using tp = IndexReader.termPositions( queryTerm ) to return a object which implements TermPositions. I then use tp.skipTo( docid ) to go directly to the