https://api.colorpuss.com/nlp/words/participle/?text=wlop鬼刀风铃
$.ajax({ type: 'GET', url: 'https://api.colorpuss.com/nlp/words/participle/', data: { text: 'wlop鬼刀风铃' }, dataType: 'json'});
$text = 'wlop鬼刀风铃';$ch = curl_init();curl_setopt($ch, CURLOPT_URL, 'https://api.colorpuss.com/nlp/words/participle/?text='.$text);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);$result = curl_exec($ch);curl_close($ch);echo $result;
{0: "wlop", 4: "鬼刀", 6: "风铃"}
说明:本示例仅供参考。
2022年07月13日 正式开放