Ranking of Tags

Total ranking of a tag (weighted function of): Internet/Web? Popularity-WP (Gunnar), Internal Popularity-IP (Eleni), LDA-Kostas-K, Recency-R [0,1]

The overall rank is stored in the table term_data in field rank. It is computed by this formula:

TracMath macro processor has detected an error. Please fix the problem before continuing.

The command:

'/usr/bin/pdflatex -interaction=nonstopmode d2bf0fb87e3a95d4deac20e911984ed31d203f4a.tex'
failed with the following output:
"This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)\n restricted \\write18 enabled.\nentering extended mode\n(./d2bf0fb87e3a95d4deac20e911984ed31d203f4a.tex\nLaTeX2e <2011/06/27>\nBabel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, lo\naded.\n(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls\nDocument Class: article 2007/10/19 v1.4h Standard LaTeX document class\n(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))\n(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty\n(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def\n(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)\n(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)\n(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu)))\n\n! LaTeX Error: File `cmap.sty' not found.\n\nType X to quit or <RETURN> to proceed,\nor enter new name. (Default extension: sty)\n\nEnter file name: \n! Emergency stop.\n<read *> \n         \nl.4 \\usepackage\n               {type1ec}^^M\n!  ==> Fatal error occurred, no output PDF file produced!\nTranscript written on d2bf0fb87e3a95d4deac20e911984ed31d203f4a.log.\n"

The results are between [0,1]

The components WP, IP, K, R are:

IP Internal Popularity

Is baed on usage. Table “term_usage” consists of columns uid, tid, nid, timestamp =? We conclude internal tag popularity and store it in a table (tid, interna;_popularity)

WP Web Popularity

Web popularity should also be stored in a table (tid, internet_populairty) To be used in Auto-completion, Search, Tag recommendation

Kostas Popularity

Kostas popularity goes up when he has written something here.


As the w1..w3 values must be configurable in gui. (optional) Admin interface for configuring the weights and running it.

The manually added tags will be ranked higher. Organic should learn and adapt to a machine-produced tag being used frequently.


As implemented in ticket:53

In organik_utils.module, in function 'calculate_total_term_popularity', the total term popularity is calculated and stored inside the rank column on term_data table.

ATTENTION: Currently the total popularity is equal to the internal popularity. You need to contribute with your popularity types. Also, this function is not yet called by any module.

In order to compute the overall popularity we take into consideration the recency of the use of a term. This is calculated in organik_utils.module, in function 'calculate_term_recency' (input the term id, output the term's recency)

Last modified 7 years ago Last modified on 10/26/09 15:25:15