Uses of Interface
org.nlpub.watset.util.ContextSimilarity
-
Packages that use ContextSimilarity Package Description org.nlpub.watset.graph Graph processing and clustering.org.nlpub.watset.util Utility classes and helpers. -
-
Uses of ContextSimilarity in org.nlpub.watset.graph
Constructors in org.nlpub.watset.graph with parameters of type ContextSimilarity Constructor Description Watset(org.jgrapht.Graph<V,E> graph, Function<org.jgrapht.Graph<V,E>,Clustering<V>> local, Function<org.jgrapht.Graph<Sense<V>,org.jgrapht.graph.DefaultWeightedEdge>,Clustering<Sense<V>>> global, ContextSimilarity<V> similarity)Deprecated.Create an instance of the Watset clustering algorithm. -
Uses of ContextSimilarity in org.nlpub.watset.util
Classes in org.nlpub.watset.util that implement ContextSimilarity Modifier and Type Class Description static classContextSimilarity.DummyContextSimilarity<V>A simple context similarity measure that always returns zero.classCosineContextSimilarity<V>The classical cosine similarity measure for bags-of-words.Methods in org.nlpub.watset.util with parameters of type ContextSimilarity Modifier and Type Method Description static <V> Map<Sense<V>,Number>Sense. disambiguate(Map<V,Map<Sense<V>,Map<V,Number>>> inventory, ContextSimilarity<V> similarity, Map<V,Number> context, Collection<V> ignored)Disambiguate each element of the context by maximizing its similarity to the senses in the inventory.
-