Home /Modules/coorenagraph/Ethics.sleela

Ethics.sleela

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

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

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

    String partOfSpeech() {
        return "noun";
    }

    String definition() {
        return "A systematic code or framework of conduct used to guide behavior, often in a profession or institution.";
    }

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

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

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

    // Related noun form(s) of this object.
    int nounCount() { return 3; }
    String[] nouns() {
        String[] n = new String[3];
        n[0] = "ethic";
        n[1] = "ethics";
        n[2] = "ethicist";
        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] = "Morals";
        c[1] = "Deontology";
        c[2] = "VirtueEthics";
        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] = "morality";
        i[1] = "code of conduct";
        return i;
    }
}