M
Mario Protto
hi all,
I have many small texts (200-1000 chars), I have a white list (100 words), I
have to evaluate any text with its relevancy against the word list.
Now I'm using a very simple alg like
_______________________
in text there is at least 1 word from list?
yes --> rank = 1
no --> rank = 0
_______________________
but I'd like rank to be a real number between 0 and 1, I have think
something like count how many differnt word there are in test and normalize
to 1 but perhaps there is some other, most intelligent..., way to do that
.....any suggest?
thx
Mario
www.mario-online.com
I have many small texts (200-1000 chars), I have a white list (100 words), I
have to evaluate any text with its relevancy against the word list.
Now I'm using a very simple alg like
_______________________
in text there is at least 1 word from list?
yes --> rank = 1
no --> rank = 0
_______________________
but I'd like rank to be a real number between 0 and 1, I have think
something like count how many differnt word there are in test and normalize
to 1 but perhaps there is some other, most intelligent..., way to do that
.....any suggest?
thx
Mario
www.mario-online.com