Lexicon Augmenter

This function extends a given list of keywords by adding synonyms, hypernyms, hyponyms, and related words using a WordNet-like logic and word embeddings from pre-trained language models. For instance, if the word "car" is provided as input, the software will return related terms such as "automobile," "bicycle," "SUV," and "dealer," depending on the selected parameters. This function is typically useful for defining brand clusters.



A CSV file containing the list of input words and related words - classified as words belonging to synonyms, hypernyms, hyponyms, or words that are close in the embedding space (near).