Solved

Spell Check

Posted on 2010-11-19
8
730 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 11

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 11

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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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 11

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 11

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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…

760 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

16 Experts available now in Live!

Get 1:1 Help Now