Home » Archimedes archive » Acorn User » AU 1998-10.adf » Regulars » StarInfo/nonsense/gibber_txt

StarInfo/nonsense/gibber_txt

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1998-10.adf » Regulars
Filename: StarInfo/nonsense/gibber_txt
Read OK:
File size: 195E bytes
Load address: 0000
Exec address: 0000
File contents
Mark Adcock's Programmer's Gibberish about his Gibberish Program
================================================================ 19/6/98

Use
-=-
At the prompt, type in the number of sentances for the story, the filename and the title. Then read and laugh.


Details (Read if only *very* interested!)
-=====-
There is no AI or clever techniques to this program, but *lots* of little fiddly bits. It has lists of verbs, nouns and adjectives and it strings them together according to several hard coded sentance structures. The program may put a relative clause after an object, either in brackets or seperated by commas. This sentances can start in a number of ways. A random word such as "then","eventually" or "maybe" can be added to the front. Alternatively, the program may put a sentance with a participle at the start. Eg "Having ate a rabbit, the fox died"

There are several distinct sentance structures (detailed below):
a) Ones consisting simply of verbs and nouns, relatives and adjectives
b) ones like "<noun> <verb> that <sentance>" (eg "Another rabbit saw that the fox had died") or "when/after/because/since <noun> <verb> that <sentance>, <sentance>" (eg "When the other rabbit had seen that the fox had died, it was happy")
c) Ones like "<noun> <verb> <adjective>" - eg "The Rabbit was happy"
d) Ones like "<noun> <verb> so <adjective> <sentance>" - eg "The Rabbit was so happy that it didn't notice the other fox creeping up behind it"
e) Ones like "<noun> <verb> more <adjective> than <noun>" - eg "The other fox was more cunning than the other fox"
f) "<noun> verb> so more <adjective> than <noun> that <sentance>" - eg "The other fox was so more intelligent than the rabbit that it caught it"
g) "<noun> '<Sentance>'" - eg "The other fox said 'That rabbit tasted good'"

To allow the program to make some vague sense, each object (noun,verb or adjective) also has a control word:

For Nouns:
---------
           bits 0+1 : gender 00=neuter
                             01=male
                             10=female
                       (this is needed to correctly substitute 'he','she','it' and 'himself','herself','itself')
                       
           bit  2   :  if true, noun is a propor noun (In which case, the program doesn't put an adjective or 'the','a','another' or 'the other' before it

           bit  3   :  must be 0. (originally had meaning, now obsolete)

           bit  4   :  must be 1. (originally had meaning, now obsolete)

           bit  5   :  if true, don't used as subject of sentance 

           bit  6   :  if true, ok to use after a verb with no preposition 

           bit  7   :  if true, ok to use after a verb with "to"

           bit  8   :  if true, ok to use after a verb with "from"
           
           bit  9   :  if true, ok to use after a verb with "with"
           

For Adjectives:
---------------

           bit  0   :  if true, can use adjective with neuter word (stops "the excited desk")
           
           bit  1   :  if true, can use adjective with masculine word (stops "the beautiful man")
           
           bit  2   :  if true, can use adjective with feminine word (stops "the handsome woman")


For Verbs:
----------

Each bit, if true, says whether a verb can be used with a particular sentance structure:

 Bit        Sentance type
 ===        =============                 
  0   -  <verb> <adjective>
  1   -  <verb> that <phrase>, <phrase>
  2   -  <verb> to <infinitive sentance> � 
  3   -  <verb> <noun>
  4   -  <verb> <noun> to <noun>
  5   -  <verb> with <noun> to <noun>
  6   -  <verb> with <noun>
  7   -  <verb> <noun> with <noun>
  8   -  <verb> to <noun>
  9   -  <verb> with <noun> to <noun> from <noun>
  10  -  <verb> "<sentance>"
  11  -  <verb> <noun> from <noun>
  12  -  <verb> <noun> with <noun> to <noun>
  13  -  <verb> <noun> from <noun> to <noun>
  14  -  <verb> <noun> with <noun> to <noun> from <noun>
  15  -  <verb> from <noun>
  16  -  <verb> from <noun> to <noun>
  17  -  <verb> with <noun> from <noun>
  18  -  <verb> <noun> from <noun> with <noun>   
  19  -  <verb>
  

[ � I never got around to "<noun> <verb> <sentance in infinitive>" (Eg "The other Fox began to feel ill"), but the bit remains.]

Other Details
-------------

This pogram has to do loads of fiddly things to make the output realistic:

* The relatives work by calling the main sentance PROCedure with a flag set to stop you getting nested relatives

* The first time it uses a noun, it outputs "a <noun>". The next time is says "another", then it oscillates between "the" and "the other". Periodically it forgets and starts again with "a"

* If during the same sentance the program tries to use the same noun as an object, it will write "itself" etc. Just before a relative clause, the program stores the data about which object it's used so far in the sentance and then resets them to 0. After the end of the relative clause, it loads them again. So you *could* get "The mouse (which had realised that another cat had hurt itself) decided to hit itself with another cat" rather than "The mouse (which had realised that another cat had hurt itself) decided to hurt itself with itself", which sounds *too* silly)


* The quotes nest themselves, and are paired. Eg. "the other annoying  monster said �When The lion had seen that another boy went to the other tiger the angry rabbit said �Another young dog had thrown MicroSoft to a short surrounding area��" (actual sentance from program). This adds a certain 'style' to the nonsense.

* The program changes "a" to "an" when appropriate

* When picking a noun for use after a verb, there is a greater chance that it will pick one it hasn't used in that sentance already.

* It tries not to repeat adjectives in the same sentance

* It tries not to do a sentance like "when mark realised that a rabbit had noticed that a fox had found out that the other fox was dead"




[ I'm afraid I had to squish this program, so it may not be very readable. But it's not the sort of program you'd want to read, because there are no new or exciting techniques there. The list of words is also very small ]



PS:   Try changing PROCPRINT so it outputs the text to a speech synthesiser: For Sensible Software's one you'd do this-

           DEF PROCPRINT(s$)
           OSCLI "sayw "+s$
           ENDPROC

( I think it would be good to make it multitasking and get it to say a few sentances every minute or so  :)






 

     

    













00000000  4d 61 72 6b 20 41 64 63  6f 63 6b 27 73 20 50 72  |Mark Adcock's Pr|
00000010  6f 67 72 61 6d 6d 65 72  27 73 20 47 69 62 62 65  |ogrammer's Gibbe|
00000020  72 69 73 68 20 61 62 6f  75 74 20 68 69 73 20 47  |rish about his G|
00000030  69 62 62 65 72 69 73 68  20 50 72 6f 67 72 61 6d  |ibberish Program|
00000040  0a 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |.===============|
00000050  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000080  3d 20 31 39 2f 36 2f 39  38 0a 0a 55 73 65 0a 2d  |= 19/6/98..Use.-|
00000090  3d 2d 0a 41 74 20 74 68  65 20 70 72 6f 6d 70 74  |=-.At the prompt|
000000a0  2c 20 74 79 70 65 20 69  6e 20 74 68 65 20 6e 75  |, type in the nu|
000000b0  6d 62 65 72 20 6f 66 20  73 65 6e 74 61 6e 63 65  |mber of sentance|
000000c0  73 20 66 6f 72 20 74 68  65 20 73 74 6f 72 79 2c  |s for the story,|
000000d0  20 74 68 65 20 66 69 6c  65 6e 61 6d 65 20 61 6e  | the filename an|
000000e0  64 20 74 68 65 20 74 69  74 6c 65 2e 20 54 68 65  |d the title. The|
000000f0  6e 20 72 65 61 64 20 61  6e 64 20 6c 61 75 67 68  |n read and laugh|
00000100  2e 0a 0a 0a 44 65 74 61  69 6c 73 20 28 52 65 61  |....Details (Rea|
00000110  64 20 69 66 20 6f 6e 6c  79 20 2a 76 65 72 79 2a  |d if only *very*|
00000120  20 69 6e 74 65 72 65 73  74 65 64 21 29 0a 2d 3d  | interested!).-=|
00000130  3d 3d 3d 3d 2d 0a 54 68  65 72 65 20 69 73 20 6e  |====-.There is n|
00000140  6f 20 41 49 20 6f 72 20  63 6c 65 76 65 72 20 74  |o AI or clever t|
00000150  65 63 68 6e 69 71 75 65  73 20 74 6f 20 74 68 69  |echniques to thi|
00000160  73 20 70 72 6f 67 72 61  6d 2c 20 62 75 74 20 2a  |s program, but *|
00000170  6c 6f 74 73 2a 20 6f 66  20 6c 69 74 74 6c 65 20  |lots* of little |
00000180  66 69 64 64 6c 79 20 62  69 74 73 2e 20 49 74 20  |fiddly bits. It |
00000190  68 61 73 20 6c 69 73 74  73 20 6f 66 20 76 65 72  |has lists of ver|
000001a0  62 73 2c 20 6e 6f 75 6e  73 20 61 6e 64 20 61 64  |bs, nouns and ad|
000001b0  6a 65 63 74 69 76 65 73  20 61 6e 64 20 69 74 20  |jectives and it |
000001c0  73 74 72 69 6e 67 73 20  74 68 65 6d 20 74 6f 67  |strings them tog|
000001d0  65 74 68 65 72 20 61 63  63 6f 72 64 69 6e 67 20  |ether according |
000001e0  74 6f 20 73 65 76 65 72  61 6c 20 68 61 72 64 20  |to several hard |
000001f0  63 6f 64 65 64 20 73 65  6e 74 61 6e 63 65 20 73  |coded sentance s|
00000200  74 72 75 63 74 75 72 65  73 2e 20 54 68 65 20 70  |tructures. The p|
00000210  72 6f 67 72 61 6d 20 6d  61 79 20 70 75 74 20 61  |rogram may put a|
00000220  20 72 65 6c 61 74 69 76  65 20 63 6c 61 75 73 65  | relative clause|
00000230  20 61 66 74 65 72 20 61  6e 20 6f 62 6a 65 63 74  | after an object|
00000240  2c 20 65 69 74 68 65 72  20 69 6e 20 62 72 61 63  |, either in brac|
00000250  6b 65 74 73 20 6f 72 20  73 65 70 65 72 61 74 65  |kets or seperate|
00000260  64 20 62 79 20 63 6f 6d  6d 61 73 2e 20 54 68 69  |d by commas. Thi|
00000270  73 20 73 65 6e 74 61 6e  63 65 73 20 63 61 6e 20  |s sentances can |
00000280  73 74 61 72 74 20 69 6e  20 61 20 6e 75 6d 62 65  |start in a numbe|
00000290  72 20 6f 66 20 77 61 79  73 2e 20 41 20 72 61 6e  |r of ways. A ran|
000002a0  64 6f 6d 20 77 6f 72 64  20 73 75 63 68 20 61 73  |dom word such as|
000002b0  20 22 74 68 65 6e 22 2c  22 65 76 65 6e 74 75 61  | "then","eventua|
000002c0  6c 6c 79 22 20 6f 72 20  22 6d 61 79 62 65 22 20  |lly" or "maybe" |
000002d0  63 61 6e 20 62 65 20 61  64 64 65 64 20 74 6f 20  |can be added to |
000002e0  74 68 65 20 66 72 6f 6e  74 2e 20 41 6c 74 65 72  |the front. Alter|
000002f0  6e 61 74 69 76 65 6c 79  2c 20 74 68 65 20 70 72  |natively, the pr|
00000300  6f 67 72 61 6d 20 6d 61  79 20 70 75 74 20 61 20  |ogram may put a |
00000310  73 65 6e 74 61 6e 63 65  20 77 69 74 68 20 61 20  |sentance with a |
00000320  70 61 72 74 69 63 69 70  6c 65 20 61 74 20 74 68  |participle at th|
00000330  65 20 73 74 61 72 74 2e  20 45 67 20 22 48 61 76  |e start. Eg "Hav|
00000340  69 6e 67 20 61 74 65 20  61 20 72 61 62 62 69 74  |ing ate a rabbit|
00000350  2c 20 74 68 65 20 66 6f  78 20 64 69 65 64 22 0a  |, the fox died".|
00000360  0a 54 68 65 72 65 20 61  72 65 20 73 65 76 65 72  |.There are sever|
00000370  61 6c 20 64 69 73 74 69  6e 63 74 20 73 65 6e 74  |al distinct sent|
00000380  61 6e 63 65 20 73 74 72  75 63 74 75 72 65 73 20  |ance structures |
00000390  28 64 65 74 61 69 6c 65  64 20 62 65 6c 6f 77 29  |(detailed below)|
000003a0  3a 0a 61 29 20 4f 6e 65  73 20 63 6f 6e 73 69 73  |:.a) Ones consis|
000003b0  74 69 6e 67 20 73 69 6d  70 6c 79 20 6f 66 20 76  |ting simply of v|
000003c0  65 72 62 73 20 61 6e 64  20 6e 6f 75 6e 73 2c 20  |erbs and nouns, |
000003d0  72 65 6c 61 74 69 76 65  73 20 61 6e 64 20 61 64  |relatives and ad|
000003e0  6a 65 63 74 69 76 65 73  0a 62 29 20 6f 6e 65 73  |jectives.b) ones|
000003f0  20 6c 69 6b 65 20 22 3c  6e 6f 75 6e 3e 20 3c 76  | like "<noun> <v|
00000400  65 72 62 3e 20 74 68 61  74 20 3c 73 65 6e 74 61  |erb> that <senta|
00000410  6e 63 65 3e 22 20 28 65  67 20 22 41 6e 6f 74 68  |nce>" (eg "Anoth|
00000420  65 72 20 72 61 62 62 69  74 20 73 61 77 20 74 68  |er rabbit saw th|
00000430  61 74 20 74 68 65 20 66  6f 78 20 68 61 64 20 64  |at the fox had d|
00000440  69 65 64 22 29 20 6f 72  20 22 77 68 65 6e 2f 61  |ied") or "when/a|
00000450  66 74 65 72 2f 62 65 63  61 75 73 65 2f 73 69 6e  |fter/because/sin|
00000460  63 65 20 3c 6e 6f 75 6e  3e 20 3c 76 65 72 62 3e  |ce <noun> <verb>|
00000470  20 74 68 61 74 20 3c 73  65 6e 74 61 6e 63 65 3e  | that <sentance>|
00000480  2c 20 3c 73 65 6e 74 61  6e 63 65 3e 22 20 28 65  |, <sentance>" (e|
00000490  67 20 22 57 68 65 6e 20  74 68 65 20 6f 74 68 65  |g "When the othe|
000004a0  72 20 72 61 62 62 69 74  20 68 61 64 20 73 65 65  |r rabbit had see|
000004b0  6e 20 74 68 61 74 20 74  68 65 20 66 6f 78 20 68  |n that the fox h|
000004c0  61 64 20 64 69 65 64 2c  20 69 74 20 77 61 73 20  |ad died, it was |
000004d0  68 61 70 70 79 22 29 0a  63 29 20 4f 6e 65 73 20  |happy").c) Ones |
000004e0  6c 69 6b 65 20 22 3c 6e  6f 75 6e 3e 20 3c 76 65  |like "<noun> <ve|
000004f0  72 62 3e 20 3c 61 64 6a  65 63 74 69 76 65 3e 22  |rb> <adjective>"|
00000500  20 2d 20 65 67 20 22 54  68 65 20 52 61 62 62 69  | - eg "The Rabbi|
00000510  74 20 77 61 73 20 68 61  70 70 79 22 0a 64 29 20  |t was happy".d) |
00000520  4f 6e 65 73 20 6c 69 6b  65 20 22 3c 6e 6f 75 6e  |Ones like "<noun|
00000530  3e 20 3c 76 65 72 62 3e  20 73 6f 20 3c 61 64 6a  |> <verb> so <adj|
00000540  65 63 74 69 76 65 3e 20  3c 73 65 6e 74 61 6e 63  |ective> <sentanc|
00000550  65 3e 22 20 2d 20 65 67  20 22 54 68 65 20 52 61  |e>" - eg "The Ra|
00000560  62 62 69 74 20 77 61 73  20 73 6f 20 68 61 70 70  |bbit was so happ|
00000570  79 20 74 68 61 74 20 69  74 20 64 69 64 6e 27 74  |y that it didn't|
00000580  20 6e 6f 74 69 63 65 20  74 68 65 20 6f 74 68 65  | notice the othe|
00000590  72 20 66 6f 78 20 63 72  65 65 70 69 6e 67 20 75  |r fox creeping u|
000005a0  70 20 62 65 68 69 6e 64  20 69 74 22 0a 65 29 20  |p behind it".e) |
000005b0  4f 6e 65 73 20 6c 69 6b  65 20 22 3c 6e 6f 75 6e  |Ones like "<noun|
000005c0  3e 20 3c 76 65 72 62 3e  20 6d 6f 72 65 20 3c 61  |> <verb> more <a|
000005d0  64 6a 65 63 74 69 76 65  3e 20 74 68 61 6e 20 3c  |djective> than <|
000005e0  6e 6f 75 6e 3e 22 20 2d  20 65 67 20 22 54 68 65  |noun>" - eg "The|
000005f0  20 6f 74 68 65 72 20 66  6f 78 20 77 61 73 20 6d  | other fox was m|
00000600  6f 72 65 20 63 75 6e 6e  69 6e 67 20 74 68 61 6e  |ore cunning than|
00000610  20 74 68 65 20 6f 74 68  65 72 20 66 6f 78 22 0a  | the other fox".|
00000620  66 29 20 22 3c 6e 6f 75  6e 3e 20 76 65 72 62 3e  |f) "<noun> verb>|
00000630  20 73 6f 20 6d 6f 72 65  20 3c 61 64 6a 65 63 74  | so more <adject|
00000640  69 76 65 3e 20 74 68 61  6e 20 3c 6e 6f 75 6e 3e  |ive> than <noun>|
00000650  20 74 68 61 74 20 3c 73  65 6e 74 61 6e 63 65 3e  | that <sentance>|
00000660  22 20 2d 20 65 67 20 22  54 68 65 20 6f 74 68 65  |" - eg "The othe|
00000670  72 20 66 6f 78 20 77 61  73 20 73 6f 20 6d 6f 72  |r fox was so mor|
00000680  65 20 69 6e 74 65 6c 6c  69 67 65 6e 74 20 74 68  |e intelligent th|
00000690  61 6e 20 74 68 65 20 72  61 62 62 69 74 20 74 68  |an the rabbit th|
000006a0  61 74 20 69 74 20 63 61  75 67 68 74 20 69 74 22  |at it caught it"|
000006b0  0a 67 29 20 22 3c 6e 6f  75 6e 3e 20 27 3c 53 65  |.g) "<noun> '<Se|
000006c0  6e 74 61 6e 63 65 3e 27  22 20 2d 20 65 67 20 22  |ntance>'" - eg "|
000006d0  54 68 65 20 6f 74 68 65  72 20 66 6f 78 20 73 61  |The other fox sa|
000006e0  69 64 20 27 54 68 61 74  20 72 61 62 62 69 74 20  |id 'That rabbit |
000006f0  74 61 73 74 65 64 20 67  6f 6f 64 27 22 0a 0a 54  |tasted good'"..T|
00000700  6f 20 61 6c 6c 6f 77 20  74 68 65 20 70 72 6f 67  |o allow the prog|
00000710  72 61 6d 20 74 6f 20 6d  61 6b 65 20 73 6f 6d 65  |ram to make some|
00000720  20 76 61 67 75 65 20 73  65 6e 73 65 2c 20 65 61  | vague sense, ea|
00000730  63 68 20 6f 62 6a 65 63  74 20 28 6e 6f 75 6e 2c  |ch object (noun,|
00000740  76 65 72 62 20 6f 72 20  61 64 6a 65 63 74 69 76  |verb or adjectiv|
00000750  65 29 20 61 6c 73 6f 20  68 61 73 20 61 20 63 6f  |e) also has a co|
00000760  6e 74 72 6f 6c 20 77 6f  72 64 3a 0a 0a 46 6f 72  |ntrol word:..For|
00000770  20 4e 6f 75 6e 73 3a 0a  2d 2d 2d 2d 2d 2d 2d 2d  | Nouns:.--------|
00000780  2d 0a 20 20 20 20 20 20  20 20 20 20 20 62 69 74  |-.           bit|
00000790  73 20 30 2b 31 20 3a 20  67 65 6e 64 65 72 20 30  |s 0+1 : gender 0|
000007a0  30 3d 6e 65 75 74 65 72  0a 20 20 20 20 20 20 20  |0=neuter.       |
000007b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000007c0  20 20 20 20 20 20 30 31  3d 6d 61 6c 65 0a 20 20  |      01=male.  |
000007d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000007e0  20 20 20 20 20 20 20 20  20 20 20 31 30 3d 66 65  |           10=fe|
000007f0  6d 61 6c 65 0a 20 20 20  20 20 20 20 20 20 20 20  |male.           |
00000800  20 20 20 20 20 20 20 20  20 20 20 20 28 74 68 69  |            (thi|
00000810  73 20 69 73 20 6e 65 65  64 65 64 20 74 6f 20 63  |s is needed to c|
00000820  6f 72 72 65 63 74 6c 79  20 73 75 62 73 74 69 74  |orrectly substit|
00000830  75 74 65 20 27 68 65 27  2c 27 73 68 65 27 2c 27  |ute 'he','she','|
00000840  69 74 27 20 61 6e 64 20  27 68 69 6d 73 65 6c 66  |it' and 'himself|
00000850  27 2c 27 68 65 72 73 65  6c 66 27 2c 27 69 74 73  |','herself','its|
00000860  65 6c 66 27 29 0a 20 20  20 20 20 20 20 20 20 20  |elf').          |
00000870  20 20 20 20 20 20 20 20  20 20 20 20 20 0a 20 20  |             .  |
00000880  20 20 20 20 20 20 20 20  20 62 69 74 20 20 32 20  |         bit  2 |
00000890  20 20 3a 20 20 69 66 20  74 72 75 65 2c 20 6e 6f  |  :  if true, no|
000008a0  75 6e 20 69 73 20 61 20  70 72 6f 70 6f 72 20 6e  |un is a propor n|
000008b0  6f 75 6e 20 28 49 6e 20  77 68 69 63 68 20 63 61  |oun (In which ca|
000008c0  73 65 2c 20 74 68 65 20  70 72 6f 67 72 61 6d 20  |se, the program |
000008d0  64 6f 65 73 6e 27 74 20  70 75 74 20 61 6e 20 61  |doesn't put an a|
000008e0  64 6a 65 63 74 69 76 65  20 6f 72 20 27 74 68 65  |djective or 'the|
000008f0  27 2c 27 61 27 2c 27 61  6e 6f 74 68 65 72 27 20  |','a','another' |
00000900  6f 72 20 27 74 68 65 20  6f 74 68 65 72 27 20 62  |or 'the other' b|
00000910  65 66 6f 72 65 20 69 74  0a 0a 20 20 20 20 20 20  |efore it..      |
00000920  20 20 20 20 20 62 69 74  20 20 33 20 20 20 3a 20  |     bit  3   : |
00000930  20 6d 75 73 74 20 62 65  20 30 2e 20 28 6f 72 69  | must be 0. (ori|
00000940  67 69 6e 61 6c 6c 79 20  68 61 64 20 6d 65 61 6e  |ginally had mean|
00000950  69 6e 67 2c 20 6e 6f 77  20 6f 62 73 6f 6c 65 74  |ing, now obsolet|
00000960  65 29 0a 0a 20 20 20 20  20 20 20 20 20 20 20 62  |e)..           b|
00000970  69 74 20 20 34 20 20 20  3a 20 20 6d 75 73 74 20  |it  4   :  must |
00000980  62 65 20 31 2e 20 28 6f  72 69 67 69 6e 61 6c 6c  |be 1. (originall|
00000990  79 20 68 61 64 20 6d 65  61 6e 69 6e 67 2c 20 6e  |y had meaning, n|
000009a0  6f 77 20 6f 62 73 6f 6c  65 74 65 29 0a 0a 20 20  |ow obsolete)..  |
000009b0  20 20 20 20 20 20 20 20  20 62 69 74 20 20 35 20  |         bit  5 |
000009c0  20 20 3a 20 20 69 66 20  74 72 75 65 2c 20 64 6f  |  :  if true, do|
000009d0  6e 27 74 20 75 73 65 64  20 61 73 20 73 75 62 6a  |n't used as subj|
000009e0  65 63 74 20 6f 66 20 73  65 6e 74 61 6e 63 65 20  |ect of sentance |
000009f0  0a 0a 20 20 20 20 20 20  20 20 20 20 20 62 69 74  |..           bit|
00000a00  20 20 36 20 20 20 3a 20  20 69 66 20 74 72 75 65  |  6   :  if true|
00000a10  2c 20 6f 6b 20 74 6f 20  75 73 65 20 61 66 74 65  |, ok to use afte|
00000a20  72 20 61 20 76 65 72 62  20 77 69 74 68 20 6e 6f  |r a verb with no|
00000a30  20 70 72 65 70 6f 73 69  74 69 6f 6e 20 0a 0a 20  | preposition .. |
00000a40  20 20 20 20 20 20 20 20  20 20 62 69 74 20 20 37  |          bit  7|
00000a50  20 20 20 3a 20 20 69 66  20 74 72 75 65 2c 20 6f  |   :  if true, o|
00000a60  6b 20 74 6f 20 75 73 65  20 61 66 74 65 72 20 61  |k to use after a|
00000a70  20 76 65 72 62 20 77 69  74 68 20 22 74 6f 22 0a  | verb with "to".|
00000a80  0a 20 20 20 20 20 20 20  20 20 20 20 62 69 74 20  |.           bit |
00000a90  20 38 20 20 20 3a 20 20  69 66 20 74 72 75 65 2c  | 8   :  if true,|
00000aa0  20 6f 6b 20 74 6f 20 75  73 65 20 61 66 74 65 72  | ok to use after|
00000ab0  20 61 20 76 65 72 62 20  77 69 74 68 20 22 66 72  | a verb with "fr|
00000ac0  6f 6d 22 0a 20 20 20 20  20 20 20 20 20 20 20 0a  |om".           .|
00000ad0  20 20 20 20 20 20 20 20  20 20 20 62 69 74 20 20  |           bit  |
00000ae0  39 20 20 20 3a 20 20 69  66 20 74 72 75 65 2c 20  |9   :  if true, |
00000af0  6f 6b 20 74 6f 20 75 73  65 20 61 66 74 65 72 20  |ok to use after |
00000b00  61 20 76 65 72 62 20 77  69 74 68 20 22 77 69 74  |a verb with "wit|
00000b10  68 22 0a 20 20 20 20 20  20 20 20 20 20 20 0a 0a  |h".           ..|
00000b20  46 6f 72 20 41 64 6a 65  63 74 69 76 65 73 3a 0a  |For Adjectives:.|
00000b30  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
00000b40  0a 20 20 20 20 20 20 20  20 20 20 20 62 69 74 20  |.           bit |
00000b50  20 30 20 20 20 3a 20 20  69 66 20 74 72 75 65 2c  | 0   :  if true,|
00000b60  20 63 61 6e 20 75 73 65  20 61 64 6a 65 63 74 69  | can use adjecti|
00000b70  76 65 20 77 69 74 68 20  6e 65 75 74 65 72 20 77  |ve with neuter w|
00000b80  6f 72 64 20 28 73 74 6f  70 73 20 22 74 68 65 20  |ord (stops "the |
00000b90  65 78 63 69 74 65 64 20  64 65 73 6b 22 29 0a 20  |excited desk"). |
00000ba0  20 20 20 20 20 20 20 20  20 20 0a 20 20 20 20 20  |          .     |
00000bb0  20 20 20 20 20 20 62 69  74 20 20 31 20 20 20 3a  |      bit  1   :|
00000bc0  20 20 69 66 20 74 72 75  65 2c 20 63 61 6e 20 75  |  if true, can u|
00000bd0  73 65 20 61 64 6a 65 63  74 69 76 65 20 77 69 74  |se adjective wit|
00000be0  68 20 6d 61 73 63 75 6c  69 6e 65 20 77 6f 72 64  |h masculine word|
00000bf0  20 28 73 74 6f 70 73 20  22 74 68 65 20 62 65 61  | (stops "the bea|
00000c00  75 74 69 66 75 6c 20 6d  61 6e 22 29 0a 20 20 20  |utiful man").   |
00000c10  20 20 20 20 20 20 20 20  0a 20 20 20 20 20 20 20  |        .       |
00000c20  20 20 20 20 62 69 74 20  20 32 20 20 20 3a 20 20  |    bit  2   :  |
00000c30  69 66 20 74 72 75 65 2c  20 63 61 6e 20 75 73 65  |if true, can use|
00000c40  20 61 64 6a 65 63 74 69  76 65 20 77 69 74 68 20  | adjective with |
00000c50  66 65 6d 69 6e 69 6e 65  20 77 6f 72 64 20 28 73  |feminine word (s|
00000c60  74 6f 70 73 20 22 74 68  65 20 68 61 6e 64 73 6f  |tops "the handso|
00000c70  6d 65 20 77 6f 6d 61 6e  22 29 0a 0a 0a 46 6f 72  |me woman")...For|
00000c80  20 56 65 72 62 73 3a 0a  2d 2d 2d 2d 2d 2d 2d 2d  | Verbs:.--------|
00000c90  2d 2d 0a 0a 45 61 63 68  20 62 69 74 2c 20 69 66  |--..Each bit, if|
00000ca0  20 74 72 75 65 2c 20 73  61 79 73 20 77 68 65 74  | true, says whet|
00000cb0  68 65 72 20 61 20 76 65  72 62 20 63 61 6e 20 62  |her a verb can b|
00000cc0  65 20 75 73 65 64 20 77  69 74 68 20 61 20 70 61  |e used with a pa|
00000cd0  72 74 69 63 75 6c 61 72  20 73 65 6e 74 61 6e 63  |rticular sentanc|
00000ce0  65 20 73 74 72 75 63 74  75 72 65 3a 0a 0a 20 42  |e structure:.. B|
00000cf0  69 74 20 20 20 20 20 20  20 20 53 65 6e 74 61 6e  |it        Sentan|
00000d00  63 65 20 74 79 70 65 0a  20 3d 3d 3d 20 20 20 20  |ce type. ===    |
00000d10  20 20 20 20 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |    ============|
00000d20  3d 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |=               |
00000d30  20 20 0a 20 20 30 20 20  20 2d 20 20 3c 76 65 72  |  .  0   -  <ver|
00000d40  62 3e 20 3c 61 64 6a 65  63 74 69 76 65 3e 0a 20  |b> <adjective>. |
00000d50  20 31 20 20 20 2d 20 20  3c 76 65 72 62 3e 20 74  | 1   -  <verb> t|
00000d60  68 61 74 20 3c 70 68 72  61 73 65 3e 2c 20 3c 70  |hat <phrase>, <p|
00000d70  68 72 61 73 65 3e 0a 20  20 32 20 20 20 2d 20 20  |hrase>.  2   -  |
00000d80  3c 76 65 72 62 3e 20 74  6f 20 3c 69 6e 66 69 6e  |<verb> to <infin|
00000d90  69 74 69 76 65 20 73 65  6e 74 61 6e 63 65 3e 20  |itive sentance> |
00000da0  9c 20 0a 20 20 33 20 20  20 2d 20 20 3c 76 65 72  |. .  3   -  <ver|
00000db0  62 3e 20 3c 6e 6f 75 6e  3e 0a 20 20 34 20 20 20  |b> <noun>.  4   |
00000dc0  2d 20 20 3c 76 65 72 62  3e 20 3c 6e 6f 75 6e 3e  |-  <verb> <noun>|
00000dd0  20 74 6f 20 3c 6e 6f 75  6e 3e 0a 20 20 35 20 20  | to <noun>.  5  |
00000de0  20 2d 20 20 3c 76 65 72  62 3e 20 77 69 74 68 20  | -  <verb> with |
00000df0  3c 6e 6f 75 6e 3e 20 74  6f 20 3c 6e 6f 75 6e 3e  |<noun> to <noun>|
00000e00  0a 20 20 36 20 20 20 2d  20 20 3c 76 65 72 62 3e  |.  6   -  <verb>|
00000e10  20 77 69 74 68 20 3c 6e  6f 75 6e 3e 0a 20 20 37  | with <noun>.  7|
00000e20  20 20 20 2d 20 20 3c 76  65 72 62 3e 20 3c 6e 6f  |   -  <verb> <no|
00000e30  75 6e 3e 20 77 69 74 68  20 3c 6e 6f 75 6e 3e 0a  |un> with <noun>.|
00000e40  20 20 38 20 20 20 2d 20  20 3c 76 65 72 62 3e 20  |  8   -  <verb> |
00000e50  74 6f 20 3c 6e 6f 75 6e  3e 0a 20 20 39 20 20 20  |to <noun>.  9   |
00000e60  2d 20 20 3c 76 65 72 62  3e 20 77 69 74 68 20 3c  |-  <verb> with <|
00000e70  6e 6f 75 6e 3e 20 74 6f  20 3c 6e 6f 75 6e 3e 20  |noun> to <noun> |
00000e80  66 72 6f 6d 20 3c 6e 6f  75 6e 3e 0a 20 20 31 30  |from <noun>.  10|
00000e90  20 20 2d 20 20 3c 76 65  72 62 3e 20 22 3c 73 65  |  -  <verb> "<se|
00000ea0  6e 74 61 6e 63 65 3e 22  0a 20 20 31 31 20 20 2d  |ntance>".  11  -|
00000eb0  20 20 3c 76 65 72 62 3e  20 3c 6e 6f 75 6e 3e 20  |  <verb> <noun> |
00000ec0  66 72 6f 6d 20 3c 6e 6f  75 6e 3e 0a 20 20 31 32  |from <noun>.  12|
00000ed0  20 20 2d 20 20 3c 76 65  72 62 3e 20 3c 6e 6f 75  |  -  <verb> <nou|
00000ee0  6e 3e 20 77 69 74 68 20  3c 6e 6f 75 6e 3e 20 74  |n> with <noun> t|
00000ef0  6f 20 3c 6e 6f 75 6e 3e  0a 20 20 31 33 20 20 2d  |o <noun>.  13  -|
00000f00  20 20 3c 76 65 72 62 3e  20 3c 6e 6f 75 6e 3e 20  |  <verb> <noun> |
00000f10  66 72 6f 6d 20 3c 6e 6f  75 6e 3e 20 74 6f 20 3c  |from <noun> to <|
00000f20  6e 6f 75 6e 3e 0a 20 20  31 34 20 20 2d 20 20 3c  |noun>.  14  -  <|
00000f30  76 65 72 62 3e 20 3c 6e  6f 75 6e 3e 20 77 69 74  |verb> <noun> wit|
00000f40  68 20 3c 6e 6f 75 6e 3e  20 74 6f 20 3c 6e 6f 75  |h <noun> to <nou|
00000f50  6e 3e 20 66 72 6f 6d 20  3c 6e 6f 75 6e 3e 0a 20  |n> from <noun>. |
00000f60  20 31 35 20 20 2d 20 20  3c 76 65 72 62 3e 20 66  | 15  -  <verb> f|
00000f70  72 6f 6d 20 3c 6e 6f 75  6e 3e 0a 20 20 31 36 20  |rom <noun>.  16 |
00000f80  20 2d 20 20 3c 76 65 72  62 3e 20 66 72 6f 6d 20  | -  <verb> from |
00000f90  3c 6e 6f 75 6e 3e 20 74  6f 20 3c 6e 6f 75 6e 3e  |<noun> to <noun>|
00000fa0  0a 20 20 31 37 20 20 2d  20 20 3c 76 65 72 62 3e  |.  17  -  <verb>|
00000fb0  20 77 69 74 68 20 3c 6e  6f 75 6e 3e 20 66 72 6f  | with <noun> fro|
00000fc0  6d 20 3c 6e 6f 75 6e 3e  0a 20 20 31 38 20 20 2d  |m <noun>.  18  -|
00000fd0  20 20 3c 76 65 72 62 3e  20 3c 6e 6f 75 6e 3e 20  |  <verb> <noun> |
00000fe0  66 72 6f 6d 20 3c 6e 6f  75 6e 3e 20 77 69 74 68  |from <noun> with|
00000ff0  20 3c 6e 6f 75 6e 3e 20  20 20 0a 20 20 31 39 20  | <noun>   .  19 |
00001000  20 2d 20 20 3c 76 65 72  62 3e 0a 20 20 0a 0a 5b  | -  <verb>.  ..[|
00001010  20 9c 20 49 20 6e 65 76  65 72 20 67 6f 74 20 61  | . I never got a|
00001020  72 6f 75 6e 64 20 74 6f  20 22 3c 6e 6f 75 6e 3e  |round to "<noun>|
00001030  20 3c 76 65 72 62 3e 20  3c 73 65 6e 74 61 6e 63  | <verb> <sentanc|
00001040  65 20 69 6e 20 69 6e 66  69 6e 69 74 69 76 65 3e  |e in infinitive>|
00001050  22 20 28 45 67 20 22 54  68 65 20 6f 74 68 65 72  |" (Eg "The other|
00001060  20 46 6f 78 20 62 65 67  61 6e 20 74 6f 20 66 65  | Fox began to fe|
00001070  65 6c 20 69 6c 6c 22 29  2c 20 62 75 74 20 74 68  |el ill"), but th|
00001080  65 20 62 69 74 20 72 65  6d 61 69 6e 73 2e 5d 0a  |e bit remains.].|
00001090  0a 4f 74 68 65 72 20 44  65 74 61 69 6c 73 0a 2d  |.Other Details.-|
000010a0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 0a 54 68  |------------..Th|
000010b0  69 73 20 70 6f 67 72 61  6d 20 68 61 73 20 74 6f  |is pogram has to|
000010c0  20 64 6f 20 6c 6f 61 64  73 20 6f 66 20 66 69 64  | do loads of fid|
000010d0  64 6c 79 20 74 68 69 6e  67 73 20 74 6f 20 6d 61  |dly things to ma|
000010e0  6b 65 20 74 68 65 20 6f  75 74 70 75 74 20 72 65  |ke the output re|
000010f0  61 6c 69 73 74 69 63 3a  0a 0a 2a 20 54 68 65 20  |alistic:..* The |
00001100  72 65 6c 61 74 69 76 65  73 20 77 6f 72 6b 20 62  |relatives work b|
00001110  79 20 63 61 6c 6c 69 6e  67 20 74 68 65 20 6d 61  |y calling the ma|
00001120  69 6e 20 73 65 6e 74 61  6e 63 65 20 50 52 4f 43  |in sentance PROC|
00001130  65 64 75 72 65 20 77 69  74 68 20 61 20 66 6c 61  |edure with a fla|
00001140  67 20 73 65 74 20 74 6f  20 73 74 6f 70 20 79 6f  |g set to stop yo|
00001150  75 20 67 65 74 74 69 6e  67 20 6e 65 73 74 65 64  |u getting nested|
00001160  20 72 65 6c 61 74 69 76  65 73 0a 0a 2a 20 54 68  | relatives..* Th|
00001170  65 20 66 69 72 73 74 20  74 69 6d 65 20 69 74 20  |e first time it |
00001180  75 73 65 73 20 61 20 6e  6f 75 6e 2c 20 69 74 20  |uses a noun, it |
00001190  6f 75 74 70 75 74 73 20  22 61 20 3c 6e 6f 75 6e  |outputs "a <noun|
000011a0  3e 22 2e 20 54 68 65 20  6e 65 78 74 20 74 69 6d  |>". The next tim|
000011b0  65 20 69 73 20 73 61 79  73 20 22 61 6e 6f 74 68  |e is says "anoth|
000011c0  65 72 22 2c 20 74 68 65  6e 20 69 74 20 6f 73 63  |er", then it osc|
000011d0  69 6c 6c 61 74 65 73 20  62 65 74 77 65 65 6e 20  |illates between |
000011e0  22 74 68 65 22 20 61 6e  64 20 22 74 68 65 20 6f  |"the" and "the o|
000011f0  74 68 65 72 22 2e 20 50  65 72 69 6f 64 69 63 61  |ther". Periodica|
00001200  6c 6c 79 20 69 74 20 66  6f 72 67 65 74 73 20 61  |lly it forgets a|
00001210  6e 64 20 73 74 61 72 74  73 20 61 67 61 69 6e 20  |nd starts again |
00001220  77 69 74 68 20 22 61 22  0a 0a 2a 20 49 66 20 64  |with "a"..* If d|
00001230  75 72 69 6e 67 20 74 68  65 20 73 61 6d 65 20 73  |uring the same s|
00001240  65 6e 74 61 6e 63 65 20  74 68 65 20 70 72 6f 67  |entance the prog|
00001250  72 61 6d 20 74 72 69 65  73 20 74 6f 20 75 73 65  |ram tries to use|
00001260  20 74 68 65 20 73 61 6d  65 20 6e 6f 75 6e 20 61  | the same noun a|
00001270  73 20 61 6e 20 6f 62 6a  65 63 74 2c 20 69 74 20  |s an object, it |
00001280  77 69 6c 6c 20 77 72 69  74 65 20 22 69 74 73 65  |will write "itse|
00001290  6c 66 22 20 65 74 63 2e  20 4a 75 73 74 20 62 65  |lf" etc. Just be|
000012a0  66 6f 72 65 20 61 20 72  65 6c 61 74 69 76 65 20  |fore a relative |
000012b0  63 6c 61 75 73 65 2c 20  74 68 65 20 70 72 6f 67  |clause, the prog|
000012c0  72 61 6d 20 73 74 6f 72  65 73 20 74 68 65 20 64  |ram stores the d|
000012d0  61 74 61 20 61 62 6f 75  74 20 77 68 69 63 68 20  |ata about which |
000012e0  6f 62 6a 65 63 74 20 69  74 27 73 20 75 73 65 64  |object it's used|
000012f0  20 73 6f 20 66 61 72 20  69 6e 20 74 68 65 20 73  | so far in the s|
00001300  65 6e 74 61 6e 63 65 20  61 6e 64 20 74 68 65 6e  |entance and then|
00001310  20 72 65 73 65 74 73 20  74 68 65 6d 20 74 6f 20  | resets them to |
00001320  30 2e 20 41 66 74 65 72  20 74 68 65 20 65 6e 64  |0. After the end|
00001330  20 6f 66 20 74 68 65 20  72 65 6c 61 74 69 76 65  | of the relative|
00001340  20 63 6c 61 75 73 65 2c  20 69 74 20 6c 6f 61 64  | clause, it load|
00001350  73 20 74 68 65 6d 20 61  67 61 69 6e 2e 20 53 6f  |s them again. So|
00001360  20 79 6f 75 20 2a 63 6f  75 6c 64 2a 20 67 65 74  | you *could* get|
00001370  20 22 54 68 65 20 6d 6f  75 73 65 20 28 77 68 69  | "The mouse (whi|
00001380  63 68 20 68 61 64 20 72  65 61 6c 69 73 65 64 20  |ch had realised |
00001390  74 68 61 74 20 61 6e 6f  74 68 65 72 20 63 61 74  |that another cat|
000013a0  20 68 61 64 20 68 75 72  74 20 69 74 73 65 6c 66  | had hurt itself|
000013b0  29 20 64 65 63 69 64 65  64 20 74 6f 20 68 69 74  |) decided to hit|
000013c0  20 69 74 73 65 6c 66 20  77 69 74 68 20 61 6e 6f  | itself with ano|
000013d0  74 68 65 72 20 63 61 74  22 20 72 61 74 68 65 72  |ther cat" rather|
000013e0  20 74 68 61 6e 20 22 54  68 65 20 6d 6f 75 73 65  | than "The mouse|
000013f0  20 28 77 68 69 63 68 20  68 61 64 20 72 65 61 6c  | (which had real|
00001400  69 73 65 64 20 74 68 61  74 20 61 6e 6f 74 68 65  |ised that anothe|
00001410  72 20 63 61 74 20 68 61  64 20 68 75 72 74 20 69  |r cat had hurt i|
00001420  74 73 65 6c 66 29 20 64  65 63 69 64 65 64 20 74  |tself) decided t|
00001430  6f 20 68 75 72 74 20 69  74 73 65 6c 66 20 77 69  |o hurt itself wi|
00001440  74 68 20 69 74 73 65 6c  66 22 2c 20 77 68 69 63  |th itself", whic|
00001450  68 20 73 6f 75 6e 64 73  20 2a 74 6f 6f 2a 20 73  |h sounds *too* s|
00001460  69 6c 6c 79 29 0a 0a 0a  2a 20 54 68 65 20 71 75  |illy)...* The qu|
00001470  6f 74 65 73 20 6e 65 73  74 20 74 68 65 6d 73 65  |otes nest themse|
00001480  6c 76 65 73 2c 20 61 6e  64 20 61 72 65 20 70 61  |lves, and are pa|
00001490  69 72 65 64 2e 20 45 67  2e 20 22 74 68 65 20 6f  |ired. Eg. "the o|
000014a0  74 68 65 72 20 61 6e 6e  6f 79 69 6e 67 20 20 6d  |ther annoying  m|
000014b0  6f 6e 73 74 65 72 20 73  61 69 64 20 90 57 68 65  |onster said .Whe|
000014c0  6e 20 54 68 65 20 6c 69  6f 6e 20 68 61 64 20 73  |n The lion had s|
000014d0  65 65 6e 20 74 68 61 74  20 61 6e 6f 74 68 65 72  |een that another|
000014e0  20 62 6f 79 20 77 65 6e  74 20 74 6f 20 74 68 65  | boy went to the|
000014f0  20 6f 74 68 65 72 20 74  69 67 65 72 20 74 68 65  | other tiger the|
00001500  20 61 6e 67 72 79 20 72  61 62 62 69 74 20 73 61  | angry rabbit sa|
00001510  69 64 20 94 41 6e 6f 74  68 65 72 20 79 6f 75 6e  |id .Another youn|
00001520  67 20 64 6f 67 20 68 61  64 20 74 68 72 6f 77 6e  |g dog had thrown|
00001530  20 4d 69 63 72 6f 53 6f  66 74 20 74 6f 20 61 20  | MicroSoft to a |
00001540  73 68 6f 72 74 20 73 75  72 72 6f 75 6e 64 69 6e  |short surroundin|
00001550  67 20 61 72 65 61 95 91  22 20 28 61 63 74 75 61  |g area.." (actua|
00001560  6c 20 73 65 6e 74 61 6e  63 65 20 66 72 6f 6d 20  |l sentance from |
00001570  70 72 6f 67 72 61 6d 29  2e 20 54 68 69 73 20 61  |program). This a|
00001580  64 64 73 20 61 20 63 65  72 74 61 69 6e 20 27 73  |dds a certain 's|
00001590  74 79 6c 65 27 20 74 6f  20 74 68 65 20 6e 6f 6e  |tyle' to the non|
000015a0  73 65 6e 73 65 2e 0a 0a  2a 20 54 68 65 20 70 72  |sense...* The pr|
000015b0  6f 67 72 61 6d 20 63 68  61 6e 67 65 73 20 22 61  |ogram changes "a|
000015c0  22 20 74 6f 20 22 61 6e  22 20 77 68 65 6e 20 61  |" to "an" when a|
000015d0  70 70 72 6f 70 72 69 61  74 65 0a 0a 2a 20 57 68  |ppropriate..* Wh|
000015e0  65 6e 20 70 69 63 6b 69  6e 67 20 61 20 6e 6f 75  |en picking a nou|
000015f0  6e 20 66 6f 72 20 75 73  65 20 61 66 74 65 72 20  |n for use after |
00001600  61 20 76 65 72 62 2c 20  74 68 65 72 65 20 69 73  |a verb, there is|
00001610  20 61 20 67 72 65 61 74  65 72 20 63 68 61 6e 63  | a greater chanc|
00001620  65 20 74 68 61 74 20 69  74 20 77 69 6c 6c 20 70  |e that it will p|
00001630  69 63 6b 20 6f 6e 65 20  69 74 20 68 61 73 6e 27  |ick one it hasn'|
00001640  74 20 75 73 65 64 20 69  6e 20 74 68 61 74 20 73  |t used in that s|
00001650  65 6e 74 61 6e 63 65 20  61 6c 72 65 61 64 79 2e  |entance already.|
00001660  0a 0a 2a 20 49 74 20 74  72 69 65 73 20 6e 6f 74  |..* It tries not|
00001670  20 74 6f 20 72 65 70 65  61 74 20 61 64 6a 65 63  | to repeat adjec|
00001680  74 69 76 65 73 20 69 6e  20 74 68 65 20 73 61 6d  |tives in the sam|
00001690  65 20 73 65 6e 74 61 6e  63 65 0a 0a 2a 20 49 74  |e sentance..* It|
000016a0  20 74 72 69 65 73 20 6e  6f 74 20 74 6f 20 64 6f  | tries not to do|
000016b0  20 61 20 73 65 6e 74 61  6e 63 65 20 6c 69 6b 65  | a sentance like|
000016c0  20 22 77 68 65 6e 20 6d  61 72 6b 20 72 65 61 6c  | "when mark real|
000016d0  69 73 65 64 20 74 68 61  74 20 61 20 72 61 62 62  |ised that a rabb|
000016e0  69 74 20 68 61 64 20 6e  6f 74 69 63 65 64 20 74  |it had noticed t|
000016f0  68 61 74 20 61 20 66 6f  78 20 68 61 64 20 66 6f  |hat a fox had fo|
00001700  75 6e 64 20 6f 75 74 20  74 68 61 74 20 74 68 65  |und out that the|
00001710  20 6f 74 68 65 72 20 66  6f 78 20 77 61 73 20 64  | other fox was d|
00001720  65 61 64 22 0a 0a 0a 0a  0a 5b 20 49 27 6d 20 61  |ead".....[ I'm a|
00001730  66 72 61 69 64 20 49 20  68 61 64 20 74 6f 20 73  |fraid I had to s|
00001740  71 75 69 73 68 20 74 68  69 73 20 70 72 6f 67 72  |quish this progr|
00001750  61 6d 2c 20 73 6f 20 69  74 20 6d 61 79 20 6e 6f  |am, so it may no|
00001760  74 20 62 65 20 76 65 72  79 20 72 65 61 64 61 62  |t be very readab|
00001770  6c 65 2e 20 42 75 74 20  69 74 27 73 20 6e 6f 74  |le. But it's not|
00001780  20 74 68 65 20 73 6f 72  74 20 6f 66 20 70 72 6f  | the sort of pro|
00001790  67 72 61 6d 20 79 6f 75  27 64 20 77 61 6e 74 20  |gram you'd want |
000017a0  74 6f 20 72 65 61 64 2c  20 62 65 63 61 75 73 65  |to read, because|
000017b0  20 74 68 65 72 65 20 61  72 65 20 6e 6f 20 6e 65  | there are no ne|
000017c0  77 20 6f 72 20 65 78 63  69 74 69 6e 67 20 74 65  |w or exciting te|
000017d0  63 68 6e 69 71 75 65 73  20 74 68 65 72 65 2e 20  |chniques there. |
000017e0  54 68 65 20 6c 69 73 74  20 6f 66 20 77 6f 72 64  |The list of word|
000017f0  73 20 69 73 20 61 6c 73  6f 20 76 65 72 79 20 73  |s is also very s|
00001800  6d 61 6c 6c 20 5d 0a 0a  0a 0a 50 53 3a 20 20 20  |mall ]....PS:   |
00001810  54 72 79 20 63 68 61 6e  67 69 6e 67 20 50 52 4f  |Try changing PRO|
00001820  43 50 52 49 4e 54 20 73  6f 20 69 74 20 6f 75 74  |CPRINT so it out|
00001830  70 75 74 73 20 74 68 65  20 74 65 78 74 20 74 6f  |puts the text to|
00001840  20 61 20 73 70 65 65 63  68 20 73 79 6e 74 68 65  | a speech synthe|
00001850  73 69 73 65 72 3a 20 46  6f 72 20 53 65 6e 73 69  |siser: For Sensi|
00001860  62 6c 65 20 53 6f 66 74  77 61 72 65 27 73 20 6f  |ble Software's o|
00001870  6e 65 20 79 6f 75 27 64  20 64 6f 20 74 68 69 73  |ne you'd do this|
00001880  2d 0a 0a 20 20 20 20 20  20 20 20 20 20 20 44 45  |-..           DE|
00001890  46 20 50 52 4f 43 50 52  49 4e 54 28 73 24 29 0a  |F PROCPRINT(s$).|
000018a0  20 20 20 20 20 20 20 20  20 20 20 4f 53 43 4c 49  |           OSCLI|
000018b0  20 22 73 61 79 77 20 22  2b 73 24 0a 20 20 20 20  | "sayw "+s$.    |
000018c0  20 20 20 20 20 20 20 45  4e 44 50 52 4f 43 0a 0a  |       ENDPROC..|
000018d0  28 20 49 20 74 68 69 6e  6b 20 69 74 20 77 6f 75  |( I think it wou|
000018e0  6c 64 20 62 65 20 67 6f  6f 64 20 74 6f 20 6d 61  |ld be good to ma|
000018f0  6b 65 20 69 74 20 6d 75  6c 74 69 74 61 73 6b 69  |ke it multitaski|
00001900  6e 67 20 61 6e 64 20 67  65 74 20 69 74 20 74 6f  |ng and get it to|
00001910  20 73 61 79 20 61 20 66  65 77 20 73 65 6e 74 61  | say a few senta|
00001920  6e 63 65 73 20 65 76 65  72 79 20 6d 69 6e 75 74  |nces every minut|
00001930  65 20 6f 72 20 73 6f 20  20 3a 29 0a 0a 0a 0a 0a  |e or so  :).....|
00001940  0a 0a 20 0a 0a 20 20 20  20 20 0a 0a 20 20 20 20  |.. ..     ..    |
00001950  0a 0a 0a 0a 0a 0a 0a 0a  0a 0a 0a 0a 0a 0a        |..............|
0000195e