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.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=pdflatex)\n restricted \\write18 enabled.\nentering extended mode\n(./d2bf0fb87e3a95d4deac20e911984ed31d203f4a.tex\nLaTeX2e <2018-12-01>\n(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls\nDocument Class: article 2018/09/03 v1.4i 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\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 13 years ago Last modified on 10/26/09 15:25:15