thefunpower/baidu_nlp

baidu pulic ai php sdk

v1.0.5 2023-11-29 03:53 UTC

This package is auto-updated.

Last update: 2024-11-29 06:29:33 UTC


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)

开源协议

Apache License 2.0