music
This module provides a dictionary of over 4,000 music genres.
Import
Import the dictionary to your project via the require
tag:
require: music/musicGenreEn.sc
module = sys.zb-common
After importing the file, the following becomes available:
- the
$MusicGenres
named entity dictionary; - the
$MusicGenre
named entity for processing language names with patterns.
Value format
Field | Type | Description |
---|---|---|
en.name | String | Genre name |
tip
When music genres are recognized via the
$MusicGenre
entity, its value
in $parseTree
will be the same as en.name
.Dictionary entry examples
393;bluegrass, music bluegrass, bluegrass music;{"en": {"name": "Bluegrass"}}
3510;slovenian rock, music slovenian rock, slovenian rock music;{"en": {"name": "Slovenian rock"}}