thefunpower/baidu_nlp
最新稳定版本:v1.0.5
Composer 安装命令:
composer require thefunpower/baidu_nlp
包简介
baidu pulic ai php sdk
README 文档
README
在composer.json中添加
"thefunpower/baidu_nlp": "dev-main"
配置
baidu_nlp_app_id
baidu_nlp_app_key
baidu_nlp_app_secret
使用
$client = get_baidu_nlp();
$text = "上海市浦东新区纳贤路701号百度上海研发中心 F4A000 张三";
// 调用地址识别接口
$res = $client->address($text);
收货地址
get_baidu_nlp_address($address)
| 字段 | 说明 |
|---|---|
| province | 省 |
| city | 市 |
| region | 区 |
| street | 详细地址 |
| mobile | 手机号 |
| name | 姓名 |
开源协议
统计信息
- 总下载量: 61
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2023-10-12