I am having an HTML string and want to find out if a word I supply is relevant in that string.
Relevancy could be measured based on frequency in the text.
An example to illustrate my problem:
this is an awesome bike store
bikes can be purchased online.
the bikes we own rock.
check out our bike store now
Now I want to test a few other words:
bike repairs
dog poo
bike repairs
should be marked as relevant whereas dog poo
should not be marked as relevant.
Questions:
- How could this be done?
- How to I filter out ambiguous words like
in
oror
Thanks for your ideas!
I guess it's something Google does to figure out what keywords are relevant to a website. I am basically trying to reproduce their on-page rankings.