On Jul 17, 2010, at 15:04, Martin <mar...@webscio.net> wrote:
Hi,
this seems to be missing in the 3.0.2. release, or at least not
working - I'm getting AttributeError: 'TermFreqVector' object has no
attribute 'toTermPositionVector'. Has it been accidentally/
intentionally removed in the last couple of years and/or is there an
alternative to getting a TermPositionVector?
You must be refering to some very old release there. Casting is done
via the cast_() method:
TermPositionVector.cast_(tfv)
Andi..
Thanks for your help!
Martin
I checked-in your patch into svn trunk revision 337.
Thank you for your contribution !
Andi..