Check out typedvectors branch.
Try java pitt.search.semanticvectors.BuildIndex -vectortype binary index/ ...
The following problem occurs:
Creating term vectors ...There are 13752 terms (and 1190 docs).
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 7, Size:
7
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at pitt.search.semanticvectors.vectors.BinaryVector.concludeVote(BinaryVector.java:386)
at pitt.search.semanticvectors.vectors.BinaryVector.concludeVote(BinaryVector.java:327)
at pitt.search.semanticvectors.vectors.BinaryVector.concludeVote(BinaryVector.java:356)
at pitt.search.semanticvectors.vectors.BinaryVector.normalize(BinaryVector.java:462)
at pitt.search.semanticvectors.TermVectorsFromLucene.trainTermVectors(TermVectorsFromLucene.java:204)
at pitt.search.semanticvectors.TermVectorsFromLucene.createTemVectorsFromLuceneImpl(TermVectorsFromLucene.java:164)
at pitt.search.semanticvectors.TermVectorsFromLucene.createTermVectorsFromLucene(TermVectorsFromLucene.java:136)
at pitt.search.semanticvectors.BuildIndex.main(BuildIndex.java:131)
Original issue reported on code.google.com by widd...@google.com on 14 Jul 2011 at 11:58
Original issue reported on code.google.com by
widd...@google.com
on 14 Jul 2011 at 11:58