Sponsored Content
Full Discussion: Help With spell checking
Homework and Emergencies Homework & Coursework Questions Help With spell checking Post 302508082 by mgyeah on Saturday 26th of March 2011 04:43:03 AM
Old 03-26-2011
sorry for the late response but letters.h and letters.c are created and the chrutil.c and chrutil.h are given library. Sorry i reread the hw and misunderstood it that the only file i should include are only letters.h and letters.c, so i am moving prototype i need from chrutil.h and chrutil.c to letters.h and letters.c. The first problem is when i type a word it only reads the first letter of that word (still trying to fix it). the next problem is to add another statement in the while loop in spchk.c to determine the three condition on part 1 of the problem, most likely the adding part should be where the comment says "if not in word and not delimiter" and "if in word and a delimiter". also the delimit can be rewritten so i read what the delimit does from chrutil.c it returns only TRUE if it is a white space and a punctuation. I am kind of clueless where to start for that

---------- Post updated 03-26-11 at 03:43 AM ---------- Previous update was 03-25-11 at 03:04 PM ----------

the function i need to add to this is a function that can read each letter in a word.
a function that can tolerate space. a function that can tell which ends with a vowel or consonant. a function that can tell if the consonant are adjacent.
 

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. UNIX for Dummies Questions & Answers

spell check

# 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

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

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

6. 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
libenchant(3)							C Library Functions						     libenchant(3)

NAME
libenchant - Enchant provides a generic interface into various existing spell checking libaries. DESCRIPTION
libenchant is a library which provides a generic interface into various existing spell checking libraries. It aims to provide an efficient extensible abstraction for dealing with different spell checking libraries. It provides a generic inter- face into various existing spell checking libaries. These include, but are not limited to: * Aspell/Pspell * Ispell * Hspell * Uspell ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-spell | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), gnome-interfaces(5) Written by Jeff Cai, Sun Microsystems Inc., 2008. SunOS 5.11 29 Jul 2008 libenchant(3)
All times are GMT -4. The time now is 07:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy