"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 Grammar Type 2 Sentence.


You can select one of the following preset datasets:


Preset Type 2 Applying Math to Finance Contracts Datasets:
; ; ; ; ; ; ; ; ; ; ; ;

Preset Type 2 Grammar Text Datasets:
; ; ; ;

Preset Type 2 Philosophy Text Datasets:

Preset Type 2 Insurance Contract Datasets:

Preset Type 2 Test Parameter Datasets:


B. Summary of Selected Parameters


Core Ideas
(1) Species (2) Quality
Species Attributes
(1) Singular Species (2) Capitalized Species (3) Species Plural (4) Species Plural Capitalized (5) "Number" of the Species (6) Does Species start with a Determiner? (a, the, ...) (7) "Specificity" of the Species (Specific = "the"; Nonspecific = "a".) (8) Species: Single Atom Set? (If Single like "Socrates", don't use "some/all".)
General Sentence Attributes
(1) Preset Dataset (2) Species Context (3) Tense (4) Two-Set Relationship (5) Quality with Initial Capitalization (6) Optional Adverbial (7) Optional Adverbial Capitalized (8) Source

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


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

CE Copula CE Notes

(2) Commutative Element and Optional Adverbial Orders.

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

CE Copula Opt.1 CE Copula Opt.2 CE Notes

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

Intentionally omitted.

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

Type Subject Copula Predicate

(5) Display Sentences with Two-Set Relationship (TSR) Expressed Mathematically (n = 2)

Type Subject Two-Set Relationship (TSR) Predicate

(6) Display the two Two-Set Relationship Clauses for a Type 2 Sentence with the TSR Expressed in Words. (n = 2)

Type Subject Copula Predicate

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

Type Subject Copula Predicate

(8) Display the two Emphasized Element Relations - Simple Sentence Types 7-10 Only

Intentionally omitted.

Notes:
1. Species:When typing in a Species, we leave out the Article (e.g., "the"). The software will automatically add the Article ("the" or "a") with the appropriate initial Capital or Lowercase letter.
2. Two-Set Relationship:For a Type 2 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. Mathematics is not a spectator sport! Work out the examples with pen and paper.
5. A future "advanced" version of this software application will allow users to input their own subject and predicate data.