0.0.2 • Published 3 years ago

@kyusu/ordo-ab-chao v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ordo-ab-chao

Maintainability dependencies Status devDependencies Status 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
0.0.2

3 years ago