Skip to content
Permalink
3b99e145f5
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
17 lines (12 sloc) 367 Bytes
package clustering;
import java.util.Map;
/** Similarity between either pair of words (tiger, dog);
* or pair of senses (e.g. tiger#n#2, cat#n#1)
*
* @author ntandon
*/
public interface ISimilarity<T> {
public double sim(T e1, T e2);
public Map<T, Double> getNeighbors(T e);
public boolean simThreshold(T e1, T e2, double minthreshold) throws Exception;
}