Yes, I didn't provide the context because I suppose monks will have their own ideas about how much is relevant.
My question is rather, what relevance do the number of words in the paragraph (i.e. 1 + the tr///) have to do with a meaningful score?
It's now occurred to me that perhaps that should read
($word =~ tr/ / /)In reply to Re^2: Text::Context or alternatives?
by Dave Howorth
in thread Text::Context or alternatives?
by Dave Howorth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |