"Sets to Sentences" Software for Natural Language Generation
- a "Simple Sentence" Generator



A. Enter Subject and Predicate Data


Enter the Subject and Predicate for a Sentence GrammarType 7 Sentence.


You can select one of the following preset datasets:


PresetType 7 Applying Math to Finance Contracts Datasets:
; ; ; ; ; ; ; ; ; ;

PresetType 7 Grammar Text Datasets:

PresetType 7 Philosophy Text Datasets:

PresetType 7 Insurance Contract Datasets:

PresetType 7 Parameter Test Datasets:


B. Summary of Selected Parameters


Principal Terms
Actor Action Target
Actor Attributes
(1) Singular Actor (2) Capitalized Actor (3) Actor Plural (4) Actor Plural Capitalized (5) "Number" of the Actor (6) Does Actor start with a Determiner? (a, the, ...) (7) "Specificity" of the Actor (Specific = "the"; Nonspecific = "a".) (8) Actor: Single Atom Set? (If Single like "Socrates", don't use "some/all".)
Action Attributes
(1) Base Form (2) -s Form (3) -ed Form (4) PresentParticiple -ing Form (5) Past Participle -en Form
Target Attributes
(1) Singular Target (2) Capitalized Target (3) Target Plural (4) Target Plural Capitalized (5) "Number" of the Target (6) Does Target start with a Determiner? (a, the, ...) (7) "Specificity" of the Target (Specific = "the"; Nonspecific = "a".) (8) Target: Single Atom Set? (If Single like "Socrates", don't use "some/all".)
General Sentence Attributes
(1) Preset Dataset (2) Context (3) Tense (4) Two-Set Relationship (Active) (5) Two-Set Relationship (Passive DO) (6) Optional Adverbial (7) Optional Adverbial Capitalized (8) Source

C. The Software Generates Sentences with variations in Commutative Element order, Two-Set Relationship Clauses, Propositions, and Relations.


(1) Display the 6 (n!, where n = 3) different Commutative Element orders

CE CE CE Notes

(2) Commutative Element and Optional Adverbial Orders.

Display the 24 (n!, where n = 4) different Commutative Element orders

CE CE CE CE Notes

(3) Display Sentences with Emphasized Elements - Simple Sentence Types 7-10 Only

Label CE CE

(4) Display Sentence with Objectified Predicate (Direct and Inverse) (2n = 4, where n = number of Substances, i.e., Actor and Target)

Type Subject Copula Predicate

(5) Display Sentences with Two-Set Relationship (TSR) Expressed Mathematically (n = Number of Emphasized Element Clauses = 4)

Type Subject Two-Set Relationship (TSR) Predicate

(6) Display the four Two-Set Relationship Clauses for a Type 7 Sentence with the TSR Expressed in Words. (n = Number of Emphasized Element Clauses = 4)

Type Subject Copula Predicate

(7) Display the eight Propositions of Classical Logic. Each TSR generates two Propositions. (2n = 2(4) = 8)

Type Subject Copula Predicate

(8) Display the two Emphasized Element Object Relations and the two Emphasized Element Attribute Relations

CE Relationship x Object Relation y
CE Relationship x Attribute Relation y

Notes:
1. Actor:When typing in an Actor, we leave out the Article (e.g., "the"). The software will automatically add the Article ("the" or "a") with the appropriate initial Cap or Lowercase letter.
2. Two-Set Relationship:For aType 7 Sentence, the Predicate is an Attribute, so we must Objectify the Predicate by adding "that which is..." Then, we can compare the Subject and the Predicate and determine the Two-Set Relationship, which will either be Equal or Subset.
3. Adding New Sentences: This software application works for all of the Sample Sentences included in the book "The Mathematics of Language". It is possible that changes will be required to accommodate new sentences. This is not a flaw in the software, but rather it reflects the nature of learning. That is, we make incremental changes over time to achieve continuous improvement in processes.
4. Note that although there are four Emphasized Element Clauses, there are only two Emphasized Element Relations. The reason for this is that in the case of Relations, the Action is a separate element in the middle, i.e., the Relation that comes between the Subject and the Predicate. Therefore, there are fewer combinations than where the Action is added to either the Subject or the Predicate.
5. Mathematics is not a spectator sport! Work out the examples with pen and paper.