Code covered by the BSD License  

Highlights from
spellcheck

5.0

5.0 | 2 ratings Rate this file 7 Downloads (last 30 days) File Size: 1.81 KB File ID: #5378

spellcheck

by Fahad Al Mahmood

 

30 Jun 2004 (Updated 12 Jul 2004)

This function checks the spelling of a word and returns suggestions if misspelled.

| Watch this File

File Information
Description

[status,suggestions] = spellcheck(text);
 status = spellcheck(text);

 Examples:
[status,suggestions] = spellcheck('Hellow');
status = spellcheck('Emirates');

Acknowledgements
This submission has inspired the following:
dictionary, Text Twist Puzzle Solver
MATLAB release MATLAB 6.5 (R13)
Other requirements Microsoft Word
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
01 Jul 2004 Michael Kleder

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.

15 Jan 2009 Taha  
Please login to add a comment or rating.
Updates
01 Jul 2004

Multiple words check & status, thanks Michael Kleder!

06 Jul 2004

Solved "multiple spaces in text" bug.

06 Jul 2004

Solved "multiple spaces in text" bug.

12 Jul 2004

Fixed the 'no suggestions' result, thanks Sander Stepanov!

Tag Activity for this File
Tag Applied By Date/Time
strings Fahad Al Mahmood 22 Oct 2008 07:25:51
spelling Fahad Al Mahmood 22 Oct 2008 07:25:51
spell check Fahad Al Mahmood 22 Oct 2008 07:25:51
microsoft word Fahad Al Mahmood 22 Oct 2008 07:25:51
activex Fahad Al Mahmood 22 Oct 2008 07:25:51

Contact us at files@mathworks.com