find Synonym

version (3.43 KB) by Nikolay S.
A function designed to deal with synonyms issue


Updated Thu, 15 Jun 2017 12:26:25 +0000

View License

The function goal is to find a representative word (keyword) from a used specified dictionary (synonymsList), retuning an appropriate keyword when one of its synonyms is typed as input.
This allows the a programmer to be more flexible when dealing inputs, using multiple string meaning the same input. Consider a case where each of the inputs :{'Mother', 'female parent', 'matriarch', 'mom', 'mommy', 'ma', 'mama'} will result the same output 'Mother', thus allowing multiple ways to treat 'Mother'.

Cite As

Nikolay S. (2022). find Synonym (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!