in reply to Re: Help required in optimizing the output (PERL)
in thread Help required in optimizing the output (PERL)
I suspect that the real challenge here is not so much discovering which paragraphs contain which keywords--though paragraph mode will certainly simplify the process.
But rather, having discovered and recorded which paras contain which words and stored that information in some form; how to determine the minimum set of paras that contain all the keywords.
And given the form in which the OP presented the question, I suspect that s/he is actually stuck for how to even begin to approaching that task.
It is an interesting problem that has many possible solutions, but only a few that will be relatively efficient.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Help required in optimizing the output (PERL)
by randomid (Initiate) on Jun 22, 2010 at 15:12 UTC | |
by BrowserUk (Patriarch) on Jun 22, 2010 at 15:49 UTC | |
by BrowserUk (Patriarch) on Jun 22, 2010 at 20:08 UTC | |
by choroba (Cardinal) on Jun 22, 2010 at 23:04 UTC | |
by BrowserUk (Patriarch) on Jun 23, 2010 at 00:52 UTC |