babelmachine / label_dicts.py
vkovacs
sanitizing cap labels
baacdbb
raw
history blame
3.03 kB
CAP_NUM_DICT = {
0: 1,
1: 2,
2: 3,
3: 4,
4: 5,
5: 6,
6: 7,
7: 8,
8: 9,
9: 10,
10: 12,
11: 13,
12: 14,
13: 15,
14: 16,
15: 17,
16: 18,
17: 19,
18: 20,
19: 21,
20: 23,
21: 999,
22: 999, # had to do this because of some language-domain models (e.g. english media)
}
CAP_LABEL_NAMES = {
1: "Macroeconomics",
2: "Civil Rights",
3: "Health",
4: "Agriculture",
5: "Labor",
6: "Education",
7: "Environment",
8: "Energy",
9: "Immigration",
10: "Transportation",
12: "Law and Crime",
13: "Social Welfare",
14: "Housing",
15: "Domestic Commerce",
16: "Defense",
17: "Technology",
18: "Foreign Trade",
19: "International Affairs",
20: "Government Operations",
21: "Public Lands",
23: "Culture",
999: "No Policy Content"
}
MANIFESTO_LABEL_NAMES = {
0: "No Policy Goal",
999: "No Policy Goal",
101: "Foreign Special Relationships: Positive",
102: "Foreign Special Relationships: Negative",
103: "Anti-Imperialism",
104: "Military: Positive",
105: "Military: Negative",
106: "Peace",
107: "Internationalism: Positive",
108: "European Community/Union: Positive",
109: "Internationalism: Negative",
110: "European Community/Union: Negative",
201: "Freedom and Human Rights",
202: "Democracy",
203: "Constitutionalism: Positive",
204: "Constitutionalism: Negative",
301: "Federalism",
302: "Centralisation",
303: "Governmental and Administrative Efficiency",
304: "Political Corruption",
305: "Political Authority",
401: "Free Market Economy",
402: "Incentives",
403: "Market Regulation",
404: "Economic Planning",
405: "Corporatism/Mixed Economy",
406: "Protectionism: Positive",
407: "Protectionism: Negative",
408: "Economic Goals",
409: "Keynesian Demand Management",
410: "Economic Growth: Positive",
411: "Technology and Infrastructure",
412: "Controlled Economy",
413: "Nationalisation",
414: "Economic Orthodoxy",
415: "Marxist Analysis: Positive",
416: "Anti-Growth Economy: Positive",
501: "Environmental Protection: Positive",
502: "Culture: Positive",
503: "Equality: Positive",
504: "Welfare State Expansion",
505: "Welfare State Limitation",
506: "Education Expansion",
507: "Education Limitation",
601: "National Way of Life: Positive",
602: "National Way of Life: Negative",
603: "Traditional Morality: Positive",
604: "Traditional Morality: Negative",
605: "Law and Order: Positive",
606: "Civic Mindedness: Positive",
607: "Multiculturalism: Positive",
608: "Multiculturalism: Negative",
701: "Labour Groups: Positive",
702: "Labour Groups: Negative",
703: "Agriculture and Farmers: Positive",
704: "Middle Class and Professional Groups",
705: "Underprivileged Minority Groups",
706: "Non-economic Demographic Groups"
}