Skip to main content

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:
Tiempo verbal:
  0. Aleatorio (mezcla todos)
  1. Presente simple       (I eat)
  2. Presente continuo     (I am eating)
  3. Pasado simple         (I ate)
  4. Pasado continuo       (I was eating)
  5. Futuro simple         (I will eat)
  6. Presente perfecto     (I have eaten)
  7. Condicional           (I would eat)
Elige (0-7):
Then it asks how many sentences to produce in this batch:
¿Cuántas quieres generar? (1-20):
Enter any number from 1 to 20. If you enter an invalid value the session defaults to 5 sentences.

Sample output

Option 1 — Normal mode (declarative sentences):
1. EN: [Presente simple] She eats tacos at home today.
   ES: [Presente simple] Ella come tacos en casa hoy.

2. EN: [Pasado continuo] We were drinking coffee at the café yesterday.
   ES: [Pasado continuo] Nosotros estábamos bebiendo café en el café ayer.
Option 2 — Question mode:
1. EN: [Presente simple] Does she eat tacos at home today?
   ES: [Presente simple] ¿Ella come tacos en casa hoy?

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

OptionTenseEnglish exampleSpanish label
0Aleatorio(random mix)Aleatorio
1Present SimpleI eatPresente simple
2Present ContinuousI am eatingPresente continuo
3Past SimpleI atePasado simple
4Past ContinuousI was eatingPasado continuo
5Future SimpleI will eatFuturo simple
6Present PerfectI have eatenPresente perfecto
7ConditionalI would eatCondicional
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.

Build docs developers (and LLMs) love