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
In response to
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2011-08-23 19:05:20|
|Subject: Re: skip WAL on COPY patch |
|Previous:||From: Peter Eisentraut||Date: 2011-08-23 18:57:28|
|Subject: Re: Why doesn't psql use the information schema to get
ACL description ?|