http://api.xlongwie.com/service/ansj/fenci.json
text | 中文内容 |
method | TO,NLP,DIC,INDEX,BASE之一 |
result | 中文 内容 |
TO标准,NLP智能,DIC词典,INDEX索引,BASE基本
result:分词结果字符串,以空格分隔
http://api.xlongwei.com/service/ansj/keywords.json
text | 中文内容 |
method | TO,NLP,DIC,INDEX,BASE之一 |
title | 标题,可选 |
num | 返回关键字个数,默认10 |
result | 中文 内容 |
http://api.xlongwei.com/service/ansj/summary.json
text | 语言是人类区别其他动物的本质特性。 |
title | 标题,可选 |
red | 是否标红,默认true |
result | 语言是人类区别其他动物的本质特性。 |
http://api.xlongwei.com/service/ansj/jianfan.json
text | 中文内容 |
fan | 返回繁体,默认true |
result | 转换结果 |
http://api.xlongwei.com/service/ansj/pinyin.json
text | 中文内容 | |||
caseType | int | 可选 | 0 | 0小写1驼峰2大写 |
toneType | int | 可选 | 0 | 0有声调1无声调2数字3首字母 |
vcharType | int | 可选 | 0 | 迂0-ü 1-v 2-u: |
result | zhōng wén nèi róng |
说明:拼音和文字一一对应,如果没有拼音则对应全角的空格,而分隔符是半角的空格