home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / ALPO.ZIP / READ.ME < prev    next >
Encoding:
Text File  |  1991-04-15  |  3.2 KB  |  57 lines

  1.  XPOEM.EXE is an experimental algorithmic poetry generator.
  2.  The algorithm evolved over a period of a couple months, starting from
  3.  a "NOUN-VERB-NOUN" construct and then adding rules which I felt
  4.  were the "natural" rules for syntax. The program has categories of words
  5.  (the *.dat files) which it choosess from randomly. While the categories
  6.  have the names of familiar grammatical categories, inspecting some of
  7.  them will show you that what they contain is not necessarily what the
  8.  name of the file implies. Experiment with them. To see how the categories
  9.  are used by the program, you can add words to the "temporary vocabulary"
  10.  while the program is running.
  11.  
  12.  
  13.  
  14.  Important Note :
  15.    Before running xpoem.exe, make sure that xpoem and the vocabulary
  16.    (*.dat files) are all in your current directory / path.
  17.    That is, say xpoem and all the *.dat files are in a directory
  18.    called "alpo" on drive A. Then you would enter "cd a:\alpo"
  19.    before running xpoem.
  20.  Generating poem lines
  21.    Run xpoem. Hit <ENTER> when asked if you want to use the default files.
  22.    Hit "P" for poem when the next menu comes up. Hit  <ENTER> again when
  23.    you are asked how many lines you want. This will give you 20 lines.
  24.    Use PgUp and PgDn keys to see the rest of the lines, if they didn't
  25.    all fit on one screen. If you want to save certain lines, move the
  26.    shaded region with the arrows to the line to save and hit <ENTER>.
  27.    You can continue to choose lines to save this way. They will be saved
  28.    when you finally hit <ESC>. (The default output file is named
  29.    "poem0.txt") You can then load the output file into a word processor
  30.    to carry on your experiments.
  31.  Modifying the vocabulary files
  32.    The default vocabulary files are the 13 (? count them?) .dat files,
  33.    for example, "adjectives.dat". When you decide to add or delete words
  34.    from these files, save them to disk as ASCII files. If your word
  35.    processor has an "unformatted" choice for saving files, it probably
  36.    saves them as ASCII.
  37.    You can add phrases by using an underscore character instead of a
  38.    space between the words. The underscore is removed by the program.
  39.    For example, "Jumpin_Jehosephat" is considered by the program to be a
  40.    single unit, but the underscore will not appear in the poem.
  41.  Temporary words
  42.    These are words which will be used by the xpoem program only for your
  43.    current session. Say you want xpoem to generate a love poem to
  44.    Brigham Young, then you could add "Brigham Young" to the temporary
  45.    vocabulary for "3rd person pronouns" (Due to to algorithm used, this is
  46.    the best place for people's names) with a chance of being chosen of
  47.    say 50 percent. Phrases you add in a temporary word box (if they fit)
  48.    will be used as a unit without needing the underscore character.
  49.    When you are through adding, or changing the temporary words in a
  50.    prticular category, hit PgUp or PgDn.
  51.    If you don't want to add words to another category, hit <ESC> when the
  52.    vocabulary category menu reappears.
  53.  Using different word files:
  54.    By choosing "Other files", any ASCII text file can be used for a
  55.    particular word category. This can only be done at the start of the
  56.    program's execution. EXPERIMENT!
  57.