Home /Modules/coorenagraph/Morals.sleela

Morals.sleela

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

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

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

    String partOfSpeech() {
        return "noun";
    }

    String definition() {
        return "A system of internal principles, rules of conduct, and values regarding right and wrong behavior.";
    }

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

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

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

    // Related noun form(s) of this object.
    int nounCount() { return 3; }
    String[] nouns() {
        String[] n = new String[3];
        n[0] = "moral";
        n[1] = "morals";
        n[2] = "morality";
        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] = "Ethics";
        c[1] = "Probity";
        c[2] = "Principled";
        return c;
    }

    // The moral dimension / axis this object occupies.
    String dimension() {
        return "system";
    }

    // Interchangeable (near-synonym) terms for this object.
    int interchangeCount() { return 2; }
    String[] interchanges() {
        String[] i = new String[2];
        i[0] = "principles";
        i[1] = "values";
        return i;
    }
}