Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Spell > Any way to expand abbreviations with Spell

Not answered Any way to expand abbreviations with Spell

Feed from this thread
  • Alan Watson avatar

    Posted on Aug 14, 2011 (permalink)

    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

    Reply

  • Marin Bratanov Marin Bratanov admin's avatar

    Posted on Aug 17, 2011 (permalink)

    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Spell > Any way to expand abbreviations with Spell
Related resources for "Any way to expand abbreviations with Spell"

ASP.NET Spell Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer Step-by-step Tutorial  ]