VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Working Examples of Vocabulary Lattice + English Lattice at Work (Almost-Code)

Three learners review open books together at a classroom table, with stacks of textbooks, stationery and a whiteboard in the bright room.

Goal: show how the lattice works, not just what it is.
Output: working examples you can copy into prompts, lessons, and “repair loops”.


Start Here:

0) Almost-Code Header

Spec: LanguageOS.VocabLattice + LanguageOS.EnglishLattice
Version: v0.1 (example-implementation)
Scope: Z0 (sentence) → Z1 (paragraph) → Z2 (essay) → Z3 (exam/real-world reliability)
Core claim:
- Vocabulary is not a list. It is a graph (meaning-space) with edges.
- English skill is not “grammar rules”. It is a routing system over that graph under load.

1) Vocabulary Lattice (VL) — Minimal Executable Model

1.1 Nodes, Edges, and Anchors

NodeType: VNode
Fields: {lemma, pos, sense_id, register, polarity, intensity, typical_frames, collocations}
EdgeType: VEdge
Kinds:
- SYN (near-synonym) - ANT (antonym)
- HYPER (broader) - HYPO (narrower)
- PART (part-of) - CAUSE (cause→effect)
- ENABLE (enables) - BLOCK (prevents)
- FRAME (fits frame) - COLLO (collocates)
- REGISTER (formal↔casual) - INTENSITY (weak↔strong)

Example anchor cluster (one “concept island”)

ConceptIsland: VL.CI.anger
VNodes:
- angry|adj|sense1|neutral|neg|mid|frames=[be angry at, get angry about]|collo=[angry at him]
- furious|adj|sense1|formal|neg|high|frames=[be furious with]|collo=[furious with management]
- annoyed|adj|sense1|neutral|neg|low|frames=[be annoyed by]|collo=[annoyed by the noise]
- outraged|adj|sense1|formal|neg|high|frames=[be outraged at]|collo=[outraged at the decision]
VEdges:
angry --INTENSITY--> furious
annoyed --INTENSITY--> angry
furious --SYN--> outraged (near)
angry --FRAME--> "be ___ at"
furious --FRAME--> "be ___ with"

1.2 Sensors (how you detect VL failure)

SensorPack: VL.S
S1: SenseWrong (picked wrong sense_id for context)
S2: RegisterMismatch (too formal / too casual)
S3: FrameBreak (wrong preposition/structure)
S4: CollocationClash (sounds unnatural)
S5: IntensityMismatch (too weak/too strong)
S6: PolarityDrift (emotion/stance flips accidentally)

1.3 Repair Loops

RepairLoop: VL.R
R1: ReplaceByEdge(kind=SYN/HYPO/HYPER)
R2: FixFrame(edge=FRAME)
R3: FixCollocation(edge=COLLO)
R4: TuneIntensity(edge=INTENSITY)
R5: TuneRegister(edge=REGISTER)

2) English Lattice (EL) — Minimal Executable Model

Vocabulary lattice is “meaning nodes + edges”.
English lattice is routing + assembly: how you turn intent into stable output.

2.1 Nodes and Binds

NodeType: ENode
Kinds:
- CLAUSE (main/subordinate)
- ROLE (subject/verb/object/complement/adjunct)
- TIME (tense/aspect)
- LINK (because/however/therefore)
- VIEW (stance: neutral/empathetic/critical)
- LOAD (constraints: time limit, word limit, complexity)
BindType: EBind
Kinds:
- ROLE_BIND (who did what to whom)
- TIME_BIND (when / ongoing / completed)
- CAUSE_BIND (reason → result)
- CONTRAST_BIND (X but Y)
- EVIDENCE_BIND (claim → evidence)
- CONTROL_BIND (topic sentence → paragraph support)

2.2 Sensors (EL failures)

SensorPack: EL.S
E1: RoleConfusion (unclear agent/action/target)
E2: TimeDrift (tense shifts, timeline confusion)
E3: LinkFailure (missing or wrong connector)
E4: ReferenceLeak (pronoun unclear)
E5: ScopeLeak (sentence claims too much)
E6: LoadCollapse (structure breaks under time pressure)

2.3 Repair Loops

RepairLoop: EL.R
ER1: RebindRoles (explicit subject + verb + object)
ER2: StabilizeTime (choose a timeline + align verbs)
ER3: InsertLink (because/however/therefore + punctuation)
ER4: ReplaceReference (repeat noun / define "this/it")
ER5: ShrinkScope (split sentence; add limits/conditions)
ER6: ReduceLoad (shorter clauses; fewer embeds; simpler frames)

3) Working Examples — Vocabulary Lattice in Action

Example VL-1: Intensity + Register Calibration

Intent (Z0): “She was angry about the unfair rule.”

Draft A: “She was enraged about the unfair rule.”
Run sensors:

  • S5 IntensityMismatch: enraged may be too strong (implies extreme).
  • S3 FrameBreak: “enraged about” is weaker than “enraged at/by”.

Repair (VL.R):

R4 TuneIntensity: enraged -> furious / outraged / angry
R2 FixFrame: "furious with" / "outraged at" / "angry about"

Outputs (pick by intent):

  • Low intensity: “She was annoyed by the unfair rule.”
  • Medium: “She was angry about the unfair rule.”
  • High formal: “She was outraged at the unfair rule.”

What happened (lattice view): you moved along INTENSITY and FRAME edges.


Example VL-2: Collocation Fix (Naturalness)

Intent: “The mistake caused problems.”

Draft: “The mistake created problems.” (OK)
But you want a more native collocation.

Lattice edges:

problem --COLLO--> cause problems / create problems / lead to problems
mistake --CAUSE--> problems

Repairs:

  • Strong causal: “The mistake caused problems.”
  • More formal chain: “The mistake led to several problems.”
  • More precise: “The mistake triggered a series of problems.”

Sensor fired: S4 CollocationClash if you wrote “made problems” (unnatural).


Example VL-3: Sense Selection (Same word, wrong sense)

Intent: “He noticed the pattern.”

Bad draft: “He recognized the pattern.” (maybe too strong)
S1 SenseWrong: recognize can imply prior familiarity; notice is first detection.

Repairs via edges:

notice --SYN--> spot / observe
recognize --SYN--> identify (requires familiarity)

Outputs:

  • First-time detection: “He spotted a pattern.”
  • After familiarity: “He recognized the pattern from before.”

4) Working Examples — English Lattice in Action

Example EL-1: Role Binding (Who did what?)

Messy sentence: “After the argument, the teacher told the student was wrong.”
Sensors:

  • E1 RoleConfusion: “told the student was wrong” missing “that” / unclear role.
  • E4 ReferenceLeak: who is wrong?

Repair (EL.R):

ER1 RebindRoles: teacher -> told -> student
ER4 ReplaceReference: specify claim object

Stable outputs:

  • “After the argument, the teacher told the student that his answer was wrong.”
  • “After the argument, the teacher told the student he was wrong to shout.” (different meaning)

What happened: you repaired ROLE_BIND and the clause object.


Example EL-2: Link + Logic (Because/Therefore)

Weak paragraph (logic missing):
“Many students struggle with vocabulary. They cannot write well. They lose marks.”

Sensors:

  • E3 LinkFailure: missing causal links.
  • E5 ScopeLeak: “cannot write well” too broad.

Repair:

ER3 InsertLink: because/therefore
ER5 ShrinkScope: specify "precision" + "variety" + "exam conditions"

Rewritten (Z1 stable):
“Many students struggle with vocabulary; as a result, their writing becomes less precise. Because they rely on repeated words and vague phrases under time pressure, they lose marks for content and expression.”


Example EL-3: Time Stability (Narrative tense)

Draft (tense drift):
“John walks into the room and saw the broken vase. He is shocked and shouted.”

Sensors:

  • E2 TimeDrift

Repair:

ER2 StabilizeTime: choose past OR present

Past tense (standard narrative):
“John walked into the room and saw the broken vase. He was shocked and shouted.”

Present tense (stylised):
“John walks into the room and sees the broken vase. He is shocked and shouts.”


5) Combined Working Examples — VL + EL Together

Example Combo-1: Upgrade a sentence by lattice routing

Intent: “The city recovered quickly after the flood.”

Step A — EL scaffolding

ENodes:
CLAUSE(main): city recovered quickly
CLAUSE(sub): after the flood
EBinds: TIME_BIND(after), ROLE_BIND(city→recovered)

Step B — VL precision upgrade (pick better VNodes)

  • “recovered” alternatives: rebuilt, stabilised, returned to normal, bounced back
  • “quickly” alternatives: within weeks, rapidly, in a matter of days (more measurable)

Sensors:

  • VL S6 PolarityDrift: “bounced back” is informal tone.
  • VL S2 RegisterMismatch: choose formal vs casual.

Outputs (choose tone):

  • Neutral: “The city recovered rapidly after the flood.”
  • Measurable: “The city returned to normal within weeks after the flood.”
  • Formal: “The city stabilised quickly after the flood.”

Example Combo-2: PSLE-style emotion control (show, not tell)

Bad (flat): “I was scared.”
Goal: show fear through actions + precise vocab.

EL plan (roles + sequence)

Paragraph micro-structure:
- Trigger (what happened)
- Body reaction (physical)
- Thought (internal)
- Action (what I did next)
EBinds: CAUSE_BIND(trigger→reaction), CONTROL_BIND(topic→support)

VL injection (fear island)

fear nodes: nervous (low), uneasy (low-mid), frightened (mid), terrified (high), panicked (spike)
collocations: heart pounded, hands trembled, throat went dry
frames: "I felt ___ when..." / "I was ___ that..."

Output paragraph (stable under load):
“When the lights flickered and died, my throat went dry. My heart pounded so loudly I could hear it over the rain. For a moment, I was terrified that I was alone, but I forced myself to breathe slowly and reached for my phone.”

What happened:

  • EL provided the binds (cause→reaction→action).
  • VL provided intensity + collocation.

Example Combo-3: Argument writing (claim → evidence → reasoning)

Prompt: “Should phones be allowed in class?”

EL skeleton (Z2 essay reliability)

ENodes:
- Claim (position)
- Reason 1
- Evidence 1
- Counterargument
- Rebuttal
- Conclusion
EBinds:
EVIDENCE_BIND(claim→evidence)
CONTRAST_BIND(counter→rebuttal)

VL precision (reduce vague words)

Replace vague nodes:

  • “bad” → distracting / disruptive / reduces attention span (choose)
  • “good” → beneficial / efficient / supports learning (choose)
  • “help” → enables / improves / strengthens (choose)

One paragraph output:
“Phones should be restricted during lessons because they are distracting. Even a short notification pulls attention away from the teacher, and students often take several minutes to refocus. Although phones can be useful for research, that benefit can be achieved through controlled use—such as allowing them only during designated activities.”

Sensors passed:

  • EL: links (because/although), counter/rebuttal.
  • VL: register matches “argumentative formal”.

6) Prompt Blocks You Can Reuse (LLM-First)

Block A — VL Debug Prompt

Task: Vocabulary Lattice Debug
Input sentence: <PASTE>
Return:
1) Triggered sensors (S1–S6)
2) Candidate replacements via edges (SYN/HYPO/HYPER/INTENSITY/REGISTER/FRAME/COLLO)
3) 3 improved rewrites:
- simpler
- more precise
- more formal
Constraints: preserve original meaning unless stated

Block B — EL Debug Prompt

Task: English Lattice Debug
Input paragraph: <PASTE>
Return:
1) Role map: who did what to whom (ROLE_BIND)
2) Time map: timeline + tense consistency (TIME_BIND)
3) Logic links: because/however/therefore (LINK)
4) Triggered sensors (E1–E6)
5) Minimal edits rewrite + Clean rewrite

Block C — Combined “Under Load” Upgrade

Task: VL+EL Under-Load Upgrade
Context: exam conditions / word limit <N> / tone <formal|neutral|casual>
Input: <PASTE>
Do:
- First stabilize EL (roles, links, tense)
- Then upgrade VL (precision, collocation, register)
Output:
- Version 1 (safe/simple)
- Version 2 (high score)
- Version 3 (compact)

7) Failure Mode Trace (Short, Explicit)

Z0: wrong word sense (S1) → sentence meaning drifts
Z1: missing links (E3) → paragraph logic collapses
Z2: register/intensity mismatch (S2/S5) → tone breaks + marks drop
Repair: fix EL binds first → then tune VL edges → stable output under time pressure

Recommended Internal Links (Spine)

Start Here for Lattice Infrastructure Connectors