aspell linux command

aspell linux command
what is aspell ?
it's a GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell.
It can either be used as a library or as an independent spell checker.
Its main feature is that it does a much better job of coming up with possible suggestions than just about any other spell checker out there for the Englishlanguage, including Ispell and Microsoft Word. It also has many other technical enhancements over Ispell such as using shared memory for dictionaries and intelligently handling personal dictionaries when more than one Aspell processis open at once.



COMMANDS
        is one of:

       usage, -?
              Send  a  brief  Aspell Utility usage message to standard output.
              This is a short summary listing more common spell-check commands
              and options.

       help   Send  a detailed Aspell Utility help message to standard output.
              This is a complete list showing all commands,  options,  filters
              and dictionaries.

       version, -v
              Print  version  number of Aspell Library and Utility to standard
              output.

       check , -c
              Spell-check a single file.

       pipe, -a
              Run Aspell in ispell -a compatibility mode.

       list   Produce a list of misspelled words from standard input.

       [dump] config
              Dump all current configuration options to standard output.

       config
              Send the current value of  to standard output.

       soundslike
              Output the soundslike equivalent of each word entered.

       munch  Generate possible root words and affixes from an input  list  of
              words.

       expand [1-4]
              Expands the affix flags of each affix compressed word entered.

       clean [strict]
              Cleans an input word list so that every line is a valid word.

       munch-list [simple] [single|multi] [keep]
              Reduce the size of a word list via affix compression.

       conv   []
              Converts  one encoding  another.

       norm (|  ) []
              Perform Unicode normalization.

       [dump] dicts|filters|modes
              Lists available dictionaries, filters, or modes.

       dump|create|merge master|personal|repl
              dump,  create,  or merge a master, personal, or replacement word
              list.

First, let’s see how to install it, in case it’s not already install on your Linux desktop or laptop. If you are using Ubuntu you just execute the command # sudo apt-get install aspell. If you are using Fedora Core or a Linux flavor derived from Red Hat Linux you execute # yum install aspell. If you are using a different distribution of Linux please look for a binary package of aspell or head to the project’s website and download the source version and compile it. I will now proceed with the assumption that you have aspell installed.

 Get Started

Now that you have aspell installed you may begin using it. The simplest form of usage for this utility is with the following command structure: # aspell check filename.txt. This would translate to something like the following, if you wanted to check for spelling mistakes in a file called kalitut.html:

# aspell check kalitut.html
aspell check

aspell will go through the document and check it for spelling mistakes and return with an interactive interface where you can go through the document at hand and aspell will suggest spelling correction options. This interface is very easy to use and all the instructions are visible at all times. aspell‘s suggested spelling options will be available as numbers, as well as options to ignore a particular instance of the spelling or all of its instances.

When you are done with checking and correcting the spelling errors you can either hit x to save the changes and exit the document, or you can hit b to abort the session without saving the changes you made.
Adding More Dictionaries

You may have some basic dictionary installed along with the installation of aspell, however, there are several dictionaries available to be installed. To see some of the ones available to you execute the command # sudo apt-cache search aspell if on Ubuntu, or # yum search aspell on Fedora. You can download additional dictionaries and improve your database of words.
aspell Dictionaries

Labels:

Post a Comment

[blogger]

Author Name

{picture#YOUR_PROFILE_PICTURE_URL} YOUR_PROFILE_DESCRIPTION {facebook#https://www.facebook.com/wTsXDev} {twitter#https://twitter.com/wTsDev} {google#https://plus.google.com/u/0/+AnonSalame} {pinterest#https://www.pinterest.com/Thexwts/} {youtube#https://www.youtube.com/channel/UCg2fUa8Yp-aWDCJYQTVHmBg}

Contact Form

Name

Email *

Message *

Powered by Blogger.