dictionary

Checks the spelling status of word(s) and returns synonyms if found.

You are now following this Submission

[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 (2026). dictionary (https://se.mathworks.com/matlabcentral/fileexchange/5408-dictionary), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: spellcheck

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0