Loading ...
Sorry, an error occurred while loading the content.

using extrace phrase on the restaurant at the end of the universe

Expand Messages
  • Steve Howell
    ... Okay, this is a fun exercise. Can we apply Dossy s rule to your second version? Use extract phrase only to remove duplication. So, start by taking any
    Message 1 of 1 , Nov 27, 2003
    • 0 Attachment
      William E Caputo wrote:

      >J.B.:
      >
      >
      >>I'm sure there's more, but the point is that we do this in prose to a
      >>certain extent.
      >>
      >>
      >
      >I've quoted some text from The Restaurant At the End of the Universe.
      >First as it is in the text, second, a version that has context derived
      >concepts inlined. I will make my comments here, because after this, you
      >won't be able to find them. Note two things about the inlined version: 1)
      >Yes, it is possible to better understand what is going on without having
      >to look at the rest of the books, and 2) how quickly you wish that there
      >was some context abstraction facilities, because seeing: "Marvin, the
      >Paranoid Plastic Pal Whose Fun to Be With" gets really old really fast:
      >
      >
      Okay, this is a fun exercise. Can we apply Dossy's rule to your second
      version?

      "Use extract phrase only to remove duplication."

      So, start by taking any multi-word phrase that's used *more than once*
      and give it a shorter name like "Marvin," or "the office building," or
      "probe."

      And then stop. :)

      >*****************************************************************************
      >Here's the original version:
      >*****************************************************************************
      >Marvin stood at the end of the bridge corridor. He was not in
      >fact a particularly small robot. His silver body gleamed in the
      >dusty sunbeams and shook with the continual barrage which the
      >building was still undergoing.
      >
      >He did, however, look pitifully small as the gigantic black tank
      >rolled to a halt in front of him. The tank examined him with a
      >probe. The probe withdrew.
      >
      >Marvin stood there.
      >
      >''Out of my way little robot,'' growled the tank.
      >
      >''I'm afraid,'' said Marvin, ''that I've been left here to stop
      >you.''
      >
      >The probe extended again for a quick recheck. It withdrew again.
      >
      >''You? Stop me?'' roared the tank. ''Go on!''
      >
      >''No, really I have,'' said Marvin simply.
      >
      >''What are you armed with?'' roared the tank in disbelief.
      >
      >''Guess,'' said Marvin.
      >
      >The tank's engines rumbled, its gears ground. Molecule-sized
      >electronic relays deep in its micro-brain flipped backwards and
      >forwards in consternation.
      >
      >''Guess?'' said the tank.
      >*****************************************************************************
      >OK, now here's the inlined version:
      >*****************************************************************************
      >Marvin, the Paranoid Plastic Pal Who's Fun To Be With stood at the end of
      >the bridge which led across from one tower of the Hitch Hiker's Guide to
      >the Galaxy office building to the other tower of the Hitch Hiker's Guide
      >to the Galaxy office building's corridor. Marvin, the Paranoid Plastic Pal
      >Who's Fun To Be With was not in fact a particularly small Plastic Pal
      >Who's Fun To Be With. Marvin, the Paranoid Plastic Pal Who's Fun To Be
      >With's silver body gleamed in the dusty sunbeams and shook with the
      >continual barrage which the Hitch Hiker's Guide to the Galaxy office
      >building was still undergoing from the squadron of Frogstar Fighters sent
      >by the government to get Zaphod Beeblebrox.
      >
      >Marvin, the Paranoid Plastic Pal Who's Fun To Be With did, however, look
      >pitifully small as the gigantic black Frogstar Scout Plastic Pal Who's Fun
      >To Be With class D rolled to a halt in front of Marvin, the Paranoid
      >Plastic Pal Who's Fun To Be With. The gigantic black Frogstar Scout
      >Plastic Pal Who's Fun To Be With class D examined Marvin, the Paranoid
      >Plastic Pal Who's Fun To Be With with a probe. The probe withdrew.
      >
      >Marvin, the Paranoid Plastic Pal Who's Fun To Be With stood at the end of
      >the bridge which led across from one tower of the Hitch Hiker's Guide to
      >the Galaxy office building to the other tower of the Hitch Hiker's Guide
      >to the Galaxy office building's corridor.
      >
      >''Out of the gigantic black Frogstar Scout Plastic Pal Who's Fun To Be
      >With class D's way little Plastic Pal Who's Fun To Be With,'' growled the
      >gigantic black Frogstar Scout Plastic Pal Who's Fun To Be With class D.
      >
      >''Marvin, the Paranoid Plastic Pal Who's Fun To Be With's afraid,'' said
      >Marvin, the Paranoid Plastic Pal Who's Fun To Be With, ''that Marvin, the
      >Paranoid Plastic Pal Who's Fun To Be With's been left at the end of the
      >bridge which led across from one tower of the Hitch Hiker's Guide to the
      >Galaxy office building to the other tower of the Hitch Hiker's Guide to
      >the Galaxy office building's corridor by Zaphod Beeblebrox to stop the
      >gigantic black Frogstar Scout Plastic Pal Who's Fun To Be With class D.''
      >
      >The gigantic black Frogstar Scout Plastic Pal Who's Fun To Be With class D
      >extended the probe again for a quick examination of Marvin, the Paranoid
      >Plastic Pal Who's Fun To Be With. The gigantic black Frogstar Scout
      >Plastic Pal Who's Fun To Be With class D withdrew the probe again.
      >
      >''Marvin, the Paranoid Plastic Pal Who's Fun To Be With? Stop the gigantic
      >black Frogstar Scout Plastic Pal Who's Fun To Be With class D?'' roared
      >the gigantic black Frogstar Scout Plastic Pal Who's Fun To Be With class
      >D. ''Go on!''
      >
      >''No, really Marvin, the Paranoid Plastic Pal Who's Fun To Be With's been
      >left at the end of the bridge which led across from one tower of the Hitch
      >Hiker's Guide to the Galaxy office building to the other tower of the
      >Hitch Hiker's Guide to the Galaxy office building's corridor by Zaphod
      >Beeblebrox to stop the gigantic black Frogstar Scout Plastic Pal Who's Fun
      >To Be With class D.'' ,'' said Marvin, the Paranoid Plastic Pal Who's Fun
      >To Be With simply.
      >
      >''What is Marvin, the Paranoid Plastic Pal Who's Fun To Be With armed
      >with?'' roared the gigantic black Frogstar Scout Plastic Pal Who's Fun To
      >Be With class D in disbelief.
      >
      >''Guess,'' said Marvin, the Paranoid Plastic Pal Who's Fun To Be With.
      >
      >The gigantic black Frogstar Scout Plastic Pal Who's Fun To Be With class
      >D's engines rumbled, the gigantic black Frogstar Scout Plastic Pal Who's
      >Fun To Be With class D's gears ground. Molecule-sized electronic relays
      >deep in the gigantic black Frogstar Scout Plastic Pal Who's Fun To Be With
      >class D's micro-brain flipped backwards and forwards in consternation.
      >
      >''Guess?'' said the gigantic black Frogstar Scout Plastic Pal Who's Fun To
      >Be With class D.
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.