/* * Utilitarianism.sleela * COORENAGRAPH moral vocabulary. * Part of speech: noun */ class Utilitarianism { String term() { return "Utilitarianism"; } String partOfSpeech() { return "noun"; } String definition() { return "An ethical framework that evaluates an action by its benefits or happiness for the greatest number."; } // --- COORENAGRAPH linguistic / graph members, specific to "Utilitarianism" // Related adverb form(s) of this object. int adverbCount() { return 1; } String[] adverbs() { String[] a = new String[1]; a[0] = "utilitarianly"; return a; } // Related verb form(s) of this object. int verbCount() { return 1; } String[] verbs() { String[] v = new String[1]; v[0] = "maximize"; return v; } // Related noun form(s) of this object. int nounCount() { return 3; } String[] nouns() { String[] n = new String[3]; n[0] = "utilitarianism"; n[1] = "utility"; n[2] = "utilitarian"; return n; } // Co-sections: sibling concepts co-located with this object in the graph. int cosectCount() { return 3; } String[] cosects() { String[] c = new String[3]; c[0] = "Deontology"; c[1] = "VirtueEthics"; c[2] = "Beneficence"; return c; } // The moral dimension / axis this object occupies. String dimension() { return "framework"; } // Interchangeable (near-synonym) terms for this object. int interchangeCount() { return 2; } String[] interchanges() { String[] i = new String[2]; i[0] = "consequentialism"; i[1] = "greatest-good ethics"; return i; } }