12-28-2005
Quote:
Originally Posted by vino
Alternate suggestion. We could (probably) teach Gollum to do the spell check.
To say the truth I dont agree with the spell check offered as such you have mentioned,
where there are words, symbols and above all the combinations that you arrive with them could never be totally circumscribed by a spell check.
That is the reason, I requested for a spell check with the option of the member taking priority always.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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. UNIX for Advanced & Expert Users
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
3. UNIX for Dummies Questions & Answers
# cat wrong.txt
thiis is going to be wrong words containing file
# aspell list < wrong.txt
thiis
I want to check only one word and see the first suggestions ("this" in this case). something like...
aspell list --one-word thiis --suggest (5 Replies)
Discussion started by: shantanuo
5 Replies
4. Shell Programming and Scripting
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
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
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
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
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
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
SPELL(1) General Commands Manual SPELL(1)
NAME
spell, sprog - find spelling errors
SYNOPSIS
spell [ options ] ... [ file ] ...
sprog [ options ] [ -f file ]
DESCRIPTION
Spell looks up words from the named files (standard input default) in a spelling list and places possible misspellings--words not sanc-
tioned there--on the standard output.
Spell ignores constructs of troff(1) and its standard preprocessors. It understands these options:
-a Label each line of output with its address in the input, in the notation of acme(1) and sam(1).
-b Check British spelling.
-v Print all words not literally in the spelling list, with derivations.
-x Print, marked with every stem as it is looked up in the spelling list, along with its affix classes.
As a matter of policy, spell does not admit multiple spellings of the same word. Variants that follow general rules are preferred over
those that don't, even when the unruly spelling is more common. Thus, in American usage, `modelled', `sizeable', and `judgment' are
rejected in favor of `modeled', `sizable', and `judgement'. Agglutinated variants are shunned: `crewmember' and `backyard' cede to `crew
member' and `back yard' (noun) or `back-yard' (adjective).
FILES
/sys/lib/amspell
American spelling list
/sys/lib/brspell
British spelling list
/bin/aux/sprog
The actual spelling checker. It expects one word per line on standard input, and takes the same arguments as spell.
SOURCE
/rc/bin/spell
the script
/sys/src/cmd/spell
source for sprog
SEE ALSO
deroff(1)
BUGS
The heuristics of deroff(1) used to excise formatting information are imperfect.
The spelling list's coverage is uneven; in particular biology, medicine, and chemistry, and perforce proper names, not to mention languages
other than English, are covered very lightly.
SPELL(1)