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

Any way to expand abbreviations with Spell

1 Answer 28 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Alan Watson
Top achievements
Rank 1
Alan Watson asked on 14 Aug 2011, 09:58 PM
Hi all,

I was wondering if there was a form of custom dictionary that would allow the detection of common abbreviations and suggest their expanded version.

For example.

IBM    International Business Machines
mph    miles per hour

etc etc.

As it's not really a phoenetic expansion, I'm not sure where to start.


Thanks,


Alan

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 17 Aug 2011, 09:35 AM
Hi Alan,

  We do not have such a dictionary and you are correct that the phonetic provider would not be able to achieve the desired functionality, yet you can create a custom one that contains the abbreviations you desire. A good starting point for this is the following help article: http://www.telerik.com/help/aspnet-ajax/spell-dictionaries-configurator.html. It explains some functionality provided in the linked Code Library entry. I believe you will be able to use it to modify an existing dictionary or to create a custom one that will allow the users to select a "language" for expanding abbreviations (more information on additional languages is available in this help article). This (or these two) steps are so that they do not get the abbreviations as errors. Then you can use some string modifications of the content (i.e. mainly the contains and indexOf JavaScript functions to see if the abbreviation exists in your dictionary and replace it with the expanded version. Please note that this is quite a heavy customization and this functionality will require a lot of work in order to work properly and such extensions are out of the scope of our support system and are entirely up to the developer. I hope you will manage to get this working.


Best wishes,
Marin
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Spell
Asked by
Alan Watson
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or