Skip to content

jwilk/anorack

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
doc
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Overview

The English language has two indefinite articles:

  • a: used before words that begin with a consonant sound (e.g., a program, a host, a user);
  • an: used before words that begin with a vowel sound (e.g., an example, an hour, an undefined variable).

anorack is a specialized spell-checker that finds incorrect indefinite articles:

$ cat test
a Ubuntu user
a 8-byte word
an username

$ anorack test
test:1: a Ubuntu -> an Ubuntu /u:b'u:ntu:/
test:2: a 8 -> an 8 /'eIt/
test:3: an username -> a username /j'u:z3n,eIm/

Prerequisites

Installation

You can use anorack without installing it, straight out of unpacked source tarball or a VCS checkout.

It's also possible to install it system-wide with:

# make install

By default, make install installs the package to /usr/local. You can specify a different installation prefix by setting the PREFIX variable, e.g.:

$ make install PREFIX="$HOME/.local"