dictionary
[status,synonyms] = dictionary(text);
status = dictionary(text);
text: word(s) separated by a single space.
status: returns '1' if word(s) exist in dictionary or '0' otherwise.
synonyms: an array of synonyms of word(s) or otherwise returns a message 'No Synonyms Found!' or 'Incorrect Spelling!'.
Examples:
[status,synonyms] = dictionary('peddler');
[status,synonyms] = dictionary('walk match ground');
status = dictionary('hysteria');
Cite As
Fahad Al Mahmood (2024). dictionary (https://www.mathworks.com/matlabcentral/fileexchange/5408-dictionary), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: spellcheck
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |