seunginah / semanticvectors

Automatically exported from code.google.com/p/semanticvectors
0 stars 0 forks source link

Search with negation is ineffective with binary vectors. #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Negation with binary vectors isn't working - the queries "saul" and "saul NOT 
david" give the same results.

widdows-macbookpro:bible widdows$ java pitt.search.semanticvectors.Search saul 
NOT david
Jul 25, 2011 10:38:35 AM pitt.search.semanticvectors.Search RunSearch
INFO: Opening query vector store from file: termvectors.bin
Found vector for 'david'
Found vector for 'saul'
Jul 25, 2011 10:38:35 AM pitt.search.semanticvectors.Search RunSearch
INFO: Searching term vectors, searchtype SUM ... 
Jul 25, 2011 10:38:35 AM pitt.search.semanticvectors.Search main
INFO: Search output follows ...
1.0:saul
0.7109375:ascribed
0.7109375:merab
0.7109375:avoided
0.70703125:behaved
0.69140625:michal
0.66796875:wisely
0.66796875:philistines
0.66015625:david

Original issue reported on code.google.com by widd...@google.com on 25 Jul 2011 at 2:40

GoogleCodeExporter commented 9 years ago
Fixed by Trevor in revision 672 
http://code.google.com/p/semanticvectors/source/detail?r=672

Original comment by dwidd...@gmail.com on 1 Mar 2012 at 5:09