Edge Technology for Vocabulary must preserve who did what to whom, even when a sentence becomes more fluent or changes from active to passive voice. The Argument Frame Guard checks a bounded event representation for changed participants, action, attribution, polarity and status. It prevents a matching vocabulary word from becoming evidence that a different person performed the action.
This original eduKate extension of reference binding contains an executable JavaScript demonstration run on fourteen synthetic cases. It compares reviewed structured frames rather than parsing free English. It is not a deployed product, independently validated benchmark, general linguistic model or evidence of improved learning.
- Preserve semantic roles independently of sentence order.
- Keep attribution, modality and source version explicit.
- Reject unsupported role substitutions.
- Preserve unknown participants without inventing them.
- Inspect reproducible test results.
Contents
- 1. The event is not the grammar
- 2. Established semantic-role work and the new boundary
- 3. Fencing a sentence into an inspectable meaning
- 4. The executable frame guard
- 5. Actual local tests: fourteen cases
- 6. VocabularyOS: from text to role-preserving action
- 7. L0–L15: from noticing to engineering
- 8. A four-week research laboratory
- 9. References and connected research
1. The event is not the grammar
The team sent the draft to the teacher and the draft was sent to the teacher by the team can describe the same event. The teacher sent the draft to the team describes a different direction. Secondary 2 learners can learn to separate the grammatical subject from the semantic actor. An AI rewriting a report needs to preserve those roles even when it changes the voice or sentence order.
The earlier Executable Reference Binding selects a particular entity; this guard checks the relationship of selected entities to a specified event. A correct entity match does not establish that it occupies the correct role. In a record that leaves the sender unspecified, a fluent rewrite must not manufacture an actor.
2. Established semantic-role work and the new boundary
Semantic role labeling and frame semantics are established natural-language processing approaches. The Speech and Language Processing textbook describes semantic roles and frame-specific participants. The proposal here is narrower than a role-labeling model. It compares two supplied, already reviewed event frames. It does not parse sentences, identify all participants, infer causation or assign an official grammatical grade.
| Field | Meaning in this contract |
|---|---|
| event, predicate | Reviewed event identity and action type |
| actor, affected, recipient | Local roles for the sending example |
| polarity and modality | Negation and the declared action status |
| attribution | Source of the assertion, not proof of truth |
| scope and version | Applicable task and source release |
These three roles are a teaching subset, not a universal inventory. Other verbs may need experiencer, instrument, destination, multiple participants or different event structures. The local modality labels are deliberately limited and should not be conflated with a general linguistic account of modality and aspect.
3. Fencing a sentence into an inspectable meaning
Base: the team sent something. Add the affected object: draft-1. Add the recipient: teacher-a. Preserve the assertion’s status: the organiser reports completion. Finally compare a passive paraphrase and a role-swapped version. The learner can explain the difference with labelled arrows on paper; the engine compares the reviewed roles behind the interface. A claim of completion remains a report unless further evidence establishes what occurred.
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
}4. The executable frame guard
function guard(source,candidate){
const roles=["actor","affected","recipient"],keys=["event","predicate","scope","version","polarity","modality","attribution"];
const str=x=>typeof x==="string"&&x.length>0;
const valid=x=>x&&keys.every(k=>str(x[k]))&&["positive","negative"].includes(x.polarity)&&["reported-completed","possible","required","prohibited"].includes(x.modality)&&Array.isArray(x.roles)&&x.roles.length===3&&x.roles.every(r=>Array.isArray(r)&&r.length===2&&roles.includes(r[0])&&(r[1]===null||str(r[1])))&&new Set(x.roles.map(r=>r[0])).size===3;
if(!valid(source)||!valid(candidate))return "HOLD_INPUT";
for(const k of keys)if(source[k]!==candidate[k])return "HOLD_"+k.toUpperCase();
const c=new Map(candidate.roles);
return source.roles.every(([k,v])=>c.get(k)===v)?"MATCH":"HOLD_ROLE";
}MATCH means that all declared fields agree, allowing the role rows to occur in any order. It is exact comparison of registered strings, not evidence that the source annotations are correct or that two texts are semantically identical in every respect. Unknown roles use explicit null. The system refuses a changed role rather than replace it with an invented participant. A successful match is not authority to send, approve or modify a document.
5. Actual local tests: fourteen cases
The JavaScript function was executed locally on fourteen authored synthetic pairs. 14 of 14 status outputs matched the declared expectations. No external AI model, live document or private learner record was involved. The test compares verdicts only, not the quality of natural-language extraction.
| ID | Expected | Observed | Purpose |
|---|---|---|---|
| F01 | MATCH | MATCH | Same reviewed event frame. |
| F02 | MATCH | MATCH | Role order is not grammatical word order. |
| F03 | HOLD_ROLE | HOLD_ROLE | Swapped sender and recipient. |
| F04 | HOLD_ROLE | HOLD_ROLE | Wrong document. |
| F05 | HOLD_MODALITY | HOLD_MODALITY | Completed changed to possible. |
| F06 | HOLD_POLARITY | HOLD_POLARITY | Negation changed. |
| F07 | HOLD_ATTRIBUTION | HOLD_ATTRIBUTION | Report changed to direct observation. |
| F08 | HOLD_EVENT | HOLD_EVENT | Different event. |
| F09 | HOLD_VERSION | HOLD_VERSION | Different source release. |
| F10 | HOLD_SCOPE | HOLD_SCOPE | Wrong context. |
| F11 | HOLD_INPUT | HOLD_INPUT | Repeated role. |
| F12 | HOLD_ROLE | HOLD_ROLE | An unknown actor cannot become known. |
| F13 | MATCH | MATCH | Unknown is preserved, not resolved. |
| F14 | HOLD_PREDICATE | HOLD_PREDICATE | Sending is not approving. |
const tests = [
[
"F01",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
"MATCH",
"Same reviewed event frame."
],
[
"F02",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"recipient",
"teacher-a"
],
[
"affected",
"draft-1"
],
[
"actor",
"team-a"
]
]
},
"MATCH",
"Role order is not grammatical word order."
],
[
"F03",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"teacher-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"team-a"
]
]
},
"HOLD_ROLE",
"Swapped sender and recipient."
],
[
"F04",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-2"
],
[
"recipient",
"teacher-a"
]
]
},
"HOLD_ROLE",
"Wrong document."
],
[
"F05",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "possible",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
"HOLD_MODALITY",
"Completed changed to possible."
],
[
"F06",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "negative",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
"HOLD_POLARITY",
"Negation changed."
],
[
"F07",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "direct-observation",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
"HOLD_ATTRIBUTION",
"Report changed to direct observation."
],
[
"F08",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e2",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
"HOLD_EVENT",
"Different event."
],
[
"F09",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v2",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
"HOLD_VERSION",
"Different source release."
],
[
"F10",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-b",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
"HOLD_SCOPE",
"Wrong context."
],
[
"F11",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"actor",
"teacher-a"
]
]
},
"HOLD_INPUT",
"Repeated role."
],
[
"F12",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
null
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
"HOLD_ROLE",
"An unknown actor cannot become known."
],
[
"F13",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
null
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
null
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
"MATCH",
"Unknown is preserved, not resolved."
],
[
"F14",
{
"event": "e1",
"predicate": "send",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
{
"event": "e1",
"predicate": "approve",
"scope": "project-a",
"version": "notice-v1",
"polarity": "positive",
"modality": "reported-completed",
"attribution": "organiser-report",
"roles": [
[
"actor",
"team-a"
],
[
"affected",
"draft-1"
],
[
"recipient",
"teacher-a"
]
]
},
"HOLD_PREDICATE",
"Sending is not approving."
]
];
for(const [id,s,c,want] of tests) console.log(id,guard(s,c),want);6. VocabularyOS: from text to role-preserving action
A future runtime would retrieve the source, identify candidate event frames, bind each participant to its reviewed referent, compare the candidate frame, and then ask a separate authority gate about the requested use. Source-span evidence should connect each extracted field to the relevant text. The repair patch can prepare a supported correction, but an actual write must separately check identity, permissions and version. A structure-only validator cannot establish which participant really acted.
In Secondary 1 comprehension, ask who performs the action. In Secondary 2 editing, preserve the actors when changing voice. In Secondary 3 Science, distinguish the measured sample from the object causing or receiving a change. In Secondary 4 source-based writing, preserve attribution and uncertainty. Do not force all disciplines into the sending frame. The teacher selects the appropriate subject representation.
7. L0–L15: from noticing to engineering
| Rung | Observable task |
|---|---|
| L0 | Attend to the sentence |
| L1 | Identify the action |
| L2 | Name its participants |
| L3 | Explain their roles |
| L4 | Recall the distinction |
| L5 | Read and encode the frame |
| L6 | Relate participant and event |
| L7 | Combine an accurate paraphrase |
| L8 | Disambiguate a role |
| L9 | Transfer to a fresh source |
| L10 | Interpret a role swap |
| L11 | Apply a subject-specific frame |
| L12 | Trace the source version |
| L13 | Critique an invented actor |
| L14 | Govern reviewed role records |
| L15 | Propose and test a new distinction |
This is a proposed teaching architecture, not an official school scale. A correct software output does not establish independent learning.
8. A four-week research laboratory
| Week | Activity | Evidence |
|---|---|---|
| 1 | Annotate teacher-reviewed active and passive examples. | Roles, event identity and unresolved fields. |
| 2 | Reproduce the fourteen tests and add independent near-misses. | Observed outputs and false holds. |
| 3 | Compare source-grounded extraction with a simple nearest-noun baseline. | Separate extraction and comparison errors. |
| 4 | Use authorised unfamiliar paraphrase tasks with matched teaching time. | Independent transfer and teacher effort. |
No human study was performed. Research with learners requires appropriate permissions, consent or assent, suitable access support and privacy safeguards. The next engineering step is a separate reviewed extraction benchmark, not a production release based solely on these fixtures.
