Re: Getting term vectors/computing cosine similarity

2014-05-28 Thread Michael O'Leary
That works. Thank you very much! On Wed, May 28, 2014 at 9:59 AM, Aric Coady wrote: > On May 28, 2014, at 12:03 AM, Michael O'Leary wrote: > > Hi Andi, > > Thanks for the help. I just tried to import TVTermsEnum so I could try > > casting my iter, and I don't see how to do it since TVTermsEnum

Re: Getting term vectors/computing cosine similarity

2014-05-28 Thread Aric Coady
On May 28, 2014, at 12:03 AM, Michael O'Leary wrote: > Hi Andi, > Thanks for the help. I just tried to import TVTermsEnum so I could try > casting my iter, and I don't see how to do it since TVTermsEnum is a > private class with fully qualified > name > org.apache.lucene.codecs.compressing.Compre

Re: Getting term vectors/computing cosine similarity

2014-05-28 Thread Andi Vajda
> On May 27, 2014, at 21:03, "Michael O'Leary" wrote: > > Hi Andi, > Thanks for the help. I just tried to import TVTermsEnum so I could try > casting my iter, and I don't see how to do it since TVTermsEnum is a > private class with fully qualified > name > org.apache.lucene.codecs.compressing.C

Re: Getting term vectors/computing cosine similarity

2014-05-28 Thread Michael O'Leary
Hi Andi, Thanks for the help. I just tried to import TVTermsEnum so I could try casting my iter, and I don't see how to do it since TVTermsEnum is a private class with fully qualified name org.apache.lucene.codecs.compressing.CompressingTermVectorsReader$TVTermsEnum. I tried from org.apache.lucen