Sponsored Content
Full Discussion: spell check
Top Forums UNIX for Dummies Questions & Answers spell check Post 302256659 by wempy on Monday 10th of November 2008 10:22:42 AM
Old 11-10-2008
hmm, there maybe performance issues as each time this is run there are 7 processes being created and destroyed. This could ramp up quite remarkably on a web server.

If 1 user checks a 100 word document that will involve 700 separate processes. If at the same time the web server is processing say 10 requests to check 10 documents of 100 words then that is 7000 processes, so you can see how that could be a problem.

One solution if performance does become an issue is to recommend that your users use firefox or safari as their browser as they both have integrated spell checking for text boxes.

In the meantime it may be worthwhile trying to find a more efficient solution depending on your specific situation and traffic statistics.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

spell checker program

2.I need shell script to list all the 'words' in a given file (text) that are not listed in a specified dictionary. Let us call this utility 'spell-check'. 'spell-check' will be called as follows. $ spell-check letter Lucent UNIX UNIX OS a $ dictionary words are listed in lower... (2 Replies)
Discussion started by: ksjanakan
2 Replies

2. Post Here to Contact Site Administrators and Moderators

Spell Check

Administrator/Moderators, I would like to put forth a request rather a suggestion in other words. How about the inclusion of 'SPELL CHECK' tool along with existing submit reply and preview post tools? I believe that would be very much helpful in understanding questions clearly deprived of... (2 Replies)
Discussion started by: matrixmadhan
2 Replies

3. UNIX for Advanced & Expert Users

spell

Hi, I found the following line in a shell script. $spell -a < $filename | \ grep -v '@(#)' | sed "s/\'//g" | \ awk '{ if (length($0) > 15 && length($2) > 2) print $2 }' | \ grep -vif $okaywords | \ grep ']' | grep -v ']' | sort -u | \ sed 's/^/ /' > $tempout can... (2 Replies)
Discussion started by: ravi raj kumar
2 Replies

4. Shell Programming and Scripting

spell check program

hi, i need to write a spell check program in bash to find all possible spelling errors in a file or a number of files taken as input using usr/dict/words. whenever the program encounters a spelling error, it must state the line number at which the incorrect spelling has occured and... (1 Reply)
Discussion started by: kratos.
1 Replies

5. Shell Programming and Scripting

Spell Check in MS Word using PERL OLE

Hi, I am trying automate couting number of spell and typo errors in MS Word document using perl script. In perl script, i am using Win32::OLE module of perl to read MS word document. Can anybody tell me are there any modules available in perl which can be imported into my script to... (0 Replies)
Discussion started by: 123an
0 Replies

6. Homework & Coursework Questions

spell checker script

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: When "niuspell" is invoked from the command line it reads "file" and checks it for spelling of the words it... (1 Reply)
Discussion started by: Jeffthrow5
1 Replies

7. Homework & Coursework Questions

Help With spell checking

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: What the program is suppose to do is input a word and when the user press enter the result should read the word... (6 Replies)
Discussion started by: mgyeah
6 Replies

8. Shell Programming and Scripting

Spell Check

I have this assignment and I am not sure how to start it, I am new any help will be appreciated.... (BASH) Let us say a test is conducted to assess the typing speed for applicants. We need to count # of correctly spelled words and penalize for incorrectly spelled words. score = (# of... (1 Reply)
Discussion started by: shilling
1 Replies

9. Debian

Getting a better spell checker

Guys I am new to Linux in general and want to know what is the use of the following files-: /usr/share/dict/words /usr/share/dict/words.pre-dictionaries-common Are they used by the spell checker to find potential typos ? If so are there any better larger word lists out there ? I am sure... (2 Replies)
Discussion started by: sreyan32
2 Replies
INSTALLDEB-ASPELL(1)													      INSTALLDEB-ASPELL(1)

NAME
installdeb-aspell - debhelper-like utility for maintainers of aspell dictionary Debian packages SYNOPSIS
installdeb-aspell [debhelper options] DESCRIPTION
installdeb-aspell is a debhelper like program that is responsible for installing appropriate debhelper snippets in an aspell dictionary package, according to the Debian Spell Dictionaries and Tools Policy. For more details, see /usr/share/doc/dictionaries-common-dev/dsdt-policy.txt.gz The actions executed by installdeb-aspell are the following: o Maintainer Scripts installdeb-aspell installs the necessary scraps of code in the postinst and postrm scripts. o Language info file installdeb-aspell also checks a file containing aspell dictionary information, called debian/info-aspell or debian/package.info-aspell. If this file is successfully parsed, it is installed in the /var/lib/dictionaries-common/aspell directory. o Debconf files As opposed to installdeb-ispell and installdeb-wordlist, neither installdeb-aspell nor installdeb-hunspell do anything related to debconf files, since both aspell and hunspell rely on the environment variable "LANG" for default dictionary selection instead of using symlinks set after a debconf question on dictionary installation. For that reason if you need to add debconf stuff with debhelper to your aspell or hunspell dictionary package do it in the usual way and call dh_installdebconf(1) as for any other package. o Extra installdeb-aspell options in Language info file For benefit of aspell dictionaries using aspell-autobuildhash, installdeb-aspell script will look for 'auto-compat' and 'auto-contents' fields in $lang.info-aspell, containing base name(s) of your compat and, if needed, contents file(s). If 'auto-compat' entry is found two debhelper snippets are added, one to create/reset compatfile(s) in postinst and the other to remove files in a removal list (initially containing compat files) from postrm. If 'auto-contents' entry is found, contents file at debian/ will be parsed and its contents added to the removal list, otherwise a hash with the same basename of the compatfile is expected and added to the removal list. Unless previous stuff exists, /usr/lib/aspell}/$dict.rws -> /var/lib/aspell/$dict.rws symlinks will also be automatically created. If you use a contents file and enable it in 'auto-contents' you usually will need only the same base name enabled in 'auto-compat'. OPTIONS
The usual dephelper(1) options are accepted. NOTES
This program is not part of debhelper, although it is intended to be used in aspell dictionary packages using debhelper in its building. SEE ALSO
debhelper(1) This program is part of the dictionaries-common-dev package. It is intended to be used by maintainers of aspell dictionary packages for Debian. See the documentation under /usr/share/doc/dictionaries-common-dev. AUTHORS
Rafael Laboissiere, Agustin Martin 1.12.11 2013-1-22 INSTALLDEB-ASPELL(1)
All times are GMT -4. The time now is 01:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy