Home /Modules/coorenagraph/Deontology.sleela

Deontology.sleela

coorenagraph/moral/Deontology.sleela · 72 line(s) · sleela

/*
 * Deontology.sleela
 * COORENAGRAPH moral vocabulary.
 * Part of speech: noun
 */

class Deontology {
    String term() {
        return "Deontology";
    }

    String partOfSpeech() {
        return "noun";
    }

    String definition() {
        return "An ethical theory in which actions are judged by duties or rules, regardless of consequences.";
    }

    // --- COORENAGRAPH linguistic / graph members, specific to "Deontology" --

    // Related adverb form(s) of this object.
    int adverbCount() { return 1; }
    String[] adverbs() {
        String[] a = new String[1];
        a[0] = "deontologically";
        return a;
    }

    // Related verb form(s) of this object.
    int verbCount() { return 1; }
    String[] verbs() {
        String[] v = new String[1];
        v[0] = "oblige";
        return v;
    }

    // Related noun form(s) of this object.
    int nounCount() { return 3; }
    String[] nouns() {
        String[] n = new String[3];
        n[0] = "deontology";
        n[1] = "duty";
        n[2] = "deontologist";
        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] = "Utilitarianism";
        c[1] = "VirtueEthics";
        c[2] = "Ethics";
        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] = "duty ethics";
        i[1] = "rule-based ethics";
        return i;
    }
}