Re: AW: get terms by positions

2006-10-03 Thread Grant Ingersoll
I should note, though, that we do this using the Lucene index, using the TermDocs, etc. On Oct 3, 2006, at 8:42 AM, Grant Ingersoll wrote: We often calculate co-occurrence information as an offline task and store it and then it is just a simple lookup at run time. You just have to put to

Re: AW: get terms by positions

2006-10-03 Thread Nicolas Lalevée
Le Mardi 03 Octobre 2006 12:14, Renzo Scheffer a écrit : > I try to get back a list of all left or right neighbours of a searchterm. > Then I will count them to get back the Information, how often a specific > word is used as neighbour of the searchterm. I know that the results are > variable accor

Re: AW: get terms by positions

2006-10-03 Thread Grant Ingersoll
We often calculate co-occurrence information as an offline task and store it and then it is just a simple lookup at run time. You just have to put together the appropriate loops based on the window size that you want for any given term. Probably not efficient if you index is changing a l