The following code allows you to classify music tags by means of semantic facets (concepts), and to obtain the most representative tags for a given facet. The semantic facets are anchored upon the structure of Wikipedia, a dynamic repository of universal knowledge.

The code is available here


Automatically obtaining music semantic facets from Wikipedia