image thumbnail

dictionary

version 1.0.0.0 (1.72 KB) by Fahad Al Mahmood
Checks the spelling status of word(s) and returns synonyms if found.

3.9K Downloads

Updated 08 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 (2021). 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!