跳到正文
TakoAPI
返回技能列表

india-location-normalizer

由 vishalgojha 提供

Coding Agents & IDEs
298下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Normalize Indian real-estate location text into canonical city and locality fields (Mumbai and Pune v1)

描述

该技能的功能

Normalizes raw Indian real-estate location text into structured city, locality, and micro-market fields for Mumbai and Pune leads. Uses a curated alias lookup map to resolve shorthands like Andheri W, PCMC, Hinjewadi, and Wakad. Sets confidence scores and flags unresolved matches rather than guessing.

It uses a tiered matching strategy and prefers false-negatives over false-positives, reducing incorrect city or locality assignments that general-purpose text normalizers commonly produce.

何时使用

  • Mapping 'Andheri W' to its canonical Mumbai locality in a lead record
  • Resolving PCMC entries to the correct Pune locality before scoring
  • Standardizing Hinjewadi Phase 2 variants prior to CRM storage
  • Flagging ambiguous location aliases for manual review
  • Cleaning up Mumbai shorthands like 'Scruz' or 'Khar' from WhatsApp-sourced leads

示例工作流

输入

User asks: Normalize this lead payload: {raw_location: 'Hinjewadi Phase 2', city: null}

智能体
  1. 1

    Validates the input against location-normalizer-input.schema.json

  2. 2

    Looks up 'Hinjewadi Phase 2' in india-location-aliases-v1.json

  3. 3

    Finds an exact alias match (case-insensitive)

  4. 4

    Returns a normalized record with city, locality_canonical, micro_market, matched_alias, confidence, and unresolved_flag

输出

{city: 'Pune', locality_canonical: 'Hinjewadi', micro_market: 'Hinjewadi Phase 2', matched_alias: 'Hinjewadi Phase 2', confidence: 0.95, unresolved_flag: false}

安装

clawhub install vishalgojha/india-location-normalizer

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接