I have three questions about SV that is somehow confuse me:1. I tried to run the command "pitt.search,semanticvectors.BuildIndex" from the terminal but got the error " Could not find or load main class.pitt.search,semanticvectors.BuildIndex".. I run it from the path of where the jar file is, I also run it from the source path of my project ( that has the class path and doesn't return the error of not finding pitt.search.semanticvectors).. Do I need to do something specific to make this command works?
2. Those lines:VectorSearcher searcher = new VectorSearcher.VectorSearcherCosine(searchVectorStore, searchVectorStore, luceneUtils, defaultFlagConfig, new String[] {queryTerm});LinkedList<SearchResult> results = searcher.getNearestNeighbors(10);are using Cosine similarity? will all the file of terms vectors be searched? or just like Lucene behavior, only the terms that that are in common with the query will be searched, thus the fast performance of Lucene search procedure.
3. Can the behavior changed when we query a statement instead of just a word? The example right now consider only the first word of the query. Can we use the class that Lucene use to search, and apply it to the term vector file instead of the typical index files?
--Thanks
You received this message because you are subscribed to the Google Groups "Semantic Vectors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticvecto...@googlegroups.com.
To post to this group, send email to semanti...@googlegroups.com.
Visit this group at https://groups.google.com/group/semanticvectors.
For more options, visit https://groups.google.com/d/optout.
Thanks for your answer.I fixed the scanner to be read by a line. But The problem is that the query is not tokenized, it's searching as a one whole sentence. Usually, Lucene tokenize the query to terms to return any documents have any one of the words in the query. Can we do that with SV here?