The committed version should contain an implementation of the Sahlgren (2008) permutation-based encoding of word order. This includes: (1) a modification to BuildPositionalIndex such that it can take an argument indextype [basic (default), directional (the HAL model), or permutation (Sahlgren '08)].  (2) modifications to TermTermVectorsFromLucene such that term vectors are permuted appropriately  (3) additions to Search, CompoundVectorBuilder and VectorSearcher to facilitate index-based retrieval such that "president ?" retrieves terms occurring frequently after president (4) an additional class IndexTermVectorsFromRandomIndex that generates a vectors store on disk from a hashtable, used to preserve the random vectors as these are the basis for generating order-based queries 
The committed version should contain an implementation of the Sahlgren (2008) permutation-based encoding of word order. This includes:
(1) a modification to BuildPositionalIndex such that it can take an argument indextype [basic (default), directional (the HAL model), or permutation (Sahlgren '08)]. 
(2) modifications to TermTermVectorsFromLucene such that term vectors are permuted appropriately 
(3) additions to Search, CompoundVectorBuilder and VectorSearcher to facilitate index-based retrieval such that "president ?" retrieves terms occurring frequently after president
(4) an additional class IndexTermVectorsFromRandomIndex that generates a vectors store on disk from a hashtable, used to preserve the random vectors as these are the basis for generating order-based queries 
Peratham/semanticvectors-1,CalZera/semanticvectors,Peratham/semanticvectors-1,sabitaacharya/semanticvectors,codeaudit/semanticvectors,codeaudit/semanticvectors,semanticvectors/semanticvectors,anhth12/semanticvectors,alifars/semanticvectors,alifars/semanticvectors,crack521/semanticvectors,crack521/semanticvectors,CalZera/semanticvectors,sabitaacharya/semanticvectors,alifars/semanticvectors,Peratham/semanticvectors,Lucky-Dhakad/semanticvectors,rvedam/semanticvectors,semanticvectors/semanticvectors,Peratham/semanticvectors,rvedam/semanticvectors,rvedam/semanticvectors,dwiddows/semanticvectors,anhth12/semanticvectors,dileepajayakody/semanticvectors,Lucky-Dhakad/semanticvectors,sabitaacharya/semanticvectors,dwiddows/semanticvectors,sabitaacharya/semanticvectors,dileepajayakody/semanticvectors,anhth12/semanticvectors,crack521/semanticvectors,ahsannabi/semanticvectors,ahsannabi/semanticvectors,JohnLetnev/semanticvectors,Peratham/semanticvectors,crack521/semanticvectors,codeaudit/semanticvectors,Peratham/semanticvectors,JohnLetnev/semanticvectors,semanticvectors/semanticvectors,dwiddows/semanticvectors,Lucky-Dhakad/semanticvectors,ahsannabi/semanticvectors,CalZera/semanticvectors,JohnLetnev/semanticvectors,Peratham/semanticvectors-1,dileepajayakody/semanticvectors,anhth12/semanticvectors,codeaudit/semanticvectors,dwiddows/semanticvectors,Lucky-Dhakad/semanticvectors,semanticvectors/semanticvectors,CalZera/semanticvectors,JohnLetnev/semanticvectors,rvedam/semanticvectors,alifars/semanticvectors,Peratham/semanticvectors-1,ahsannabi/semanticvectors,dileepajayakody/semanticvectors