| java.lang.Object org.contineo.core.searchengine.comparision.Searcher
Searcher | public class Searcher (Code) | | Class for finding similar documents. Created on 21.03.2004
author: Michael Scholz |
Method Summary | |
public Collection | findSimilarDocuments(int menuId, double minScore, String username) This method finds documents, which are similar to a reference document.
All documents are valued by dice-coefficient. |
Searcher | public Searcher()(Code) | | |
findSimilarDocuments | public Collection findSimilarDocuments(int menuId, double minScore, String username)(Code) | | This method finds documents, which are similar to a reference document.
All documents are valued by dice-coefficient. dice-coefficient = 2*scalar
product (doc1,doc2) / (absolute value(doc1) + absoulute value(doc2))
Parameters: docId - - ID of the reference document. Parameters: minScore - - Minimum score value (between 0 and 1) Collection of similar documents sorted by score value. |
|
|