flat assembler
Message board for the users of flat assembler.

Index > Heap > i think i found a new way of ranking search results.

Author
Thread Post new topic Reply to topic
sleepsleep



Joined: 05 Oct 2006
Posts: 8864
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
i just thought of this. maybe i will put it into reality later. using php + mysql

idea is how to rank search results based on keywords.
eg. after u finish writing an article, u put tags (words that must existed on that article)
so, this idea will calculate how many times ur tags appreared on article and how many words in that article.
if ur tag appear 5 times, on 899 words, so (5/899)*100 = 0.556173526140155728587319243604 << i call this appearance percentage

we analayze 10000 article and get the appearance percentage
so, (total 10000 appearance % and divide by 10000) * 100, we get normal appearance %

so, we could base on this to judge future incoming article tag appearance, whether they spam the word intentionaly or not thus accept it or reject the article.

so our table must save the keywords & appearance % & article id

let say user search keyword "fasm winsock example", so search starts with fasm, winsock then example.

total the appeared of count article id.
eg.
../kk.html 5 fasm * 0.12 = 0.6
../kk.html 2 winsock * 0.1 = 0.2
../a.html 2 winsock * 0.1 = 0.2
../a.html 4 examples * 0.06 = 0.24
../iczelion.html 6 winsock * 0.1 = 0.6
../iczelion.html 20 examples * 0.06 = 1.2
../new.html 2 winsock * 0.1 = 0.2

fasm = *0.12 ~ magic values
winsock = *0.10
example = *0.06

kk.html 2/7 + (0.6 + 0.2 = 0.Cool = 1.0857142
a.html 2/7 + (0.2 + 0.24 = 0.44) = 0.725714
iczelion.html 2/7 + (0.6 + 1.2 = 1.Cool = 2.08571
new.html 1/7 + (0.2) = 0.342857

wat u guys think?
Post 04 Jul 2007, 22:03
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17247
Location: In your JS exploiting you and your system
revolution
If it turns out to be better than the google ranking then you could be a billionaire, but you had better patent/copyright/protect it else someone may steal the idea and you get nothing instead! Wink
Post 05 Jul 2007, 11:57
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.