Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Spell Checker

  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    Ballymena, N.Ireland
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Spell Checker

    Hello to one and all!

    I am new to this forum!

    Can any point me in the right direction of source code/tutorials/help files/etc on how to create a spell checker from scratch? I have managed to create a spell checker through JS but it unfortunately links into another piece of coding (by a company) which generates the spell checker. Now instead of ripping off that company's software, which is only a trial version anyhow, i would like to know(if possible) how to create one from scratch - as this company has a license on the linked spell checker.

    I know it involves quite a bit of work but would like to know how?

    Does anybody know how to do this or have any advice?

    Many thanks in advance

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A fully featured spell-checking program is not for the novice (or perhaps even intermediate) programmer. You better be ready to bust your hump on this one. Where do you plan on getting your dictionary from?

    BTW, javascript, as a language, it most unsuited for doing a spellchecker. Some here would argue that it's impossible, and they're darn close. Since the only type of server-side file javascript can read from is another .js file (which is essentially text), you'd need a flat text file dictionary that you could convert to a format usable by javascript. Possible, yes. Worth it. No, not in my opinion, by a long shot.

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's possible if you load the whole dictionary into an array. Only one problem, no computer/browser in the world would be able to handle it.

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    righty-o. Agree 100%. I want to say that a decent spell checking dictionary would have somewhere between 200,000-300,000 words.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •