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

MS Word provider, which dictionary is used?

2 Answers 76 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tim Ammons
Top achievements
Rank 1
Tim Ammons asked on 31 Jul 2012, 02:35 PM
I am using RadEditor with the MS Word spelling provider.  I used the instructions at http://www.telerik.com/community/forums/aspnet-ajax/spell/enabling-ms-word-spell-checking.aspx to get it working.

It is spell-checking, but it does not seem to be using the en-US.tdf file in my ~/App_Data/RadSpell/ directory.  The special words (medical terms) I added to the dictionary are still flagged as misspellings.  Also, I can rename the file, and it still does spell-checking.

Here is my markup:
<telerik:RadEditor runat="server" ID="edNotes" Height="200" Width="98%" ContentAreaMode="Iframe" EditModes="Design" 
	EnableResize="true" ToolsFile="~/App_Data/ToolsFile.xml" SpellCheckSettings-CustomDictionarySuffix="Custom"
   	SpellCheckSettings-DictionaryLanguage="en-US" SpellCheckSettings-DictionaryPath="~/App_Data/RadSpell/" 
	SpellCheckSettings-SpellCheckProvider="MicrosoftWordProvider" SpellCheckSettings-AllowAddCustom="true" />

I have the following in my Page_Load routine:
	edNotes.SpellCheckSettings.SpellCheckProviderTypeName = typeof(Telerik.Web.UI.WordSpellCheckProvider).AssemblyQualifiedName;
Is the MS Word provider supposed to use en-US.tdf, or does it use the dictionary that Word/Office uses? I tested that and it does not seem to be using the Word dictionary. Also, I need to get the Custom dictionary file working as well. Please comment on that as well. Thanks, - Tim

2 Answers, 1 is accepted

Sort by
0
Tim Ammons
Top achievements
Rank 1
answered on 31 Jul 2012, 08:21 PM
Ok, I actually figured out that the MS Word provider does use the Word dictionary and custom dictionary.  So far so good.

The problem I have now is that doing spell-checking on a couple of paragraphs in a RadEditor, and spell-checking is VERY slow.  I'm talking about minutes to respond.  I can't imagine this is normal.  What can I do about this?
0
Rumen
Telerik team
answered on 01 Aug 2012, 05:00 PM
Hi,

Yes, the Word spellchecker required MS Word to be installed on the server and uses the MS Word dictionary. Despite the good suggestions provided by MS Word dictionart provider, its main limitation is its slow loading performance.
As far as I know there is nothing that can be done to optimize the performance. You can try the OpenOffice or Google SpellCheck providers of RadSpell which work faster.

Kind regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Tim Ammons
Top achievements
Rank 1
Answers by
Tim Ammons
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or