Gmail의 과 비슷한 것을하고 싶습니다. 내 블로그에 " 제안을 포함 시키십시오. 그러나 태그를 사용하는 것이 좋습니다.Gmail에서 '포함 고려'기능을 어떻게 구현합니까?
내가 저장하는 태그의 생각은 다음과 같이 설정합니다
나는 다음과 같은 알고리즘 생각 :
//a blog post is published
//it has the tags "A", "B" & "C" :
if the tag set "A,B,C" doesn't exist
create it
else
add 1 to "number of times used"
하고, 태그를 제안 :
//a blog post is being written.
//the author includes the tags "A" and "C"
//which tags should I suggest ?
find all the tags sets that contain "A" and "C"
among them, find the one with the highest "number of times used"
suggest the tags of the set not already picked (A & C)
가 있는가 이 작업을 수행하는 더 좋고/더 똑똑한 방법? 데이터베이스 모델은 어떻습니까? "A & C가 포함 된 세트" 같은 검색이 너무 느리지 않도록 최적화 할 수 있습니까?
"암시 적 사회 그래프를 사용하여 친구에게 제안"http://research.google.com/pubs/pub36371.html –
와우, 아주 좋음 : D – Manu