american-english(5)

โœจ american-english โ€” a list of English words ๐Ÿ’–

okay bestie, welcome to american-english(5) from the Users' Manual, and honestly? this one's a vibe. it's a page about a word list. like, just words. thousands of them. let's go ๐Ÿฆ‹


๐ŸŒธ NAME ๐ŸŒธ

american-english โ€” literally just a list of English words. that's it. that's the whole thing. and yet, iconic ๐Ÿ‘‘


๐Ÿ’… DESCRIPTION ๐Ÿ’…

so /usr/share/dict/american-english is an ASCII file, and inside it is an alphabetic list of words, one per line. no metadata, no drama, no hidden formatting. just vibes and vocabulary. ๐ŸŽ€


๐Ÿ—‚๏ธ FILES ๐Ÿ—‚๏ธ

okay so here's where it gets a little spicy, because there can be any number of word lists chillin' in /usr/share/dict/. like, the whole squad is in there. ๐Ÿ’œ

  • /etc/dictionaries-common/words is a symbolic link to the currently-chosen /usr/share/dict/<language> file.
  • /usr/share/dict/words is a symbolic link to /etc/dictionaries-common/words, and this is the name that other software should use when it wants to refer to the system word list. that's the main character name, fr fr. โญ

if you wanna know more, or if you literally want to change the currently-chosen word list, go check out select-default-wordlist(8). she'll hook you up.

also!! the directory /usr/share/dict can hold word lists for many languages, and the filenames use the language's name in English. so for example, /usr/share/dict/french and /usr/share/dict/danish contain lists of French and Danish words respectively โ€” if they exist. ๐Ÿ™ˆ

no cap: such lists should be coded using the ISO 8859-1 character set encoding. that's the rule. don't come at me.

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

go read these too, bestie, they're part of the lore:


๐Ÿ“œ HISTORY ๐Ÿ“œ

the word lists are not specific, and they may be generated from any number of sources. so don't go asking where any single word came from, because honestly? nobody's keeping receipts. ๐Ÿ’€

and here's a throwback for the girlies: the system word list used to be /usr/dict/words. so for compatibility, software should check that location if /usr/share/dict/words does not exist. legacy support, we love to see it. ๐Ÿซถ


๐Ÿงš AUTHOR ๐Ÿงš

word lists are collected and maintained by various authors โ€” it's a group project, and yes, everyone did their part. ๐ŸŽ€

the Debian English word lists are built from the SCOWL (Spell-Checker Oriented Word Lists) package, whose upstream editor is Kevin Atkinson <kevina@users.sourceforge.net>. give her her flowers. ๐Ÿ’


and that's the whole page, babes ๐Ÿ’– this one came from Debian and it's dated 16 June 2003 โ€” oldie but a goodie. mwah, drink water, and go read a dictionary. ๐ŸŒˆโœจ