Package org.nlpub.watset.util
Utility classes and helpers.
-
Interface Summary Interface Description ABCFormat Utilities for handling the ABC(source, target, weight)edge list format.ContextSimilarity<V> A similarity measure between two bags-of-words that maps them to a number.ILEFormat Utilities for handling the ILE(identifier, length, elements)file format.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.Sense<V> A monad that provides the wrapped value with a sense identifier.Vectors Utilities for mapping bags-of-words to real-valued vectors. -
Class Summary Class Description AlgorithmProvider<V,E> A utility class that creates instances of the graph clustering algorithms.ContextSimilarity.DummyContextSimilarity<V> A simple context similarity measure that always returns zero.CosineContextSimilarity<V> The classical cosine similarity measure for bags-of-words.IndexedSense<V> An integer sense identifier.