How to deploy Custom Dictionary

4 posts, 0 answers
  1. Patrick
    Patrick avatar
    42 posts
    Member since:
    Jul 2012

    Posted 16 Aug 2012 Link to this post

    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.
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 21 Aug 2012 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Patrick
    Patrick avatar
    42 posts
    Member since:
    Jul 2012

    Posted 21 Aug 2012 Link to this post

    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,
  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 24 Aug 2012 Link to this post

    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 >>
Back to Top