Sushant Sinha <sushant354(at)gmail(dot)com> writes:
> Given a document and a query, the goal of headline generation is to
> produce text excerpts in which the query appears.
... right ...
> Here is a simple patch that limits the number of words during the
> tokenization phase and puts an upper-bound on the headline generation.
Doesn't this force the headline to be taken from the first N words of
the document, independent of where the match was? That seems rather
unworkable, or at least unhelpful.
regards, tom lane