This is a migrated thread and some comments may be shown as answers.

How to deploy Custom Dictionary

3 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Patrick asked on 16 Aug 2012, 02:51 PM
How do I add, use, and include in my deployment a Custom Dictionary for use with radSpellChecker?  I have an internal use application where they use a lot medical words and I want to add a bunch in ahead of time for them.

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 21 Aug 2012, 05:49 AM
Hello Patrick,

Thank you for writing.

Loading custom dictionaries in RadSpellChecker is described in the following article: http://www.telerik.com/help/winforms/spellchecker-dictionaries.html. Please take a look at it and let us know if you need further assistance.
 
All the best,
Stefan
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Patrick
Top achievements
Rank 2
answered on 21 Aug 2012, 12:54 PM
Thanks for the link.  Question though;  What I really need is to be able to add a bunch of words to the existing English dictionary.  In looking inside the *.tdf it looks like it is simply 1 word per line but what is the stuff afterwords, after each colon(:) suppose to signify?  I saw, somewhere on your site, an OLD project for converting to *.tdf but I couldn't get it to load/run at all.  If I knew the importance of the colon's I could just make my own.

Thanks,
0
Stefan
Telerik team
answered on 24 Aug 2012, 11:18 AM
Hi Patrick,

Thank you for your reply.

Please consider the following code snippet which demonstrates how to add words to the default dictionary:
IControlSpellChecker textBoxControlSpellChecker = this.radSpellChecker1.GetControlSpellChecker(typeof(RadTextBox));
textBoxControlSpellChecker.SpellChecker.AddWord("YourWordHere");
radSpellChecker1.Check(radTextBox1);

In regards to the words separated by semi column in the TDF file, those are metaphone's. Here are a few links regarding this matter:

I hope that you find this information useful.
 
Kind regards,
Stefan
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
General Discussions
Asked by
Patrick
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Patrick
Top achievements
Rank 2
Share this question
or