|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T a
Length: 2420 (0x974) Types: TextFile Names: »autopun.man.orig«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Autopun/autopun.man.orig«
autopun - Phonetically Reparse an English Phrase SYNTAX autopun [-e English_dict] [-p Phone_dict] autopun [-e English_dict] -c -p Phone_dict OPTIONS -e specifies which English word list to read instead of the default, /usr/dict/words. -p specifies the encoded phonetic word list to read instead of an English word list (see -c). -c creates (rather than reads) the given phonetic word list. The -c option requires that the -p option be used. (this is how a phonetic word list is created.) DESCRIPTION Autopun generates (to standard-out) a table of phonetic reparsings of the given English phrase (from standard-in). The table is useful for generating rebus, punch-lines for shaggy-dog stories, and other perversions of spoken English. For efficiency, autopun can read from a previously-encoded phonetic word list rather than an unencoded English dictionary. EXAMPLES $ autopun -c -p phdict If the phrase "Merry Christmas" is typed as standard-input to the above command, autopun will generate the following table and (as a side-effect) create the phonetic word list, phdict, for later use. Merry Christmas 00: merry:04 murre:03 moo:02 02: wreak:05 rick:05 reek:05 re:04 03: eke:05 04: Christmas:$ Christ:09 05: wrist:09 re:07 07: St.:09 St:09 09: mush:$ mouse:$ moss:$ mass:$ mash:$ To (manually) generate a new phrase from the above table, start at the list marked "0". Pick an interesting word from that list, such as "moo". Go to the list whose number appears to the right of the selected word (list 02 in this case). Repeat the process until the table says to go to list "$". Following this procedure might produce the phrase "Moo wreak wrist moss". SPECIAL CONSIDERATIONS Autopun blindly believes that the word list contains all interesting words and that everything in the word list is interesting. Careful editing of the English word list can correct these problems. Autopun doesn't know how to pronounce abbreviations, punctuation, or numerals. This man page is not in Man format because our copy of the man macros has been "improved" to the point that I cannot generate a standard man page. Credit goes to nroff for having a macro language obscure enough to be a temptation to the undisciplined. FILES /usr/dict/words