public class Synonyms extends Object
Constructor and Description |
---|
Synonyms() |
Modifier and Type | Method and Description |
---|---|
static String |
findBestMatch(String term,
Collection<String> options)
Find the best match for specified term within the specified set of options.
|
public static String findBestMatch(String term, Collection<String> options)
term
- Term for which to find the best synonym.options
- Set of options from which to find the best synonym.