Solved

Spell Check

Posted on 2010-11-19
8
732 Views
Last Modified: 2012-05-10
Hi,

I have file that I need to spell check and was wondering if there is an easy way of doing this in gnome.

Example:

howareyou
whatyear

Output:

how are you
what year

Also, not sure if this is possible:

Example

howre best

Output
how best # Essentially remove anything from a file not recognized in the dictionary

Thank you
0
Comment
Question by:faithless1
  • 4
  • 3
8 Comments
 
LVL 10

Accepted Solution

by:
TRW-Consulting earned 500 total points
ID: 34178741
Linux has the 'ispell' and 'aspell' utilities for spell checking.  If you need a gnome graphical front-end you would need to install gnome-spell.
0
 
LVL 12

Expert Comment

by:tel2
ID: 34184289
Hi faithless1,

Considering your name, you sure do have a lot of faith.  In this case, I think I have less.

What output would you want when the input line is such that it can be broken into different lists of words, depending on where you break the input line?  No examples come to mind, but do you know what I mean?  Would you want all the valid word combinations to be output, or what?

Also, do you just want proper words, or would you want to include names, jargon, acronyms, etc?
0
 

Author Comment

by:faithless1
ID: 34193615
Thanks for responses iespell.com offers part of what I'm looking for.

Tel2-

I'm also losing faith on this one, I'm just looking to clean up a list of words. For output I would just need the same info from the original file, just would prefer to output correctly spelled words.

Also, if I can output proper words, names, acronyms etc that would be extremely helpful. thank you
0
 
LVL 12

Expert Comment

by:tel2
ID: 34194771
Hi faithful1 (consider yourself renamed, in accordance with your aparent character),

Allow me to give you an example of what I'm asking about.  For lack of a real example, let's say that "awsome" is a word (meaning "awesome", of course).  And you had a line like this:
    isawsome
The program could decide to break that into:
    i saw some
or:
    is awsome
right?
Would you want all the valid word combinations to be output by the program, or what should it do?

If you include names, acronyms, etc, then there will be so many duplicates, triplicates, etc, that it wouldn't be funny.

Could you please tell us what this is for (i.e. why do you want such a program)?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:faithless1
ID: 34202286
Actually, that would be perfect - a final output of all valid words and another with non valid. I'm working on a keyword research tool since most of the ones found online are not capable of supporting large lists. Thanks in advance.
0
 
LVL 12

Expert Comment

by:tel2
ID: 34202362
So why does the input have to be without delimiters (spaces) between words, Dino?
0
 

Author Comment

by:faithless1
ID: 34215142
Occasionally, there are some misspellings just want to make sure they are fixed but its not very important.
0
 
LVL 12

Expert Comment

by:tel2
ID: 34215350
Are you saying that you want to convert things like:
    isawsome
Into:
    i saw some      and
    is awsome
in the hopes that you will correct misspellings?  I would have thought that such a strategy is only going to pick up one kind of typo (i.e. missed spaces), and could result in many more typos being assumed, e.g. if you get the name:
    ian
then you could find these words in it:
    i an
and assume (in error) that "ian" was a typo.  And that would also work with a lot of real words.  Want some examples?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now