Message Boards Message Boards

0
|
3044 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Strings and Spell Checking

Posted 10 years ago

Does anyone know if there is a way to access Mathematica's spell checking capability computationally? By that I mean, if I have a string variable, like aString = "freind", is there any way I can test that string to find out if it is a correctly spelled word (i.e., does it appear in the spelling dictionary)?

Thanks...

POSTED BY: Merrick DeWitt
2 Replies
Posted 10 years ago

Thanks! I'll give those a look...

POSTED BY: Merrick DeWitt

I don't think there is a way to use the spellchecker programmatically directly. However you could use the mathematical function DictionaryLookup to see whether a given word is contained in it's dictionary.

http://reference.wolfram.com/language/ref/DictionaryLookup.html

Additionally you can possibly do some more sophisticated things making use of the WordData function:

http://reference.wolfram.com/language/ref/WordData.html

POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract