in reply to Re^3: Text::Context or alternatives?
in thread Text::Context or alternatives?
davido wrote:
"Oh, I thought that part was made obvious in the documentation of the source code:
It seems the intent is to find out how powerful the keyword is within a given paragraph. More matches means a better fit, more relevancy."
That's where I have trouble understanding. How does the number of words in the paragraph have anything to do with the quality of the match? It seems to me like the documentation and implied intent don't match the code. If you think its correct, can you explain what it does using different words perhaps?
If speed is of concern, profile and find where the bottleneck is.
Indeed, but it's correctness rather than performance that concern me, though the performance got me started investigating. I posted a summary of my NYTProf results to its RT queue a few days ago.
|
|---|