Generating hypermedia documents from transcripts of television programs