Spaces:
Running
Running
media2
Browse files- label_dicts.py +86 -0
label_dicts.py
CHANGED
@@ -1,3 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
CAP_NUM_DICT = {
|
2 |
0: 1,
|
3 |
1: 2,
|
|
|
1 |
+
CAP_MEDIA2_LABEL_NAMES = {
|
2 |
+
1: 'Macroeconomics',
|
3 |
+
2: 'Civil Rights',
|
4 |
+
3: 'Health',
|
5 |
+
4: 'Agriculture',
|
6 |
+
5: 'Labor',
|
7 |
+
6: 'Education',
|
8 |
+
7: 'Environment',
|
9 |
+
8: 'Energy',
|
10 |
+
9: 'Immigration',
|
11 |
+
10: 'Transportation',
|
12 |
+
12: 'Law and Crime',
|
13 |
+
13: 'Social Welfare',
|
14 |
+
14: 'Housing',
|
15 |
+
15: 'Banking, Finance, and Domestic Commerce',
|
16 |
+
16: 'Defense',
|
17 |
+
17: 'Technology',
|
18 |
+
18: 'Foreign Trade',
|
19 |
+
19: 'International Affairs',
|
20 |
+
20: 'Government Operations',
|
21 |
+
21: 'Public Lands',
|
22 |
+
23: 'Culture',
|
23 |
+
24: 'State and Local Government Administration',
|
24 |
+
25: 'Weather',
|
25 |
+
26: 'Fires, emergencies and natural disasters',
|
26 |
+
27: 'Crime and trials',
|
27 |
+
28: 'Arts, culture, entertainment and history',
|
28 |
+
29: 'Style and fashion',
|
29 |
+
30: 'Food',
|
30 |
+
31: 'Travel',
|
31 |
+
32: 'Wellbeing and learning',
|
32 |
+
33: 'Personal finance and real estate',
|
33 |
+
34: 'Personal technology and popular science',
|
34 |
+
35: 'Churches and Religion',
|
35 |
+
36: 'Celebrities and human interest',
|
36 |
+
37: 'Obituaries and death notices',
|
37 |
+
38: 'Sports',
|
38 |
+
39: 'Crosswords, puzzles, comics',
|
39 |
+
40: 'Media production/internal, letters',
|
40 |
+
41: 'Advertisements',
|
41 |
+
998: 'No Policy and No Media Content'
|
42 |
+
}
|
43 |
+
|
44 |
+
CAP_MEDIA2_NUM_DICT = {
|
45 |
+
0: 1,
|
46 |
+
1: 2,
|
47 |
+
2: 3,
|
48 |
+
3: 4,
|
49 |
+
4: 5,
|
50 |
+
5: 6,
|
51 |
+
6: 7,
|
52 |
+
7: 8,
|
53 |
+
8: 9,
|
54 |
+
9: 10,
|
55 |
+
10: 12,
|
56 |
+
11: 13,
|
57 |
+
12: 14,
|
58 |
+
13: 15,
|
59 |
+
14: 16,
|
60 |
+
15: 17,
|
61 |
+
16: 18,
|
62 |
+
17: 19,
|
63 |
+
18: 20,
|
64 |
+
19: 21,
|
65 |
+
20: 23,
|
66 |
+
21: 24,
|
67 |
+
22: 25,
|
68 |
+
23: 26,
|
69 |
+
24: 27,
|
70 |
+
25: 28,
|
71 |
+
26: 29,
|
72 |
+
27: 30,
|
73 |
+
28: 31,
|
74 |
+
29: 32,
|
75 |
+
30: 33,
|
76 |
+
31: 34,
|
77 |
+
32: 35,
|
78 |
+
33: 36,
|
79 |
+
34: 37,
|
80 |
+
35: 38,
|
81 |
+
36: 39,
|
82 |
+
37: 40,
|
83 |
+
38: 41,
|
84 |
+
39: 998
|
85 |
+
}
|
86 |
+
|
87 |
CAP_NUM_DICT = {
|
88 |
0: 1,
|
89 |
1: 2,
|