Documentation Index
Fetch the complete documentation index at: https://mintlify.com/kyomega85/EnglishMatrix/llms.txt
Use this file to discover all available pages before exploring further.
ModeGenerate is the core production engine of EnglishMatrix. Options 1 (sentences) and 2 (questions) both feed into the same GenerateSentence engine under the hood — the only difference between them is whether the call passes SentenceMode.Normal or SentenceMode.Question. Every sentence is printed as an English–Spanish pair labelled with the active tense.
Starting a session
After selecting option 1 or 2, EnglishMatrix first asks which verb tense to practice:Sample output
Option 1 — Normal mode (declarative sentences):Declarative vs. question mode
In Normal mode (SentenceMode.Normal) the generator builds sentences in standard English word order:
Subject + Verb (conjugated) + Complement + [Place] + [Time]
In Question mode (SentenceMode.Question) the generator applies auxiliary inversion before printing. The appropriate auxiliary is selected per tense and per grammatical person:
Auxiliary + Subject + Verb + Complement + [Place] + [Time] ?
The auxiliaries used are: Do / Does (Present Simple), Am / Is / Are (Present Continuous), Did (Past Simple), Was / Were (Past Continuous), Will (Future Simple), Has / Have (Present Perfect), Would (Conditional).
For compound tenses (Present Continuous, Past Continuous, Present Perfect) the auxiliary is extracted from the already-formed English verb string, and the remaining participle or gerund is reused, so the question is always grammatically correct.
Tense selection
| Option | Tense | English example | Spanish label |
|---|---|---|---|
| 0 | Aleatorio | (random mix) | Aleatorio |
| 1 | Present Simple | I eat | Presente simple |
| 2 | Present Continuous | I am eating | Presente continuo |
| 3 | Past Simple | I ate | Pasado simple |
| 4 | Past Continuous | I was eating | Pasado continuo |
| 5 | Future Simple | I will eat | Futuro simple |
| 6 | Present Perfect | I have eaten | Presente perfecto |
| 7 | Conditional | I would eat | Condicional |
The generator randomly picks a subject, a verb, and a semantically compatible complement based on the verb’s
Accepts field (e.g., a verb that Accepts = "food" will never be paired with a person complement). Place and time phrases are added at random 50 % probability each, so sentences are always grammatically plausible even though vocabulary is drawn at random.