AI词性标注
<h1>功能</h1>
<p>调用K-RTP机器人文字处理系统接口,进行词性标注。</p>
<h1><strong>输入</strong></h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>链接</td>
<td>【字符串】请求URL(内网/外网)</td>
<td>按实际情况选择</td>
</tr>
<tr>
<td>Json内容</td>
<td>【字符串】请求的Json内容,格式参考注意/说明项</td>
<td>填入Json内容</td>
</tr>
</tbody>
</table>
<h1><strong>选项</strong></h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>词性</td>
<td>【布尔型】是否返回词性,默认为False</td>
<td>按实际情况选择</td>
</tr>
<tr>
<td>状态码</td>
<td>【布尔型】是否返回中文词性,默认为False;若此项为TRUE,‘词性项’也必须为TRUE</td>
<td>按实际情况选择</td>
</tr>
</tbody>
</table>
<h1><strong>输出</strong></h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>内容</td>
<td>【字符串】响应内容</td>
<td>{填入变量名称}</td>
</tr>
<tr>
<td>结果</td>
<td>【字符串列表】响应内容</td>
<td>{填入变量名称}</td>
</tr>
</tbody>
</table>
<h1><strong>注意/说明</strong></h1>
<p>1、内网请求URL:<a href="http://192.168.2.18:8001/predict/cxbz">http://192.168.2.18:8001/predict/cxbz</a>
2、外网请求URL:<a href="http://14.29.70.194:52961/predict/cxbz">http://14.29.70.194:52961/predict/cxbz</a>
3、请求的Json内容格式为:{“text”:”xxxxxxxxx”},例如
{“text”:” 脱贫摘帽不是终点,而是新生活、新奋斗的起点。今年以来,总书记多次深入基层一线考察调研、作出重要指示、主持召开党的十八大以来脱贫攻坚方面最大规模的会议。”}
注意:text传入的字符必须小于512
4、每个函数的属性配置,请参考‘AI身份证识别’函数中的“属性”栏配置。
5、如果Json内容填写错误,则会报如下错误:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/91b58959fd96e8611b910ec8dce8412f" alt="" /></p>
<h1>函数相关</h1>
<p>无</p>
<h1><strong>示例/演示</strong></h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/bc2c1f0059f195a5facc4032199afa8e" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/af49946d8d58edf4eedae19ea23bfd4e" title="[组件[AI词性标注]_20210204.db">组件[AI词性标注]_20210204.db</a></p>