Skip to content

kyusu/ordo-ab-chao

Repository files navigation

ordo-ab-chao

Maintainability Libraries.io dependency status for GitHub repo Coverage Status Node.js CI Maintenance GitHub license DeepScan grade Quality Gate Status

Encyclopaedia Metallum Genre Classifier

Purpose

I wanted to do some statistics with the data from the Encyclopaedia Metallum, but quickly discovered that the genre is a free text field, so for 120.000 plus bands, I found 8.500 plus genres with such gems as Thrash Metal (1986-1988), Death Metal (1989-1991, 2008-), Progressive Death Metal/Jazz Fusion (1993).

This would not do, so I wrote a bunch of classifiers for the following genres:

and just Metal in general.

For the exact rules, see the unit tests.

Usage

const {isBlackMetal} = require('ordo-ab-chao');

isBlackMetal.runWith('Avant-garde Black Metal/Ambient'); // true