virtue = [ "patience", "courage", "mercy", "wisdom", "honesty", "humility", "kindness", "discipline" ] fault = [ "pride", "haste", "envy", "greed", "anger", "doubt", "vanity", "fear" ] actor = [ "traveler", "farmer", "teacher", "sailor", "builder", "merchant", "child", "elder" ] object = [ "seed", "stone", "lamp", "door", "river", "path", "harvest", "mirror" ] place = [ "market", "garden", "crossroad", "harbor", "mountain", "hearth", "well", "workshop" ] quality = [ "quiet", "steady", "small", "hidden", "bright", "humble", "careful", "patient" ] verb = [ "find", "carry", "mend", "teach", "guard", "shape", "open", "follow" ] consequence = [ "leaves a long shadow", "feeds tomorrow's table", "rings louder than a bell", "travels farther than a shout", "keeps the house standing", "turns a stranger into a friend", "makes the hard road shorter", "sets the lost lantern straight" ] comparison = [ "a full purse", "a sharp blade", "a high wall", "a fast horse", "a golden cup", "a loud promise" ] lesson = [ { value = "{good | sentence} is wiser than {bad}.", weight = 3 }, { value = "{good | sentence} opens what {bad} locks.", weight = 2 }, { value = "Where {bad} builds a wall, {good} finds a gate.", weight = 2 }, { value = "A {trait} {person} can {action} {thing | article} that {bad} would lose.", weight = 3 }, { value = "The {trait} {thing} in {placeName | article} {result}.", weight = 3 }, { value = "Better {good} in {placeName | article} than {bad} in {comparison}.", weight = 2 }, { value = "{person | article | sentence} who follows {good} never fears {placeName | article}.", weight = 1 }, { value = "Do not ask {bad} to {action} what only {good} can keep.", weight = 1 } ] short_lesson = [ "{good | sentence} is wiser than {bad}.", "{good | sentence} opens what {bad} locks.", "Where {bad} builds a wall, {good} finds a gate." ] short = "{% good:virtue %}{% bad:fault %}{short_lesson}" origin = "{% good:virtue %}{% bad:fault %}{% person:actor %}{% thing:object %}{% trait:quality %}{% action:verb %}{% placeName:place %}{% result:consequence %}{lesson}" context = { good = "{virtue}" bad = "{fault}" person = "{actor}" thing = "{object}" trait = "{quality}" action = "{verb}" placeName = "{place}" result = "{consequence}" }