Package org.nlpub.watset.util
Interface ContextSimilarity<V>
-
- Type Parameters:
V- the type of bag elements
- All Known Implementing Classes:
ContextSimilarities.CosineContextSimilarity,ContextSimilarities.DummyContextSimilarity
public interface ContextSimilarity<V> extends BiFunction<Map<V,Number>,Map<V,Number>,Number>
A similarity measure between two bags-of-words that maps them to a number.- See Also:
- Dot products,
ContextSimilarities
-
-
Method Summary
-
Methods inherited from interface java.util.function.BiFunction
andThen, apply
-
-