Package org.nlpub.watset.util
Utility classes and helpers.
-
Interface Summary Interface Description ContextSimilarity<V> A similarity measure between two bags-of-words that maps them to a number.Sense<V> A monad that provides the wrapped value with a sense identifier. -
Class Summary Class Description ABCFormat Utilities for handling the ABC(source, target, weight)edge list format.ClusteringAlgorithmProvider<V,E> A utility class that creates instances of the graph clustering algorithms.ContextSimilarities Useful implementations ofContextSimilarity.ContextSimilarities.CosineContextSimilarity<V> The classical cosine similarity measure for bags-of-words.ContextSimilarities.DummyContextSimilarity<V> A simple context similarity measure that always returns zero.ILEFormat Utilities for handling the ILE(identifier, length, elements)file format.IndexedSense<V> An integer sense identifier.Maximizer Utilities for searching arguments of the maxima of the function.Neighbors Utilities for extracting neighborhood graphs and iterating over them.NetworkXFormat Utilities for handling pickled NetworkX graphs.Vectors Utilities for mapping bags-of-words to real-valued vectors.