Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.14 KB

File metadata and controls

61 lines (45 loc) · 1.14 KB

anorack

“a” vs “an” checker

manual section:1
Version: anorack 0.3
Date: 2023-01-16

Synopsis

anorack [option...] [file...]

Description

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.

Options

-e Exit with non-zero status if any incorrect articles were found.
--ipa Print phonemes using IPA (International Phonetic Alphabet) instead of ASCII phoneme mnemonics.
-h, --help Show help message and exit.
--version Show version information and exit.

Example

$ 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/

See also

espeak(1)