This blogspot is for Learning Microsoft's Latest Technology & its Implementation in Real world Scenario. Especially in Bussiness Application, using Silverlight, Windows 8, WinRT, Metro Style apps, C Sharp, WCF RIA Services, MS SQL Server, MVVM Architecture.
I have just started working over one utility or better to say code which will give me list of suggestions words for a wrongly spell word.
Say for example:
For my word is "vurak"
Output : viral,quark,vera,aura,lurk
My word is "Indai"
And few days before I have posted, above post to which I found solution from web, but this was so much time consuming to find and refine the codes, as everywhere spell checking utility is given over web, but our verge was different to go to spell suggestions. Below mention is the tiny code written in C#, using Visual Studio 2010
Spell Suggestion Utility
//Special References to add, I have not mention default references
//Method which returns CSV(Comma Seperated Values) of suggestions of words, for MyWord passed as parameter
private string GetSpellingSuggestions(string MyWord)
Microsoft.Office.Interop.Word.Application app = new Microsoft.Office.Interop.Word.Application();
string strReturn = "";
if (MyWord.Trim().Length > 0)
strReturn += "Spelling is Correct \n";
foreach (object item in app.GetSpellingSuggestions(textBox3.Text))
strReturn += (item as SpellingSuggestion).Name+ "\n";
strReturn = "Word is empty";
// Note: MS Office is required
Okay, thats it, you just need to copy and past above short method, I have done lot of search and found : Bing webService, AfterDeadline.dll, but for bulk data,which I have for Text Mining, the above mention approach suits my application, hence I have used it :)
Do share your comments, regarding the same, and doubts, if any.