Twinkle HubTwinkle Hub

地址英譯中(部分)

tw_address_en_to_zh

Autres outils · 26 outils🇹🇼 Taïwanlecture seule

英文地址 → 中文(有限版:縣市區做 reverse lookup,路名留英文)。

Args: address_en: 英文地址,例 "No. 7, Sec. 5, Zhongxiao E. Rd., Xinyi Dist., Taipei City"。

Returns: county_zh / district_zh / street_en(路名保留英文)+ confidence (high/medium/low) + warning。

為何路名不轉中文:英文音譯 → 中文是 1-to-N 對應("Zhongxiao" 可對 忠孝/中孝/中校等),無 reliable lookup。本工具只做結構解析 + 縣市區 reverse lookup;完整中文地址需人工確認。

Paramètres

NomTypeDescription
address_en *string
Schéma JSON brut
{
  "properties": {
    "address_en": {
      "title": "Address En",
      "type": "string"
    }
  },
  "required": [
    "address_en"
  ],
  "title": "address_en_to_zhArguments",
  "type": "object"
}

Comment appeler

Amorce — paramètres dans le tableau
tw_address_en_to_zh({ address_en: "…" })