Automatic document classification is a type of computer program that attempts to sort documents into certain categories, like "sports," "recipes," or "fiction." The program does this by reading through the documents and analyzing them for certain words or topics that should be associated with the categories. For example, a sports document would likely include words like "team," "player," and "score," while a fiction document would likely include words like "story," "plot," and "character.