yarn add intelligent-address-recognize
import contactInfoRecognize from 'intelligent-address-recognize'
contactInfoRecognize(addressList, string, addrKeys)
addressList: 全国省市区数据,树形结构
string: 输入的文本
addrKeys?: { name, value, child };addressList 的字段关键字