I am trying to calculate the relevancy for below strategies.
- I have the "Keywords". I like to match against the post tile and post content. Using that Match I like to calculate the Relevancy. I wish to high high score if keyword exist in title compare to content match.
Example :-
Keyword : Lorem
Lorem Ipsum content
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
Relevancy 1 = ?
- I have the list of "Author Names". I want to check Author name against the post author. If there is match, I want to give some relevancy score.
Relevancy 2 = ?
Now I got two relevancy scores. From that I want calculate the over all score. I may add some more in this part. So is there any general formula to calculate the relevancy. Can Some one guide me!