File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 19
19
3 . ` $ chmod +x ./tira_run.sh `
20
20
4 . ` $ ./tira_run.sh -s <run-type> -i $inputDataset -o $outputDir `
21
21
- Run Types
22
- - ` None `: No sentiments
22
+ - ` no `: No sentiments
23
23
- ` emotional `: Emotional is better
24
24
- ` neutral `: Neutral is better
25
25
32
32
3 . ` $ docker run -e RUN_TYPE=<run-type> -v <input-dir-path>:/input -v <output-dir-path>:/output --name argu --rm -it --network="host" argu `
33
33
- Runs the ArgU container
34
34
- Run Types
35
- - ` None `: No sentiments
35
+ - ` no `: No sentiments
36
36
- ` emotional `: Emotional is better
37
37
- ` neutral `: Neutral is better
38
38
- Input directory with args-me.json and topics.xml
60
60
5 . ` $ python -m argU -d `
61
61
- Compare given queries with argument embeddings; store Top-N DESM scores into MongoDB
62
62
6 . Merge DESM, Terrier and Sentiments to create final scores
63
- 1. ` $ python -m argU -m -s None -o <output-dir-path> `
63
+ 1. ` $ python -m argU -m -s no -o <output-dir-path> `
64
64
* R1: No sentiments
65
65
2. ` $ python -m argU -m -s emotional -o <output-dir-path> `
66
66
* R2: Emotional is better
Original file line number Diff line number Diff line change 144
144
output_dict [query_id ] = merged_args
145
145
146
146
with open (os .path .join (argparsed .output , 'run.txt' ), 'w' ) as f_out :
147
- mehtod = setup .METHOD_NONE
147
+ method = setup .METHOD_NO
148
148
if argparsed .sentiments == 'emotional' :
149
- mehtod = setup .METHOD_EMOTIONAL
149
+ method = setup .METHOD_EMOTIONAL
150
150
elif argparsed .sentiments == 'neutral' :
151
- mehtod = setup .METHOD_NEUTRAL
151
+ method = setup .METHOD_NEUTRAL
152
152
for (id , args ) in output_dict .items ():
153
153
for i , (arg_id , score , sent ) in enumerate (args ):
154
154
f_out .write (' ' .join ([
Original file line number Diff line number Diff line change 41
41
'quoting' : csv .QUOTE_MINIMAL ,
42
42
}
43
43
44
- METHOD_NONE = 'ulT1DetroitnitzCbowDPHSentNone '
44
+ METHOD_NO = 'ulT1DetroitnitzCbowDPHSentNo '
45
45
METHOD_EMOTIONAL = 'ulT1DetroitnitzCbowDPHSentEmotional'
46
46
METHOD_NEUTRAL = 'ulT1DetroitnitzCbowDPHSentNeutral'
47
47
You can’t perform that action at this time.
0 commit comments