-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.py
56 lines (48 loc) · 3.02 KB
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# constants definition
DATA_PATH = "data/"
RAW_DATA_PATH = DATA_PATH + "raw/"
DATAFRAMES_PATH = DATA_PATH + "dataframes/"
NB_VIDEOS = 3
ANSWERS_DICT = {"i1":"fake/natural", "ii2":"stagnant/lively", "ii5":"inert/interactive",
"i3":"unconscious/conscious", "iv1":"incompetent/competent",
"iv4":"unintelligent/intelligent", "ii3":"mechanical/organic",
"ii6":"unresponsive/responsive", "iv5":"foolish/sensible",
"iv2":"ignorant/knowledgeable", "i2":"machinelike/humanlike",
"i4":"artificial/lifelike", "ii1":"dead/alive", "iii4":"unpleasant/pleasant",
"i5":"rigid/smooth", "iii1":"dislike/like", "iv3":"irresponsible/responsible",
"iii5":"awful/nice", "iii2":"unfriendly/friendly", "iii3":"unkind/kind"}
ANSWERS_COLUMNS = ["fake/natural", "stagnant/lively", "inert/interactive",
"unconscious/conscious", "incompetent/competent",
"unintelligent/intelligent", "mechanical/organic",
"unresponsive/responsive", "foolish/sensible",
"ignorant/knowledgeable", "machinelike/humanlike",
"artificial/lifelike", "dead/alive", "unpleasant/pleasant",
"rigid/smooth", "dislike/like", "irresponsible/responsible",
"awful/nice", "unfriendly/friendly", "unkind/kind"]
NB_QUESTIONS = len(ANSWERS_COLUMNS)
ANTHROPOMORPHISM_COLUMNS = ["fake/natural", "machinelike/humanlike",
"unconscious/conscious", "artificial/lifelike",
"rigid/smooth"]
ANIMACY_COLUMNS = ["dead/alive", "stagnant/lively", "mechanical/organic",
"inert/interactive", "artificial/lifelike",
"unresponsive/responsive"]
LIKEABILITY_COLUMNS = ["dislike/like", "unfriendly/friendly",
"unkind/kind", "unpleasant/pleasant",
"awful/nice"]
INTELLIGENCE_COLUMNS = ["incompetent/competent", "ignorant/knowledgeable",
"irresponsible/responsible", "unintelligent/intelligent",
"foolish/sensible"]
IMPRESSIONS = {"Anthropomorphism": ANTHROPOMORPHISM_COLUMNS,
"Animacy":ANIMACY_COLUMNS,
"Likeability":LIKEABILITY_COLUMNS,
"Intelligence":INTELLIGENCE_COLUMNS}
FEATURES = ['smile', 'innerBrowRaise', 'browRaise', 'browFurrow', 'noseWrinkle',
'upperLipRaise', 'lipCornerDepressor', 'chinRaise', 'lipPucker',
'lipPress', 'lipSuck', 'mouthOpen', 'smirk', 'eyeClosure', 'attention',
'lidTighten', 'jawDrop', 'dimpler', 'eyeWiden', 'cheekRaise',
'lipStretch']
IGNORED_FEATURES = ['attention', 'lidTighten', 'jawDrop', 'dimpler',
'eyeWiden', 'cheekRaise', 'lipStretch']
CONSIDERED_FEATURES = ['smile', 'innerBrowRaise', 'browRaise', 'browFurrow', 'noseWrinkle',
'upperLipRaise', 'lipCornerDepressor', 'chinRaise', 'lipPucker',
'lipPress', 'lipSuck', 'mouthOpen', 'smirk', 'eyeClosure']