home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 52 / af052sub.adf / lyr-o-mat.lha / Lyr-O-Mat / English.Doc < prev    next >
Text File  |  1993-07-16  |  6KB  |  173 lines

  1. ***********************************************************
  2. *                                                         *
  3. *                     Lyr-O-Mat                           *
  4. *              Version 1.0 April 17, 1993                 *
  5. *              Copyright ©1993 CEKASOFT                   *
  6. *                All Rights reserved                      *
  7. *                                                         *
  8. ***********************************************************
  9.  
  10. Lyr-O-Mat may be distributed freely as long as all related
  11. files (see below) are distributed.
  12.  
  13. These files are
  14.  
  15.        - Lyr-O-Mat       ;  executable
  16.        - demo.wds             \
  17.        - deutsch_patterns.wds  > database in german
  18.        - deutsch_classes.wds  /
  19.        - Deutsch.Dok     ; german manual
  20.        - english_demo.wds     \
  21.        - english_patterns.wds  > database in english
  22.        - english_classes.wds  /
  23.        - english.doc     ; english manual
  24.  
  25. ***********************************************************
  26. The author cannot be held liable for the  suitability or  
  27. accuracy  of this manual  and/or  the  program(s)  it  describes.
  28. Any  damage  directly  or indirectly caused by the use or misuse 
  29. of  this manual  and/or the  programit describes is the sole
  30. responsibility of the user her/him self.
  31. ***********************************************************
  32.  
  33. Lyr-O-Mat was programmed using SAS/C 6.0 on an A4000/40 under
  34. OS 3.0. However, Lyr-O-Mat needs OS2.04 (Version 37+) or later.
  35. Special thanks to Jan van den Baard for his "GadToolsBox", which
  36. was used in this program.
  37.  
  38. ***********************************************************
  39.  
  40. Lyr-O-Mat is a program designed to enjoy and amuse the user.
  41. The program attempts to reach this goal by displaying stupid
  42. statements, insolent requests and other silly sentences.
  43. These sentences are generated at random out from a sentence
  44. pattern list which may (should) contain wordclass names, which 
  45. are replaced with a random word from the word list of this
  46. class. To explain this please follow the instructions of the
  47.  
  48. ***********************************************************
  49.  
  50.                  Quickstart
  51.  
  52. 1. run the Lyr-O-Mat program by double-clicking its program
  53.    icon. You will then recognize the program window with several
  54.    lists and gadgets and the output window(which may be resized or
  55.    moved).
  56. 2. Select "Project->Load->Patterns & Classes" from the menu (right
  57.    Mousebutton menu), then select the file "english_demo.wds", which
  58.    should reside in the same directory as this manual.
  59.    The english database will now be loaded and displayed in the
  60.    lists.
  61. 3. click the "Generate"-button (or press the "g"-Key or the white space
  62.    key on the keyboard) to generate a sentence. Lyr-O-Mat picks a
  63.    random pattern from the pattern list, replaces classes with a
  64.    random word from this class and displays the generated sentence.
  65.  
  66. ***********************************************************
  67.  
  68. The sentence may look like this (from english_demo.wds)
  69.  
  70.   "10: impossible computer discs can be sold today in El Peso."
  71.   
  72. How does Lyr-O-Mat compose this rubbish ?
  73.  
  74.   Looking at the pattern list you find at No. 10
  75.   
  76.   "10: >adj >nouns can be >wds-4 >future in >place."
  77.   
  78. You can recognize that this pattern contains normal words as
  79. well as class names (introduced with the ">"-Character).
  80. When Lyr-O-Mat generates a sentence, it is looking for ">"
  81. characters in the pattern and searching the wordclass list if
  82. such a class is known. If it is, the classname in the
  83. pattern is replaced with a random word from the associated
  84. wordlist.
  85. Note: the items in the wordclass list do not have the
  86.       introducing ">". 
  87. Note: Words from a wordlist may contain wordclass names.
  88.   
  89. ***********************************************************
  90.  
  91.         Adding wordclasses and words
  92.         
  93. To add a wordclass click the "Add"-button of the wordclass
  94. list, type in the name and press "return".
  95. To add a word to an existing wordclass click the classname
  96. in the classlist, click the "Add"-button of the wordlist and
  97. type in the new word.
  98. To remove an item from any of the 3 lists click on the item
  99. in the list and click the corresponding "Delete"-button.
  100.  
  101. Note: If you delete a wordclass, the corresponding wordlist 
  102.       will be deleted, too.
  103.       
  104. ***********************************************************
  105.     
  106.         Writing a database using an editor
  107.         
  108. This is much faster if you intend to make a large database
  109. on your own. The format of a data file is like this
  110.  
  111.  
  112. Words.File
  113. ; remark
  114. this is a pattern
  115. another pattern
  116. #wordclass
  117. ?word of "wordclass"
  118. ?word of "wordclass"
  119. #anotherclass
  120. ?word of "anotherclass"
  121. ?word of "anotherclass"
  122.  
  123. The introducing string "Words.File" must be present in the first
  124. line, because Lyr-O-Mat searches for it to identify the file as
  125. one of it's own files.
  126.  
  127. Classes  are introduced with a "#" character and
  128. words    are introduces with a "?" character.
  129.  
  130. Note: the "#","?" and ";"- characters MUST be in the
  131.       first column. If they are not there Lyr-O-Mat treats the
  132.       line as a pattern.
  133.  
  134. ***********************************************************
  135.       
  136.                  Load and Save
  137.                  
  138. Load and save functions are separately available for patterns,
  139. classes and "patterns & classes". 
  140. Note: the "load" functions are clearing all lists before loading
  141.       a file, the "append" functions are appending files to
  142.       the current database. 
  143.  
  144. ***********************************************************
  145.  
  146.                  Pattern- / Textmode
  147.                  
  148. The Gadget Text/Pattern determines how Lyr-O-Mat works:
  149.  
  150. "Pattern" generates a single sentence from a random picked pattern.
  151. "Text"    generates a sentence from each pattern in the order of
  152.           the pattern list.
  153.  
  154. ***********************************************************
  155.  
  156. If you like Lyr-O-Mat you may send bug reports, money, disks,
  157. jewellery and other gifts to me. If you don't like it you
  158. are encouraged to send me such things too.
  159.  
  160. Enjoy !!
  161.  
  162.                  CEKASOFT
  163.                  Karlheinz Klingbeil
  164.                  Elzstr. 42
  165.                  
  166.                  7809 Gutach i.Br.
  167.                  Germany
  168.                  
  169.  
  170. ***********************************************************
  171.   
  172.  
  173.