基础文本分析
Last updated
Was this helpful?
Was this helpful?
$res = $ai->nlp()->wordNer([
'text' => '今天天气怎么样'
]);
if($res->success()){
var_dump($res->toArray());
}$res = $ai->nlp()->wordSyn([
'text' => '今天天气怎么样'
]);
if($res->success()){
var_dump($res->toArray());
}