add emotions

This commit is contained in:
j 2018-08-10 12:41:54 +01:00
parent 7437bc3f7f
commit 08e9418e85
2 changed files with 7 additions and 0 deletions

View File

@ -366,6 +366,11 @@
"animist": {},
"naturalist": {},
"totemist": {}
},
"emotion": {
"emotion dramatic mood": {},
"emotion scene tone": {},
"emotion sound": {}
}
},
"mise en cadre": {

View File

@ -13,6 +13,8 @@ def find_path(parent, root=None, path=None):
root = ontology
if path is None:
path = []
if parent == 'location':
return ['film', 'architecture', 'rhythmanalysis', 'the everyday', 'environment', 'location']
for key in root:
if key == parent:
return path + [key]