dictionary

Checks the spelling status of word(s) and returns synonyms if found.
4K Downloads
Updated 8 Jul 2004

View License

[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
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: spellcheck

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0