text
stringlengths
1
93.6k
genreCount.append("Serious music/Classical music")
elif not set(['folk','traditionalmusic']).isdisjoint(genreList):
updatedgenreList.append(["Folk/Traditional music","0x63"][useHex]) #Folk/Traditional Music 0x63
genreCount.append("Folk/Traditional music")
elif not set(['jazz']).isdisjoint(genreList):
updatedgenreList.append(["Jazz","0x64"][useHex]) #Jazz 0x64
genreCount.append("Jazz")
elif not set(['musical','opera']).isdisjoint(genreList):
updatedgenreList.append(["Musical/Opera","0x65"][useHex]) #Musical/Opera 0x65
genreCount.append("Musical/Opera")
elif not set(['ballet']).isdisjoint(genreList):
updatedgenreList.append(["Ballet","0x66"][useHex]) #Ballet 0x66
genreCount.append("Ballet")
else:
updatedgenreList.append(["Music / Ballet / Dance","0x60"][useHex]) #Music/Ballet/Dance 0x60
genreCount.append("Music / Ballet / Dance")
#Arts/Culture
elif not set(['art', 'arts/craft', 'artsmagazine', 'broadcasting', 'cinema', 'culture', 'culturemagazine', 'experimentalfilm', 'fashion', 'film',
'fineart', 'literature', 'newmedia', 'performingart', 'popularculture', 'pres', 'religion', 'religiou', 'traditionalart', 'video']).isdisjoint(genreList):
if not set(['performingart']).isdisjoint(genreList):
updatedgenreList.append(["Performing arts","0x71"][useHex]) #Performing Arts 0x71
genreCount.append("Performing arts")
elif not set(['fineart']).isdisjoint(genreList):
updatedgenreList.append(["Fine arts","0x72"][useHex]) #Fine Arts 0x72
genreCount.append("Fine arts")
elif not set(['religion','religiou']).isdisjoint(genreList):
updatedgenreList.append(["Religion","0x73"][useHex]) #Religion 0x73
genreCount.append("Religion")
elif not set(['popculture','traditionalart']).isdisjoint(genreList):
updatedgenreList.append(["Popular culture/Traditional arts","0x74"][useHex]) #Pop Culture/Traditional Arts 0x74
genreCount.append("Popular culture/Traditional arts")
elif not set(['literature']).isdisjoint(genreList):
updatedgenreList.append(["Literature","0x75"][useHex]) #Literature 0x75
genreCount.append("Literature")
elif not set(['film','cinema']).isdisjoint(genreList):
updatedgenreList.append(["Film/Cinema","0x76"][useHex]) #Film/Cinema 0x76
genreCount.append("Film/Cinema")
elif not set(['experimentalfilm','video']).isdisjoint(genreList):
updatedgenreList.append(["Experimental film/Video","0x77"][useHex]) #Experimental Film/Video 0x77
genreCount.append("Experimental film/Video")
elif not set(['broadcasting','pres']).isdisjoint(genreList):
updatedgenreList.append(["Broadcasting/Press","0x78"][useHex]) #Broadcasting/Press 0x78
genreCount.append("Broadcasting/Press")
elif not set(['newmedia']).isdisjoint(genreList):
updatedgenreList.append(["New media","0x79"][useHex]) #New Media 0x79
genreCount.append("New media")
elif not set(['artmagazine','culturemagazine','magazine']).isdisjoint(genreList):
updatedgenreList.append(["Arts magazines/Culture magazines","0x7A"][useHex]) #Arts/Culture Magazine 0x7A
genreCount.append("Arts magazines/Culture magazines")
elif not set(['fashion']).isdisjoint(genreList):
updatedgenreList.append(["Fashion","0x7B"][useHex]) #Fashion 0x7B
genreCount.append("Fashion")
else:
updatedgenreList.append(["Arts / Culture (without music)","0x70"][useHex]) #Arts/Culture 0x70
genreCount.append("Arts / Culture (without music)")
#Social/Politics/Economics
elif not set(['community', 'documentary', 'economic', 'magazine', 'politic', 'political', 'publicaffair',
'remarkablepeople', 'report', 'social', 'socialadvisory']).isdisjoint(genreList):
if not set(['magazine','report','documentary']).isdisjoint(genreList):
updatedgenreList.append(["Magazines/Reports/Documentary","0x81"][useHex]) #Magazines/Reports/Documentary 0x81
genreCount.append("Magazines/Reports/Documentary")
elif not set(['economic','socialadvisory']).isdisjoint(genreList):
updatedgenreList.append(["Economics/Social advisory","0x82"][useHex]) #Economics/Social Advisory 0x82
genreCount.append("Economics/Social advisory")
elif not set(['remarkablepeople']).isdisjoint(genreList):
updatedgenreList.append(["Remarkable people","0x83"][useHex]) #Remarkable People 0x83
genreCount.append("Remarkable people")
else:
updatedgenreList.append(["Social/Political issues/Economics","0x80"][useHex]) #Social/Political/Economics 0x80
genreCount.append("Social/Political issues/Economics")
#MEducational/Science
elif not set(['adulteducation', 'animal', 'dogshow', 'education', 'educational', 'environment', 'expedition', 'factual', 'foreigncountrie',
'furthereducation', 'health', 'language', 'medical', 'medicine', 'naturalscience', 'nature', 'outdoor', 'physiology', 'psychology',
'science', 'social', 'spiritualscience', 'technology']).isdisjoint(genreList):
if not set(['nature','animal','environment','outdoor','dogshow']).isdisjoint(genreList):
updatedgenreList.append(["Nature/Animals/Environment","0x91"][useHex]) #Nature/Animals/Environment 0x91
genreCount.append("Nature/Animals/Environment")
elif not set(['technology','naturalscience']).isdisjoint(genreList):
updatedgenreList.append(["Technology/Natural sciences","0x92"][useHex]) #Technology/Natural Sciences 0x92
genreCount.append("Technology/Natural sciences")
elif not set(['medicine','physiology','psychology','health','medical']).isdisjoint(genreList):
updatedgenreList.append(["Medicine/Physiology/Psychology","0x93"][useHex]) #Medicine/Physiology/Psychology 0x93
genreCount.append("Medicine/Physiology/Psychology")
elif not set(['foreigncountrie','expedition']).isdisjoint(genreList):
updatedgenreList.append(["Foreign countries/Expeditions","0x94"][useHex]) #Foreign Countries/Expeditions 0x94
genreCount.append("Foreign countries/Expeditions")
elif not set(['social','spiritualscience']).isdisjoint(genreList):
updatedgenreList.append(["Social/Spiritual sciences","0x95"][useHex]) #Social/Spiritual Sciences 0x95
genreCount.append("Social/Spiritual sciences")
elif not set(['furthereducation','adulteducation']).isdisjoint(genreList):
updatedgenreList.append(["Further education","0x96"][useHex]) #Further Education 0x96
genreCount.append("Further education")
elif not set(['language']).isdisjoint(genreList):
updatedgenreList.append(["Languages","0x97"][useHex]) #Languages 0x97