Here's another useful command liner utility that can check and correct spelling of a file.
How to check the spelling of a HTML file from terminal?
How to check the spelling of a Latex file from terminal?
How to check the spelling of a nroff/troff file from terminal?
How to check spelling of a file interactively from terminal?
Hunspell is a linux command line checker, stemmer and morphological analyzer linux tools. Hunspell is based on Ispell’s algorithms and OpenOffice.org’s Myspell source code.
HUNSPELL INSTALLATION
=====================
How to install hunspell checking tool?# yum -y install hunspell
HUNSPELL SPELL CHECK USAGE AND SAMPLES
==========================
How to spell check a text file from terminal?# hunspell testfile.txt
How to spell check a HTML/SGML file from CLI?# hunspell -H *.html
# hunspell -H index.html
How to spell check with URL checking?# hunspell --check-url index.htm
How to spell check a file and add a personal dictionary?# hunspell -p myowndictionary.txt bigtext.txt
Below are several interactive function keys inside hunspell shell checking in text mode:
R Replace the misspelled word completely.
Space Accept the word this time only.
A Accept the word for the rest of this hunspell session.
I Accept the word, capitalized as it is in the file, and update private dictionary.
U Accept the word, and add an uncapitalized (actually, all lower-case) version to the
private dictionary.
0-n Replace with one of the suggested words.
L Look up words in system dictionary (controlled by the WORDS compilation option).
X Write the rest of this file, ignoring misspellings, and start next file.
Q Exit immediately and leave the file unchanged.
! Shell escape (not implemented).
^L Redraw screen.
^Z Suspend ispell.
? Give help screen.
It's fun and poweful terminal-based spell checker tool, you should try it!
RELATED:
This blog entry is also an alternative to related posting take here.
HTH
Subscription
Categories
- HowTos (612)
- Linux Devices (40)
- Linux Diggs (620)
- Linux News (1541)
- Linux Videos (24)
Recent Posts
Blog Archive
-
▼
2007
(340)
-
▼
November
(39)
- HowTo: Strip directory path and filename suffix
- HowTo: Get the Filename Extension Only
- Tailf - watch the linux log file grows
- Fedora 8 with Enlightenment Window Manager
- HowTo: ScreenCasts & Desktop Records via Istanbul
- HowTo: Record Desktop Session via Byzanz
- Linux Scorched 3D Tank Game
- Linux Atomic Battle Tank Game
- HowTo: Display a Tree of Linux Processes
- Howto: 3 Easy Install Steps of Microsoft Fonts in ...
- Howto: Convert PDF to HTML/XML/PNG in Linux
- Livna Repository on Fedora 8
- Linux Action Flight Simulator Game
- Splitting and Merging Multiple Linux Files
- Sort Nth Position of Nth Column of a File in Linux
- Stop, Pause, and Continue A Linux Process
- File Creation without File Opening in Linux
- Concatenate Multiple Files in Linux
- Renaming Files in Linux
- Linux Power Consumption Analysis Tool
- Tail and Head Few Lines of Text Files
- Three Easy Steps for Opera on Fedora 8
- Alternative Search and Replace Tool
- Display Lines Beginning with a Given String
- Spell Check Files via Terminal - Install Howto
- Display Linux Session Jobs
- Get Linux Disk Space and Usage
- Change Linux RunLevels Howto
- Audacious - Install Howto
- Amarok - Howto Install
- Sun Java on Fedora 8 Install HowTo
- My Fedora 8 Diary
- Chikka on Kopete Messenger Howto
- Linux Files and Folders Local Copying
- Linux folders and directories recursive removal
- MailX - Mail Facility via Terminal
- Time zone values interpretation
- Retrieving Linux Standard Base and Distro Information
- Fedora Firstboot
-
▼
November
(39)
Tuesday, November 20, 2007
Spell Check Files via Terminal - Install Howto
Subscribe to:
Post Comments (Atom)
ILoveTux - howtos and news | About | Contact | TOS | Policy
0 comments:
Post a Comment