Vocabulary coding turns language into an inspectable specification: what information is available, what the task is, what conditions apply and what result should be produced. Language engineering tests whether the specification works when a real person, organisation or AI interprets it. Teenagers aged 13–18 can learn this skill by comparing everyday instructions with computer programmes and designing small rules that survive ordinary, unusual and uncertain cases.
A sentence can direct a person, a team, a form or a software system, but those recipients do not interpret language in identical ways. Human language often relies on context and judgement; formal software requires defined operations and data. In eduKate’s working framework, good vocabulary coding is not about making every conversation robotic. It is about making consequential meaning explicit enough to test, while keeping human authority, safety, consent and correction intact.
- Define the goal before asking a person or AI to execute a task.
- Separate input, instruction, condition, output and evidence.
- Test boundaries, missing information, exceptions and conflicts.
- Treat a recommendation, permission and obligation as different concepts.
- Move from individual instructions to team handovers, policy and global standards.
- Use AI as a rehearsal and critique partner; independently verify the result.
Reading routes: choose the part that matches your question, or work through the chapters in order.
- Start here — foundations
- Word, sentence or condition-level practice
- Systems and institutional meaning
- Worked applications and impact
- Independent workshop and evaluation
Chapter navigation
- 1. A sentence can be a specification
- 2. Input zoom: identify what is available
- 3. Goal zoom: define success in observable terms
- 4. Actor zoom: who is permitted to act?
- 5. Modality zoom: must, may, should and can
- 6. Logic zoom: AND, OR and NOT
- 7. Quantities, thresholds and dates
- 8. Output zoom: choose a format that serves the next task
- 9. Exceptions are not optional decoration
- 10. A worked specification: book return reminders
- 11. Testing the ordinary case
- 12. Testing the boundary case
- 13. Testing the conflicting case
- 14. Natural language and formal programming differ
- 15. AI prompts are proposed instructions, not guaranteed commands
- 16. Debug an AI prompt through evidence
- 17. Team zoom: handovers between people
- 18. Organisation zoom: definitions in forms and databases
- 19. Public-service zoom: rules need appeal
- 20. National and international zoom: interoperability
- 21. Civilisation zoom: safe change management
- 22. A tiny project for ages 13–18
- 23. Four-week language programming workshop
- 24. Independent assessment and questions
- 25. A responsible habit for everyday use
- 26. Extend the learning
A sentence can be a specification
“Organise our reading list” seems simple until different people begin organising it differently. Is it a list of titles, a ranking, a borrowing record or a recommendation? The task is under-specified. The missing definition is more important than choosing an advanced synonym for organise.
Write a revised instruction: “Group these twelve titles by fiction and non-fiction; within each group sort alphabetically by author surname; mark any unknown author for review.” A student can now compare the output with the instruction. If a title belongs to multiple genres, the reader can flag it rather than invent a category.
Input zoom: identify what is available
Programs need input. Human tasks also rely on information. A timetable planner needs participants, times, room availability and constraints. A request to build the best schedule without those inputs may produce a polished but unusable result.
Identify input fields before starting. Which facts are supplied? Which are assumptions? Which information may you collect, and with whose permission? Do not put private student records or passwords into an AI prompt. Use synthetic examples for practice, and consult a responsible adult before using any sensitive real-world data.
Goal zoom: define success in observable terms
“Improve the document” is too broad to test. “Make the instructions readable by a first-time volunteer, preserve all safety requirements, and list unanswered questions” gives a useful target. The best writing may still require dialogue, but you can inspect whether the revision meets these criteria.
Do not optimize a proxy blindly. A request for fewer words might remove a necessary exception. A request for higher scores might reward easier questions instead of better learning. Decide what must remain true while optimizing another property.
Actor zoom: who is permitted to act?
A statement of capability is not authorisation. A person might be able to open a shared file but not have permission to change it. An AI may be able to draft a message but should not automatically send it when asked only to review it.
Write tasks with explicit roles. “The librarian approves catalogue changes; volunteers propose corrections; the system records approved changes.” If you are the volunteer, your output is a proposal, not an approved change. This separation prevents helpful automation from accidentally taking control away from the people who own a decision.
Modality zoom: must, may, should and can
These terms convey different relationships. Must expresses a requirement in a rule; may often expresses permission; should commonly expresses a recommendation; can may express ability. Context determines how a particular document uses them. An institution may define those terms explicitly.
Compare “Applicants may submit a photograph” and “Applicants must submit a photograph.” Test the application without a photograph. The first rule does not impose the same condition as the second. If an AI rewrites a policy and switches these words, its sentence may look fluent while changing the actual decision.
Logic zoom: AND, OR and NOT
A fictional science club accepts applications from students who attend orientation and submit a project proposal. Both conditions must be met. If the rule instead says orientation or a proposal, it may accept a student who satisfies only one. Ordinary language can also leave the scope of or uncertain.
Translate this to a four-case table: neither, orientation only, proposal only, both. Under AND, only the last case passes. Under inclusive OR, the last three pass. In ordinary language ask whether the writer intended inclusive or exclusive meaning; avoid imposing a formal operator where the original text is ambiguous.
Quantities, thresholds and dates
“At least 15” includes 15. “More than 15” does not. “Before Friday” differs from “by Friday” in everyday usage, and even by Friday may need a cutoff time and timezone. Consequential instructions need these boundaries spelled out.
Use a fictional club age rule: eligible if aged 13 through 18 inclusive on the event date. Test ages 12, 13, 18 and 19, as well as an unknown birth date. Do not collect actual birth dates for a practice exercise. A missing field should be marked for clarification, not treated as an invented age.
Output zoom: choose a format that serves the next task
A student might ask an AI to summarise a meeting. The output might be paragraphs, a decision list or a set of assigned tasks. Different outputs support different next actions. If no one checks whether the meeting actually made decisions, a task list can invent commitments.
Specify output sections: confirmed decisions, proposed ideas, open questions, owners only where explicitly assigned, and a source reference for each confirmed decision. If a field is not known, mark it unknown. This separates content structure from the truth of the underlying statements.
Exceptions are not optional decoration
Rules usually work well on ordinary cases. Difficult situations reveal hidden assumptions. A library might lend books for fourteen days but treat reference books differently. A student unable to renew because of an accessibility problem might need a human review route.
Build a rule with an exception and a named escalation path. Do not invent exceptions that you lack authority to approve. A well-engineered policy distinguishes the normal rule, approved exception, unresolved case and review procedure. A human reader should be able to tell which of these they are dealing with.
A worked specification: book return reminders
Goal: remind readers of a fictional library due date without accusing them of overdue borrowing before the date passes. Inputs: due date, return status, current date and optional approved extension. Rule: if a book is recorded returned, do not send a reminder; if an active extension exists, use its date.
Output: a preview of the reminder with the due date and contact information. If a record is missing or contradictory, flag it for review. Before sending, check whether notifications are authorised. The same concept of a reminder touches vocabulary, data quality, privacy, procedure and human judgement.
Testing the ordinary case
Suppose the due date is tomorrow and no return or extension is recorded. The preview should describe the upcoming deadline, not claim lateness. If it instead uses the word overdue, the system has crossed a semantic boundary.
Compare the output with the expected meaning rather than checking only that a message was produced. This is what makes language testing an engineering habit. Record the input, expected result, actual result, evidence and correction, keeping the practice records fictional.
Testing the boundary case
On the due date itself, the policy must tell you when the loan becomes overdue. Is it at closing time or at the end of the calendar day? Without that definition, the correct response is to seek clarification.
Testing is valuable even when there is no final answer. A discovered ambiguity is an improvement opportunity, not a failure to be concealed. A system that guesses a cutoff can cause real confusion; a system that identifies the missing rule gives the responsible person a chance to fix it.
Testing the conflicting case
One record says the book has been returned; another says it remains outstanding. A program might choose the last record or the first record without revealing the disagreement. A responsible instruction needs a conflict-handling rule.
For the fictional library, specify that contradictory records require review before a reminder can be sent. A log can record the record identifiers, discrepancy and resolution without exposing private information in a public report. Different institutions will need their own lawful procedures and authorised decision-makers.
Natural language and formal programming differ
Programming languages define syntax and operations precisely, but programs can still contain bugs, ambiguous requirements and incorrect assumptions about the real world. Natural language carries context, social meaning and implicit expectations. It is often the best medium for negotiating what a program should do.
A useful bridge is pseudocode: write simple if–then steps to clarify a rule, then translate them back into plain language. The pseudocode is not executable software. It is a diagram of the intended logic, to be checked by the people who understand the problem before implementation.
AI prompts are proposed instructions, not guaranteed commands
An AI may answer an ambiguous prompt in many different ways. It may also produce incorrect facts or ignore a requested format. Better prompts can improve inspectability, but they cannot guarantee a correct output or give the AI capabilities it does not have.
Try: “Explain the difference between a hypothesis and a conclusion. Use one example about plant growth, identify the evidence needed, and say what remains uncertain. Do not invent experimental results.” Compare the answer with a reliable source and create your own example without assistance.
Debug an AI prompt through evidence
If an AI answer is too general, identify the missing audience, domain or output requirement. If it invents a fact, ask for sources and check those sources directly rather than trusting another generated explanation. If it changes a rule, compare the exact wording side by side.
Change one significant prompt element at a time and keep a record of the outputs. Repeating a prompt may produce different responses, so a single successful example does not demonstrate reliability. For important tasks, use independent checks and a responsible human reviewer.
Team zoom: handovers between people
A handover marked ready could mean ready for review or ready to publish. If the next team acts on the wrong meaning, errors travel downstream. Define the status and the permitted next action, rather than expecting the next person to infer it.
For a student magazine, define draft, reviewed, approved and published. Require a named approving role and an explicit record of consent for photographs. Test whether a contributor can distinguish approval of wording from approval to release private information. A good workflow respects people as well as tasks.
Organisation zoom: definitions in forms and databases
A form might define an active member as someone who has paid dues, while another system defines it by recent participation. Merging their records without checking meaning produces misleading totals. Data fields are not interchangeable just because their labels match.
Create a small mapping table for fictional membership records: source, field name, definition, time period, and whether the meanings match exactly or only partly. If the mapping is uncertain, preserve both original values. W3C SKOS is an example of an established technical approach for representing concepts, labels and relationships; it does not make every mapping automatically correct.
Public-service zoom: rules need appeal
When a definition controls access to a service, the cost of ambiguity can be much higher than a missed club meeting. A person might be incorrectly excluded if a system treats a missing document as proof of ineligibility. Clear text alone does not solve inaccurate data or unfair criteria.
Ask who is accountable for a decision, what explanation is given to the person affected, and how they can correct errors. A student’s model can use fictional cases. Real policies depend on their jurisdiction and authoritative procedures; do not treat a practice rule as legal advice.
National and international zoom: interoperability
Two organisations may both label an item urgent but operate under different response times. A shared standard can make the handover more predictable if both sides understand the terms and adopt compatible procedures. Translation must preserve the relevant consequences, not simply match dictionary words.
At international scale, standards, treaties and technical vocabularies help people coordinate across languages and institutions. A definition is an interface for cooperation. Where systems disagree, document the scope and the unresolved boundary instead of pretending all countries or professions follow one universal meaning.
Civilisation zoom: safe change management
When a rule changes, downstream instructions, forms, training material, code and public explanations may need revision. A change from calendar days to working days could affect deadlines even if the headline remains the same. Record the version, effective date and affected rules.
Keep the previous wording accessible where necessary, especially for cases governed by an earlier version. Make a checklist of people and systems that must be informed. A correction is incomplete if people who still rely on the old definition never receive it.
A tiny project for ages 13–18
Build a fictional classroom equipment borrowing policy. Include a goal, allowed borrowers, borrowing limit, return conditions, responsibility, exceptions and review route. Then design six test cases and ask two people to interpret the rules independently.
Younger learners can draw a flow diagram and explain each branch. More experienced learners can construct a table of inputs and expected outputs, write a version history and compare interpretations. No real personal information is needed. The project is successful when ambiguity becomes visible and repairable.
Four-week language programming workshop
Week one: write ten precise instructions and compare interpretations. Week two: convert three rules into condition tables and test boundaries. Week three: create an AI prompt with an explicit output format, then independently fact-check the response. Week four: design a fictional team workflow and test an exception and a conflicting record.
Keep a change log. Identify which revisions change the actual permission or obligation and which simply make language clearer. Demonstrate the final rule to another person without relying on AI to explain it for you.
Independent assessment and questions
Can precise wording make an AI always reliable? No. A clear instruction helps people inspect failure but does not eliminate hallucinations or software faults. Is every conversation a programme? No. Many conversations are exploratory, expressive or relational and should remain flexible.
Assess your work against five criteria: clear purpose, defined boundaries, actionable outputs, safe exception handling and independent verification. Can another person use your specification on an unfamiliar example? Can they identify when not to act? Those questions test your understanding more meaningfully than a polished vocabulary list.
A responsible habit for everyday use
Before handing over a consequential instruction, ask what the recipient knows, what they are expected and permitted to do, what counts as completion, and what happens if a condition is unknown. Afterwards, ask for a paraphrase or test a low-stakes example.
Language can be built into a process, but the people affected by that process are not variables to be manipulated. The point of vocabulary coding is clarity and dependable cooperation. The point of engineering is to learn from failure and keep the system open to correction.
Extend the learning
Use a small instruction from daily life as your next experiment. Write the original, an improved version, three boundary cases and the result of asking somebody to explain it. Preserve both versions so you can identify the precise changes rather than claim that the new version is simply better.
This approach connects individual vocabulary to software requirements, team coordination, public administration and international interoperability. It is one way to make the programming analogy concrete without reducing human meaning to a rigid machine language.
Test a fictional library reminder rule
| Example / scale | Interpretation / expected result | Verification or safeguard |
|---|---|---|
| Due tomorrow; not returned | Upcoming reminder preview | Do not describe the book as overdue |
| Returned; record agrees | No reminder | Preserve the returned status |
| Active approved extension | Use the extension date | Verify approval and applicable date |
| Due today; cutoff unspecified | Clarification required | Ask the rule owner; do not guess |
| Conflicting return records | Review required | Do not send a reminder until resolved |
| Reminder prepared but not authorised | Preview only | Do not send |
Sources and further reading
The eduKate Vocabulary Coding and Language Engineering model is a working educational framework and programming analogy, not an established scientific theory or a validated intervention. The external sources below establish particular concepts within their own scope; the classroom scenarios are illustrative.
- W3C: SKOS Primer
- eduKateSG: The semantic test oracle
- eduKateSG: Working Meaning Lab
- eduKateSG: What do we mean when AI knows, thinks or decides?
- eduKateSG: Independent learning with AI at age 15
- eduKateSG Vocabulary Learning Library
