473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

spell check user input

HI,

I want to add the "Did you mean" - Google feature to searches on my
website.

My website lets users search for a business using different
parameters.
If there is no match, I want to do a spell check on the entered
parameters.

I need to be able to check words with an english dictionary as well as
add words
(business names) to the dictionary.

At the moment I am looking at the SpellServer by Chado, JSPELL HTML
SERVER, and
AcivSpell by CFDEF.COM.
Does anyone have any experience with these? I am looking for an
inexpensive solution.
(Not using word on the server.)

Any ideas of how to develop a spell check for ASP, or any knowledge
and reconmendations
on inexpensive existing software would help me a lot.

thanks, Jennifer
Jul 19 '05 #1
1 2170
The following Javascript works for me. It invokes the Windows spell checker
at the client's desktop so it has a familiar look/feel - and the price is
right. But it DOES require Word at the desktop, so ... . Watch word
wraps, etc.

AS

function jspeller() {

var jobjWord = new ActiveXObject("Word.Application"); //
create application object

jobjWord.WindowState = 2;
// minimized

jobjWord.Visible = 0; // not visible

var jobjDocument = jobjWord.Documents.Add( "", false, 1, true);
// create document object

jobjDocument.Content=document.add_form.vcomment.va lue; //
assign input text content

jobjDocument.CheckSpelling(); // perform spell check

document.add_form.vcomment.value = jobjDocument.Content.Text; //
assign returned value

jobjDocument.Close (0);
// housekeep

jobjWord.Application.Quit (-1);

jobjDocument = null;

jobjWord = null;

return;

}

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tony Roost | last post by:
I have created a test VB.Net form that will use MS Word to check the spelling of text in an input box The test application runs without a problem and I quit the word application at the end of the...
8
by: Steve Jorgensen | last post by:
There's this app I wrote a long time ago for a client who uses it to administer the database content that drives their Web site. Last time I was in there' I notices a lot of embarassing typos in...
2
by: Bhupesh Naik | last post by:
This is a query regarding my problem to make a spell and grammar check possible in text area of a web page. We have aspx pages which are used to construct letters. The browser based screens...
2
by: Danny Ni | last post by:
Hi, Is there a way to check spelling of user's input in ASP.Net web forms? TIA
3
by: Jason L James | last post by:
Dear all, I have an app that captures text entry from the user and stores it in an SQL DB. I want to make sure that the text is spelt correctly using a spell checked; possibly the one...
12
by: Ryan | last post by:
Is there anyway to enable spell-checking for user input in a Text Box? Either auto spell-check or create a spell-check button. Using VB 2005.
2
Ganon11
by: Ganon11 | last post by:
Hey all, So this was an assignment in my Data Structures and Algorithms class - we were supposed to make a C++ implementation of the spell checker described here. A Java version was also...
22
by: SmokeWilliams | last post by:
Hi, I am working on a Spell checker for my richtext editor. I cannot use any open source, and must develop everything myself. I need a RegExp pattern to split text into a word array. I have...
4
by: =?Utf-8?B?UGF1bA==?= | last post by:
I was just wondering if anyone has implimented any of the free spell check tools for .net web applications and if they found it difficult? Also just wondering if anyone can recommend any good...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.