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": {},
|
"animist": {},
|
||||||
"naturalist": {},
|
"naturalist": {},
|
||||||
"totemist": {}
|
"totemist": {}
|
||||||
|
},
|
||||||
|
"emotion": {
|
||||||
|
"emotion dramatic mood": {},
|
||||||
|
"emotion scene tone": {},
|
||||||
|
"emotion sound": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mise en cadre": {
|
"mise en cadre": {
|
||||||
|
|
|
@ -13,6 +13,8 @@ def find_path(parent, root=None, path=None):
|
||||||
root = ontology
|
root = ontology
|
||||||
if path is None:
|
if path is None:
|
||||||
path = []
|
path = []
|
||||||
|
if parent == 'location':
|
||||||
|
return ['film', 'architecture', 'rhythmanalysis', 'the everyday', 'environment', 'location']
|
||||||
for key in root:
|
for key in root:
|
||||||
if key == parent:
|
if key == parent:
|
||||||
return path + [key]
|
return path + [key]
|
||||||
|
|
Loading…
Reference in a new issue