X-Powered-By: LeopardCMS X-Session: 576066A77C2C8AAC Cache-Control: private,no-cache Expires: Mon, 26 Jul 1997 00:00:00 GMT Pragma: no-cache Linux Howtos: Tips and Tricks -> Spell Checking with Aspell
from small one page howto to huge articles all in one place

search text in:

Which screen resolution do you use?

poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs






average rating: 1.6 (78 votes) (1=very good 6=terrible)

May 25th. 2007:




why adblockers are bad

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels






average rating: 1.3 (26 votes) (1=very good 6=terrible)

April, 26th. 2006:

Druckversion . pdf icon
You are here: System->Tips and Tricks

Spell Checking with Aspell

This tip demonstrates spell checking a file with aspell. While aspell comes with it's own dictionary, it also allows you to create and maintain a personal dictionary as well. There are many uses of aspell, but this time we are just going to look at interactively spell checking a file.

To install aspell, you need to install the aspell package and any language-based dictionaries you want aspell to check against (e.g. aspell-en).

Code Listing 1: Installing aspell and the English dictionary

# emerge app-text/aspell 
# emerge app-dicts/aspell-en
# apt-get install aspell
# apt-get install aspell-en

Now that aspell is installed, you can use it to check a document. Start by typing aspell check file, where file is the file you want to edit. If there are potentially misspelled words, you will see the the file and an option window at the bottom of your terminal. In the option window are suggested replacements and some options like ignore, replace, add, etc.

Code Listing 2: Using aspell

% aspell check tips-20031110.xml 
// file contents skipped...

1) sect head 6) scythed
2) sect-head 7) swathed
3) scathed 8) Scheat
4) seethed 9) soothed
5) sketched 0) secured
i) Ignore I) Ignore all
r) Replace R) Replace all
a) Add l) Add Lower
b) Abort x) Exit
? a
// secthead was added to my personal dictionary



1) English 6) Anglia's
2) Englisher 7) Anglia
3) English's 8) Inglis
4) Englished 9) Anguish
5) Englishes 0) Unleash
i) Ignore I) Ignore all
r) Replace R) Replace all
a) Add l) Add Lower
b) Abort x) Exit

? 1
// The misspelled word was replaced with option 1) English

When Aspell finishes, you will see file.bak created as a backup copy of your document. To view your personal dictionary, use the command aspell dump personal. For more information, see http://aspell.sourceforge.net or use aspell --help.

From http://www.gentoo.org/news/en/gwn/20031110-newsletter.xml

rate this article:
current rating: average rating: 1.9 (87 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

Support this site

Please read "Why adblockers are bad".

Other free services
Shorten long
URLs to short
links like
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2013 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 4.1 ms