[status,suggestions] = spellcheck(text);
status = spellcheck(text);
Examples:
[status,suggestions] = spellcheck('Hellow');
status = spellcheck('Emirates');
Fahad Al Mahmood (2021). spellcheck (https://www.mathworks.com/matlabcentral/fileexchange/5378-spellcheck), MATLAB Central File Exchange. Retrieved .
Inspired: dictionary, Text Twist Puzzle Solver
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Is it possible to set another language to check? (E.g., German?)
Useful, for example in wordreport
Very nice. I can see how this could be useful in excluding user passwords that are in the dictionary, for example.
I would suggest adding an explanation of what the returned status value means. It looks like a status of -1 means that the submitted text is in the dictionary, and a status of 0 means that it is not.
Also, since invoking MS Word's spellchecker under ActiveX requires a good bit of execution time, it would be nice to be able to input and check several words at once while the invokation is open.