add emotions
This commit is contained in:
parent
7437bc3f7f
commit
08e9418e85
2 changed files with 7 additions and 0 deletions
|
@ -366,6 +366,11 @@
|
|||
"animist": {},
|
||||
"naturalist": {},
|
||||
"totemist": {}
|
||||
},
|
||||
"emotion": {
|
||||
"emotion dramatic mood": {},
|
||||
"emotion scene tone": {},
|
||||
"emotion sound": {}
|
||||
}
|
||||
},
|
||||
"mise en cadre": {
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue