跳转至

在线查词接口协议

文档状态

文件标识: TuringOS-Retrieval-V2.0
系统版本: OpenSocket
作 者: 段亚骏
完成日期: 2022年10月28日

文档修订记录

文档版本号 修订日期 修订原因 修订人
V1.0 2021.4.23 创建文档 段亚骏
V1.1 2021.5.6 删减5.1-5.6小节的非业务字段及诗句、诗名词典类型;
在5.1、5.2、5.3、5.5小节中增加描红字段
段亚骏
V1.2 2021.6.4 上线至正式环境;
在5.1-5.6小节中增加查词返回示例;
更新第4小节dicts字段的默认查词顺序
段亚骏
V1.3 2021.7.7 在第4小节dicts字段下增加词典类型的入参说明 段亚骏
V1.4 2021.8.27 在5.1小节中,增加多音字音频字段
在5.4小节中,将info字段输出类型改为Array,修改部分字段
将词典中explanation字段统一为explanations,数据类型改为Array
将词典中translation字段统一为translations,类型改为Array
段亚骏
V1.5 2021.9.14 在第5.5小节中增加phoneticUsAudio、explanationEn字段 段亚骏
V1.6 2022.5.31 在第5.1、5.2、5.4小节中,增加描红返回示例
在第5.3、5.5小节增加古诗词、历史诗人名返回参数及返回示例说明
段亚骏
V1.7 2022.5.31 在第3节中,增加牛津词典请求示例
在第5.8小节中,增加牛津词典返回示例及参数说明
段亚骏
V1.8 2022.7.22
在第3节中,增加图灵自研词典请求示例
在第5.9小节中,增加图灵自研词典返回示例及参数说明
刘杏
V1.9 2022.7.29 在第3节中,将图灵自研词典请求示例的dictType字段内容改为turingown
在第5.9小节中,将返回示例的dictType字段内容改为turingown;词语词典和成语词典增加“例句”与“描红”字段;汉字词典增加“组词”字段
刘杏
V2.0 2022.10.28 在第5.11小节中,增加英文自然拼读返回示例及参数说明 刘杏

协议说明

1.域名地址

正式环境:ws://ws-api.turingapi.com/api/v2

2.加密说明

为保证接口的安全性和稳定性,需要对接口数据进行加密;

  • 加密必须包含的信息:APIkey,Secret(需通过图灵Biz平台 - 机器人信息页获取);
  • 需针对请求参数中的data字段,进行AES加密处理,具体加密方式如下:
参数 说明 备注
加密模式 CBC -
填充 PKCS5Padding -
数据块 128位(密钥为16位) -
密码 secretKey Apikey+Secret+时间戳(毫秒,与入参保持一致)
进行Md5加密,取16位小写值
偏移量 secretKey Apikey+Secret+时间戳(毫秒,与入参保持一致)
进行Md5加密,取16位小写值
输出 base64编码 -
字符集 utf-8 -

3.请求示例

最终请求参数

{
    "key": "ed474dae62*********67050faea1788",
    "timestamp": "150******7793",
    "data": "加密后的内容"
}

data加密前数据格式:

{
    "deviceId": "123",
    "requestType": [1],
    "nlpRequest": {
        "content": [{
            "data": "美丽"
        }],
        "clientInfo": {
            "appState": {
                "code": "1000633",
                "operateState": "1101"
            },
            "robotSkill": {
                "1000633": {
                    "dicts": ["cn_char", "cn_idiom", "cn_word_person", "cn_word", "en_word"]
                }
            }
        }
    }
}

牛津词典查词示例

data加密前数据格式:

{
    "deviceId": "ai***3",
    "requestType": [1],
    "nlpRequest": {
        "content": [{
            "data": "hello"
        }],
        "clientInfo": {
            "appState": {
                "code": 1000633,
                "operateState": 1101
            },
            "robotSkill": {
                "1000633": {
                    "dictType": "niujin",
                    "oxfordVersion": "4"
                }
            }
        }
    }
}

图灵自研词典查词示例

{
    "deviceId": "ai***3",
    "requestType": [1],
    "nlpRequest": {
        "content": [{
            "data": "我们"
        }],
        "clientInfo": {
            "appState": {
                "code": 1000633,
                "operateState": 1101
            },
            "robotSkill": {
                "1000633": {
                    "dictType": "turingown",
                    "dicts": ["cn_word"]
                }
            }
        }
    }
}

4.请求参数说明

参数 类型 是否必填 说明
key String Y apiKey,需官网申请;
timestamp String Y 时间戳
data Json Y 配置信息,加密后的请求数据,加密参考:加密方式

data字段说明

参数 类型 是否必填 说明
deviceId String Y 用户设备Id: 由字母或数字组成,其他字符可能导致部分功能错误,长度等于16位。
requestType Array Y 该次请求需要请求的内容:0:ASR,1:NLP,2:TTS
nlpRequest Json Y nlp内容请求信息

nlpRequest字段说明

参数 类型 是否必填 说明
content Array Y 输入参数
clientInfo Json Y 客户端状态

nlpRequest - content字段说明

参数 类型 是否必填 说明
type int N 输入类型:
type=0为文本(默认)
data String Y 当type=0,可直接输入文本内容
当type=其他值,需输入二进制参数:32位字符串(UUID)

nlpRequest - ClientInfo 字段说明

参数 类型 是否必填 说明
appState Json N 应用状态
robotSkill Json N 技能配置

ClientInfo - appState字段说明

参数 类型 是否必填 说明
code int Y 技能code
[1000633]为查词技能;
operateState int Y 应用状态
[1101]为在线词典;

ClientInfo - robotSkill字段说明

参数 类型 是否必填 说明
1000633 Json Y 需配置的技能code
dicts Array Y 指定词典类型查词,若无指定字典类型,则按词典默认顺序输出:
汉字(cn_char)
成语(cn_idiom)
古诗词(cn_poem)
汉词(cn_word)
人名(cn_word_person)
英文单词(en_word)
英文短语(en_phrase)
无查词内容(others)
dictType String N 词典类别优先级(默认为图灵词典)
tuling为图灵网络词典
niujin为牛津词典
turingown为图灵自研词典
oxfordVersion Int N 牛津词典版本
默认为1,请求牛津词典时,需填写为固定值:4;

注意:

1、建议在dicts字段固定入参为["cn_char", "cn_idiom", "cn_word_person", "cn_word", "en_word"],既可保证与默认查词顺序一致,也可避免输出cn_poem等非必须词典类型;

2、图灵自研词典默认词典优先级顺序是汉字、词语、成语、人名、古诗(包括诗人、标题、内容检索),且只支持这5种类型。

5.返回示例及参数说明

5.1 汉字
{
    "code": 200,
    "done": true,
    "globalId": "151865247567371001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1011,
            "parameters": {
                "result": {
                    "dict": "cn_char",
                    "info": {
                        "radicals": "口",
                        "synonyms": ["跟", "与"],
                        "polyphone": [{
                            "pinyin": "huò",
                            "explanations": ["粉状或粒状物搀和在一起,或加水搅拌", "量词,指洗衣服换水的次数或一剂药煎的次数"],
                            "audio": "http://universe-file-limit.turingapi.com/202108271131/76c687d6cba072468408895c6d13425a/dict/e0e1c6a5e4fe46fbb5aeb38c74a09857.mp3",
                            "combineWords": [{
                                "type": "start",
                                "word": "和药"
                            }, {
                                "type": "start",
                                "word": "和弄"
                            }, {
                                "type": "start",
                                "word": "和稀泥"
                            }]
                        }, {
                            "pinyin": "huó",
                            "explanations": ["在粉状物中搅拌或揉弄使粘在一起"],
                            "audio": "http://universe-file-limit.turingapi.com/202108271131/1a9acc4104a7a48c4edffeb4cb8f29ce/dict/858559e29ddf4e558f4da86947db779d.mp3",
                            "combineWords": [{
                                "type": "start",
                                "word": "和面"
                            }, {
                                "type": "start",
                                "word": "和泥"
                            }]
                        }, {
                            "pinyin": "hú",
                            "explanations": ["打麻将或斗纸牌时某一家的牌合乎规定的要求,取得胜利。"],
                            "audio": "http://universe-file-limit.turingapi.com/202108271131/c90529779b1e518b5907e0a54e291312/dict/f26a9e74853949fdb3561db12a86710f.mp3"
                        }, {
                            "pinyin": "hè",
                            "explanations": ["和谐地跟着唱", "依照别人的诗词的题材或体裁作诗词"],
                            "audio": "http://universe-file-limit.turingapi.com/202108271131/59edafc6fac978f9ffe2d969b394cc38/dict/2121d64a816c4557a6fb1bfd452868eb.mp3",
                            "combineWords": [{
                                "type": "middle",
                                "word": "曲高和寡"
                            }, {
                                "type": "start",
                                "word": "和诗"
                            }]
                        }, {
                            "pinyin": "hé",
                            "explanations": ["相安,谐调", "平静", "平息争端", "数学上指加法运算中的得数", "连带", "连词,跟,同", "介词,向,对", "指日本国", "体育比赛不分胜负的结果", "姓。"],
                            "audio": "http://universe-file-limit.turingapi.com/202108271131/726fdd86d949ef8afd6d252aaeb250f8/dict/59175022f6f6478ba9ac106e963f4e3f.mp3",
                            "combineWords": [{
                                "type": "start",
                                "word": "和美"
                            }, {
                                "type": "start",
                                "word": "和睦"
                            }, {
                                "type": "start",
                                "word": "和谐"
                            }, {
                                "type": "start",
                                "word": "和声"
                            }, {
                                "type": "start",
                                "word": "和合"
                            }, {
                                "type": "start",
                                "word": "和衷共济"
                            }, {
                                "type": "end",
                                "word": "温和"
                            }, {
                                "type": "end",
                                "word": "祥和"
                            }, {
                                "type": "start",
                                "word": "和平"
                            }, {
                                "type": "start",
                                "word": "和气"
                            }, {
                                "type": "start",
                                "word": "和悦"
                            }, {
                                "type": "start",
                                "word": "和煦"
                            }, {
                                "type": "middle",
                                "word": "惠风和畅"
                            }, {
                                "type": "end",
                                "word": "讲和"
                            }, {
                                "type": "start",
                                "word": "和约"
                            }, {
                                "type": "start",
                                "word": "和议"
                            }, {
                                "type": "start",
                                "word": "和亲"
                            }, {
                                "type": "start",
                                "word": "和盘托出"
                            }, {
                                "type": "start",
                                "word": "和衣而卧"
                            }, {
                                "type": "start",
                                "word": "和服"
                            }, {
                                "type": "start",
                                "word": "和文"
                            }, {
                                "type": "middle",
                                "word": "大和民族"
                            }, {
                                "type": "start",
                                "word": "和棋"
                            }, {
                                "type": "start",
                                "word": "和局"
                            }]
                        }],
                        "strokesNumText": "共八画",
                        "structure": "左右结构",
                        "radicalsAudio": "http://book-iot-cdn.turingos.cn/202108271201/96e31a6120b5bd6ec3195a3388f2c228/dictV2/6511f3c85bea1dae46b4aba0a3895103.mp3",
                        "strokesNumAudio": "http://universe-file-limit.turingapi.com/202108271131/d2feca96e1175e9c54e6918c5d6fb12c/dict/ca2159e08562402096c0e76d56e8b7b3.mp3",
                        "translations": ["sum", " and", " harmonious", "tie", "draw"],
                        "antonyms": ["唱", "战"],
                        "strokesOrderText": "撇、横、竖、撇、点、竖、横折、横",
                        "copy": [
                        "http://book-iot-cdn.turingos.cn/202205311743/d83c7f871e45d450d3dd88878842eae5/svg/svgs/21644.svg"
                    ],
                        "radicalsText": "口字旁",
                        "strokesOrderAudio": "http://universe-file-limit.turingapi.com/202108271131/b7dd62838c7a0a95764bcc19ae41f02d/dict/b8db8d556907401f84084b3976dd803f.mp3",
                        "word": "和",
                        "strokesNum": "8",
                        "strokesOrder": "ノ 一 丨 ノ 丶 丨 𠃍 一"
                    }
                },
                "content": "和"
            }
        }
    }
}

返回参数说明

参数 类型 是否必返 说明
code int Y 状态code;参考状态code列表
globalId String Y 请求唯一标识,用于排查日志
done boolean Y 单轮请求是否结束
false为单轮请求未结束(云端还会返回结果)
true为已结束(可进行下次请求或关闭连接)
message String Y code对应的说明
nlpResponse Json Y nlp相关回复信息
results Json Y 输出结果集

nlpResponse - Intent字段说明

参数 类型 是否必返 说明
code int Y 输出应用code
operateState int Y 应用状态(应用单独定义)
parameters Json Y 识别结果参数

输出应用code可参照官网文档 http://docs.turingos.cn/api/apiV2/#turingos

Intent - parameters字段说明

参数 类型 是否必返 说明
result Json Y 查词结果
content String Y 查词内容

parameters - result字段说明

参数 类型 是否必返 说明
dict String Y 词典类型
汉字(cn_char)
成语(cn_idiom)
古诗词(cn_poem)
汉词(cn_word)
人名(cn_word_person)
英文单词(en_word)
英文短语(en_phrase)
无查词内容(others)
info Json Y 查词信息,参考以下各词典类型字段;

results 字段说明

参数 类型 是否必返 说明
group Int N 组类型(文本接入可忽略该参数):
0为独立输出;
大于0时可能包含同组相关内容

info 字段说明

参数 类型 是否必返 描述
word String Y 汉字
strokesOrder String Y 笔顺
strokesOrderText String Y 笔顺文本
strokesOrderAudio String Y 笔顺音频
strokesNum String Y 笔画数
strokesNumText String Y 笔画数文本
strokesNumAudio String Y 笔画数音频
radicals String Y 偏旁
radicalsText String Y 偏旁文本
radicalsAudio String Y 偏旁音频
translations Array Y 汉译英
structure String Y 结构
copy Array Y 描红
polyphone Array Y 多音字
synonyms Array Y 近义词
antonyms Array Y 反义词

polyphone字段说明

参数 类型 是否必返 描述
pinyin String Y 多音字读音
audio String Y 多音字音频
combineWords Array Y 组词
explanations Array Y 释义

combineWords字段说明

参数 类型 是否必返 描述
type String Y 字在词中的位置(start、middle、end)
word Array Y 组词
5.2 成语
{
    "code": 200,
    "done": true,
    "globalId": "151865487384371001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1011,
            "parameters": {
                "result": {
                    "dict": "cn_idiom",
                    "info": {
                        "pinyin": "héng sǎo qiān jūn",
                        "examples": [{
                            "en": "",
                            "cn": "1、中国人民解放军渡过长江,横扫千军,直捣敌人的老窝。"
                        }],
                        "synonyms": ["风卷残云"],
                        "translations": ["make a clean sweep of something"],
                        "antonyms": ["溃不成军", "丢盔卸甲"],
                        "explanations": [" 横扫:扫荡、扫除。把大量敌军象扫地似地一阵子扫除掉。"],
                        "derivation": "唐·杜甫《醉歌行》:“词源倒流三峡水,笔阵独扫千人军。”",
                        "copy": [
                        "http://book-iot-cdn.turingos.cn/202205311742/f3db7f08208f1a9709a18d4bc65d784b/svg/svgs/27178.svg",
                        "http://book-iot-cdn.turingos.cn/202205311742/4980954bacc79db2f10fc0e718624836/svg/svgs/25195.svg",
                        "http://book-iot-cdn.turingos.cn/202205311742/f49966586899ced1a0ec2476bf4c1536/svg/svgs/21315.svg",
                        "http://book-iot-cdn.turingos.cn/202205311742/fecc93c19828e62eeb5568a621922e8f/svg/svgs/20891.svg"
                    ],
                        "wordAudio": "http://universe-file-limit.turingapi.com/202108271135/468a50ad40102e4e93497203202a7c2e/dict/40226f68638749c0949d476b5cf28e40.mp3",
                        "word": "横扫千军"
                    }
                },
                "content": "横扫千军"
            }
        }
    }
}

info字段说明

字段 类型 是否必返 说明
pinyin String Y 拼音
antonyms Array Y 反义词
synonyms Array Y 近义词
derivation String Y 出处
word String Y 成语
explanations String Y 释义
translations Array Y 汉译英
copy Array Y 描红
wordAudio String Y 内容音频
examples Array Y 双语例句

examples字段说明

字段 类型 是否必返 说明
en String N 英文
cn String N 中文
5.3 古诗词

古诗词词典类型,有以下几种输出逻辑,可根据type字段进行区分:

类别 type 说明
标题 title 当完整输入标题,且只有唯一匹配结果时,输出诗词全部内容,如“锦瑟”、“一剪梅中秋无月;
当有多条匹配结果时,输出相关标题列表,如“春晓”、“登鹳雀楼”;
标题关键词 keywords 当输入标题为关键词,或有多个匹配结果时,输出相关标题列表,如“密州出猎”、“亥杂诗”等;
单句诗词 sentence 当输入单句时,输出单句匹配结果,如“春眠不觉晓”;
多句诗词 multi_sentence 当输入多句诗词时,输出诗词上下句内容,如”疑是地上霜。举头“、“黄河入海流。欲穷千里目”;

古诗词 - 标题(唯一结果)

{
    "code": 200,
    "done": true,
    "globalId": "150350527146656001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1010,
            "parameters": {
                "result": {
                    "dict": "cn_poem",
                    "info": {
                        "details": [{
                            "code": "9e7e5e1e96e34b95b34edcc7b8881e69",
                            "notes": ["锦瑟:装饰华美的瑟。瑟:拨弦乐器,通常二十五弦。", "无端:犹何故。怨怪之词。五十弦:这里是托古之词。作者的原意,当也是说锦瑟本应是二十五弦。", "“庄生”句:《庄子齐物论》:“庄周梦为蝴蝶,栩栩然蝴蝶也;自喻适志与!不知周也。俄然觉,则蘧蘧然周也。不知周之梦为蝴蝶与?蝴蝶之梦为周与?”李商隐此引庄周梦蝶故事,以言人生如梦,往事如烟之意。"],
                            "dynasty": "唐代",
                            "sentences": [{
                                "sentence": "锦瑟无端五十弦,一弦一柱思华年。",
                                "notes": ["无端:犹何故。怨怪之词。", "五十弦:这里是托古之词。作者的原意,当也是说锦瑟本应是二十五弦。", "锦瑟:装饰华美的瑟。瑟:拨弦乐器,通常二十五弦。", "瑟:拨弦乐器,通常二十五弦"],
                                "explanations": ["瑟本有二十五根弦,但此诗创作于李商隐妻子死后,故五十弦有断弦之意"]
                            }, {
                                "sentence": "庄生晓梦迷蝴蝶,望帝春心托杜鹃。",
                                "notes": ["庄生晓梦迷蝴蝶:《庄子·齐物论》:“庄周梦为蝴蝶,栩栩然蝴蝶也;自喻适志与!不知周也。俄然觉,则蘧蘧然周也。不知周之梦为蝴蝶与?蝴蝶之梦为周与。”商隐此引庄周梦蝶故事,以言人生如梦,往事如烟之意。", "望帝春心托杜鹃:《华阳国志·蜀志》:“杜宇称帝,号曰望帝。……其相开明,决玉垒山以除水害,帝遂委以政事,法尧舜禅授之义,遂禅位于开明。帝升西山隐焉。时适二月,子鹃鸟鸣,故蜀人悲子鹃鸟鸣也。”子鹃即杜鹃,又名子规。"],
                                "explanations": ["但即使这样它的每一弦、每一音节,足以表达对那美好年华的思念。(此句为转折句。)"]
                            }, {
                                "sentence": "沧海月明珠有泪,蓝田日暖玉生烟。",
                                "notes": ["蓝田:《元和郡县志》:“关内道京兆府蓝田县:蓝田山,一名玉山,在县东二十八里。”", "沧海月明珠有泪:《博物志》:“南海外有鲛人,水居如鱼,不废绩织,其眼泣则能出珠。”《新唐书·狄仁杰传》:“仁杰举明经,调汴州参军,为吏诬诉黜陟,使闫立本如讯,异其才,谢曰:‘仲尼称观过知仁,君可谓沧海遗珠矣。’”", "珠有泪:《博物志》:“南海外有鲛人,水居如鱼,不废绩织,其眼泣则能出珠。”"],
                                "explanations": ["庄周其实知道自己只是向往那自由自在的蝴蝶。(本句是对“华年”的阐释。)"]
                            }, {
                                "sentence": "此情可待成追忆,只是当时已惘然。",
                                "notes": [],
                                "explanations": ["望帝那美好的心灵和作为可以感动杜鹃。(本句亦是对“华年”的阐释。)"]
                            }],
                            "about": "解读\n\n  这首诗历来注释不一,莫衷一是。或以为是悼亡之作,或以为是爱国之篇或以为是自比文才之论,或以为是抒写思念侍儿锦瑟。但以为是悼亡死者为最多。有人认为,开首以瑟弦五十折半为二十五,隐指亡妇华年二十五岁。这话未免有嫌牵强。但是,首联哀悼早逝却是真实。颔联以庄子亡妻鼓盆而歌和期效望帝化成子规而啼血,间接地描写了人生的悲欢离合。颈联以鲛人泣珠和良玉生烟的典故,隐约地描摹了世间风情迷离恍惚,可望而不可至。最后抒写生前情爱漫不经心,死后追忆",
                            "name": "锦瑟",
                            "appreciation": "鉴赏\n\n  《锦瑟》,是李商隐的代表作,爱诗的无不乐道喜吟,堪称最享盛名;然而它又是最不易讲解的一篇难诗。有人说是写给令狐楚家一个叫“锦瑟”的侍女的爱情诗;有人说是睹物思人,写给故去的妻子王氏的悼亡诗;也有人认为中间四句诗可与瑟的适、怨、清、和四种声情相合,从而推断为描写音乐的咏物诗;此外还有影射政治、自叙诗歌创作等许多种说法。千百年来众说纷纭,莫衷一是,大体而言,以“悼亡”和“自伤”说者为多。 \n\n  诗人大量借用庄生梦蝶,杜鹃啼血,",
                            "explanations": [],
                            "poet": "李商隐",
                            "content": "锦瑟无端五十弦,一弦一柱思华年。\n庄生晓梦迷蝴蝶,望帝春心托杜鹃。\n沧海月明珠有泪,蓝田日暖玉生烟。\n此情可待成追忆,只是当时已惘然。",
                            "tags": ["唐诗三百首", "思念", "爱情", "抒情"]
                        }],
                        "isWhole": true,
                        "type": "title"
                    }
                },
                "content": "锦瑟"
            }
        }
    }
}

info字段说明

字段 类型 是否必返 说明
details Array Y 古诗词内容说明
type String Y 古诗词输出内容类型(详见上文词典类型说明)
isWhole Bool Y 返回全诗结果
true为已返回全部诗词
false为未返回全部诗词

当isWhole字段返回结果为false时,可根据唯一编码(code)请求《古诗词全诗获取接口文档》获取全诗。

details 字段说明

字段 类型 是否必返 说明
code String Y 全诗唯一编码
tags Array N 标签
poet String N 诗人
notes Array N 注释
wordAudio String N 全诗音频链接
name String Y 诗名
dynasty String N 朝代
content String Y 全诗原文
explanations Array N 全诗白话文
appreciation String N 全诗赏析
about String N 其他相关信息
sentences Array N 单句内容说明

sentences 字段说明

字段 类型 是否必返 说明
explanations Array N 单句白话文
notes Array N 单句注释
audio String N 单句音频链接
sentence String N 单句内容

古诗词 - 标题(多个结果)

{
    "code": 200,
    "done": true,
    "globalId": "150339455752656001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1010,
            "parameters": {
                "result": {
                    "dict": "cn_poem",
                    "info": {
                        "details": [{
                            "code": "a2942a2f3f314b2385f2e66891044834",
                            "dynasty": "宋代",
                            "name": "卜算子",
                            "poet": "赵长卿",
                            "content": "十载仰高明,一见"
                        }, {
                            "code": "6b58eaf694154a5392c49e6c35a47bd1",
                            "dynasty": "宋代",
                            "name": "卜算子",
                            "poet": "程垓",
                            "content": "枕簟暑风消,帘幕"
                        }, {
                            "code": "301180ff6f1c4f8fbfab999f151f178e",
                            "dynasty": "宋代",
                            "name": "卜算子",
                            "poet": "蔡伸",
                            "content": "春事付莺花,曾是"
                        }, {
                            "code": "9f0a035dc32f4142bfafa57dc5b0bd4e",
                            "dynasty": "宋代",
                            "name": "卜算子",
                            "poet": "徐俯",
                            "content": "清池过雨凉,暗有"
                        }, {
                            "code": "457260fc0423429e8aeefb99207bc31d",
                            "dynasty": "宋代",
                            "name": "卜算子",
                            "poet": "石孝友",
                            "content": "人自蕊宫来,微步"
                        }, {
                            "code": "b2133c98fda24f2dbe8491e41c024ccf",
                            "dynasty": "宋代",
                            "name": "卜算子",
                            "poet": "杜安世",
                            "content": "深院花铺地。淡淡"
                        }, {
                            "code": "5f3e3d732fc54ddeb6fae1584d400092",
                            "dynasty": "宋代",
                            "name": "卜算子",
                            "poet": "陈道师",
                            "content": "梅岭数枝春,疏影"
                        }, {
                            "code": "b7025601fcec4894aab46b7a3b62e8f9",
                            "dynasty": "宋代",
                            "name": "卜算子",
                            "poet": "刘克庄",
                            "content": "风汉闲中做,彼岸"
                        }, {
                            "code": "2d6b18ba49954b779961ca6e032d80d8",
                            "dynasty": "宋代",
                            "name": "卜算子",
                            "poet": "美奴",
                            "content": "送我出东门,乍别"
                        }, {
                            "code": "13ab51407f5343c890d8e8932b81d2c1",
                            "dynasty": "宋代",
                            "name": "卜算子",
                            "poet": "朱敦儒",
                            "content": "古涧一枝梅,免被"
                        }],
                        "isWhole": false,
                        "type": "title"
                    }
                },
                "content": "卜算子"
            }
        }
    }
}

info字段说明

字段 类型 是否必返 说明
details Array Y 古诗词内容说明
type String Y 古诗词输出内容类型(详见上文词典类型说明)
isWhole Bool Y 返回全诗结果
true为已返回全部诗词
false为未返回全部诗词

当isWhole字段返回结果为false时,可根据唯一编码(code)请求《古诗词全诗获取接口文档》获取全诗。

details 字段说明

字段 类型 是否必返 说明
code String Y 全诗唯一编码
dynasty String N 朝代
name String Y 诗名
poet String N 诗人
content String Y 首句原文
wordAudio String Y 首句原文音频

古诗词 - 标题关键词

{
    "globalId": "125889981231310116",
    "intent": {
        "code": 1000633,
        "operateState": 1010,
        "parameters": {
            "result": {
                "dict": "cn_poem",
                "info": {
                    "details": [{
                        "code": "483f2a2c0d914502beb84ee002e5e964",
                        "notes": [
                            "江城子:词牌名。",
                            "密州:今山东诸城。",
                            "老夫:作者自称,时年三十八岁。",
                            "聊:姑且,暂且。",
                            "狂:豪情。",
                            "左牵黄,右擎苍:左手牵着黄犬,右臂擎着苍鹰,形容围猎时用以追捕猎物的架势。",
                            "黄:黄犬。",
                            "苍:苍鹰。",
                            "锦帽貂裘:名词作动词使用,头戴着华美鲜艳的帽子。貂裘,身穿貂鼠皮衣。是汉羽林军穿的服装。",
                            "千骑卷平冈:形容马多尘土飞扬,把山冈像卷席子一般掠过。",
                            "千骑:形容随从乘骑之多。"
                        ],
                        "dynasty": "宋代",
                        "sentences": [{
                                "sentence": "老夫聊发少年狂,左牵黄,右擎苍,锦帽貂裘,千骑卷平冈。为报倾城随太守,亲射虎,看孙郎。",
                                "notes": [
                                    "狂:豪情。",
                                    "锦帽貂裘:名词作动词使用,头戴着华美鲜艳的帽子。貂裘,身穿貂鼠皮衣。是汉羽林军穿的服装。",
                                    "黄:黄犬。",
                                    "千骑:上千个骑马的人,形容随从乘骑之多。",
                                    "老夫:作者自称,时年三十八。",
                                    "太守:指作者自己。",
                                    "千骑卷平冈:形容马多尘土飞扬,把山冈像卷席子一般掠过。",
                                    "聊:姑且,暂且。",
                                    "倾城:全城的人都出来了。形容随观者之众。",
                                    "看孙郎:孙郎,孙权。这里借以自喻。"
                                ],
                                "explanations": [
                                    "我姑且抒发一下少年的豪情壮志,左手牵着黄犬,右臂擎着苍鹰,戴着华美鲜艳的帽子,穿着貂皮做的衣服,带着上千骑的随从疾风般席卷平坦的山冈。为了报答满城的人跟随我出猎的盛情厚意,我要像孙权一样,亲自射杀猛虎。"
                                ]
                            },
                            {
                                "sentence": "酒酣胸胆尚开张,鬓微霜,又何妨!持节云中,何日遣冯唐?会挽雕弓如满月,西北望,射天狼。",
                                "notes": [
                                    "节:兵符,传达命令的符节。",
                                    "微霜:稍白。",
                                    "云中:汉时郡名,今内蒙古自治区托克托县一带,包括山西省西北一部分地区。",
                                    "天狼:星名,又称犬星,旧说指侵掠,这里隐指西夏。《楚辞·九歌·东君》:“长矢兮射天狼。”",
                                    "满月:圆月。",
                                    "尚:更。",
                                    "会:定将。",
                                    "雕弓:弓背上有雕花的弓。(另解释为:天弓)",
                                    "酒酣胸胆尚开张:极兴畅饮,胸怀开阔,胆气横生。",
                                    "持节:是奉有朝廷重大使命。",
                                    "挽:拉。"
                                ],
                                "explanations": [
                                    "我痛饮美酒,心胸开阔,胆气更为豪壮,(虽然)两鬓微微发白,(但)这又有何妨?什么时候皇帝会派人下来,就像汉文帝派遣冯唐去云中赦免魏尚的罪(一样信任我)呢?我将使尽力气拉满雕弓就像满月一样,朝着西北瞄望,射向西夏军队。"
                                ]
                            }
                        ],
                        "about": " 苏轼(1037年1月8日-1101年8月24日)字子瞻、和仲,号铁冠道人、东坡居士,世称苏东坡、苏仙,汉族,眉州眉山(四川省眉山市)人,祖籍河北栾城,北宋著名文学家、书法家、画家,历史治水名人。苏轼是北宋中期文坛领袖,在诗、词、散文、书、画等方面取得很高成就。文纵横恣肆;诗题材广阔,清新豪健,善用夸张比喻,独具风格,与黄庭坚并称“苏黄”;词开豪放一派,与辛弃疾同是豪放派代表,并称“苏辛”;散文著述宏富,豪放自如,与欧阳修并称“欧苏”,",
                        "name": "江城子·密州出猎",
                        "appreciation": "苏轼因此词有别于“柳七郎(柳永)风味”而颇为得意。他曾致书信于子骏表达这种自喜:“近却颇作小词,虽无柳七郎风味,亦自是一家,数日前猎于郊外,所获颇多。作得一阕,令东州壮士抵掌顿足而歌之,吹笛击鼓以为节,颇壮观也。”\n\n  此词开篇“老夫聊发少年狂”,出手不凡。用一“狂”字笼罩全篇,藉以抒写胸中雄健豪放的一腔磊落之气。接下去的四句写出猎的雄壮场面,表现了猎者威武豪迈的气概:词人左手牵黄犬,右臂驾苍鹰,好一副出猎的雄姿!随从武士个个也是“锦",
                        "explanations": [
                            "我姑且抒发一下少年的豪情壮志,左手牵着黄犬,右臂擎着苍鹰,戴着华美鲜艳的帽子,穿着貂皮做的衣服,带着上千骑的随从疾风般席卷平坦的山冈。为了报答满城的人跟随我出猎的盛情厚意,我要像孙权一样,亲自射杀猛虎。\n我痛饮美酒,心胸开阔,胆气更为豪壮,(虽然)两鬓微微发白,(但)这又有何妨?什么时候皇帝会派人下来,就像汉文帝派遣冯唐去云中赦免魏尚的罪(一样信任我)呢?我将使尽力气拉满雕弓就像满月一样,朝着西北瞄望,射向西夏军队。"
                        ],
                        "poet": "苏轼",
                        "wordAudio": "http://book-iot-cdn.turingos.cn/202108121733/cf953a1e4b81d01a31b730c4b11f2827/dictV2/59a41ecae53754642aa5758aa5d1443b.mp3",
                        "content": "老夫聊发少年狂,左牵黄,右擎苍,锦帽貂裘,千骑卷平冈。为报倾城随太守,亲射虎,看孙郎。\n酒酣胸胆尚开张,鬓微霜,又何妨!持节云中,何日遣冯唐?会挽雕弓如满月,西北望,射天狼。",
                        "tags": [
                            "宋词三百首",
                            "初中古诗",
                            "豪放",
                            "狩猎",
                            "爱国"
                        ]
                    }],
                    "isWhole": true,
                    "type": "keywords"
                }
            },
            "content": "密州出猎"
        }
    }
}

info字段说明

字段 类型 是否必返 说明
details Array Y 古诗词内容说明
type String Y 古诗词输出内容类型(详见上文词典类型说明)
isWhole Bool Y 返回全诗结果
true为已返回全部诗词
false为未返回全部诗词

当isWhole字段返回结果为false时,可根据唯一编码(code)请求《古诗词全诗获取接口文档》获取全诗。

details 字段说明

字段 类型 是否必返 说明
code String Y 全诗唯一编码
tags Array N 标签
poet String N 诗人
notes Array N 注释
wordAudio String N 全诗音频链接
name String Y 诗名
dynasty String N 朝代
content String Y 全诗原文
explanations Array N 全诗白话文
appreciation String N 全诗赏析
about String N 其他相关信息
sentences Array N 单句内容说明

sentences 字段说明

字段 类型 是否必返 说明
explanations Array N 单句白话文
notes Array N 单句注释
audio String N 单句音频链接
sentence String N 单句内容

古诗词 - 单句诗词

{
    "code": 200,
    "done": true,
    "globalId": "149115823165534001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1010,
            "parameters": {
                "result": {
                    "dict": "cn_poem",
                    "info": {
                        "details": [{
                            "sentence": "春眠不觉晓,处处闻啼鸟。",
                            "notes": ["不觉晓:不知不觉天就亮了。晓:早晨,天明,天刚亮的时候。", "晓:天刚亮的时候,春晓:春天的早晨。", "啼鸟:鸟啼,鸟的啼叫声", "闻:听见。啼鸟:鸟啼,鸟的啼叫声。"],
                            "explanation": "春日里贪睡不知不觉天已破晓,搅乱我酣眠的是那啁啾的小鸟。"
                        }],
                        "type": "sentence"
                    }
                },
                "content": "春眠不觉晓"
            }
        }
    }
}

info字段说明

字段 类型 是否必返 说明
details Array Y 古诗词内容说明
type String Y 古诗词输出内容类型(详见上文词典类型说明)
isWhole Bool Y 返回全诗结果
true为已返回全部诗词
false为未返回全部诗词

当isWhole字段返回结果为false时,可根据唯一编码(code)请求《古诗词全诗获取接口文档》获取全诗。

details 字段说明

字段 类型 是否必返 说明
explanations Array N 单句白话文
notes Array N 单句注释
wordAudio String N 单句音频链接
sentence String N 单句内容
code Int N 全诗唯一编码

古诗词 - 多句诗词

{
    "code": 200,
    "done": true,
    "globalId": "150339627455656001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1010,
            "parameters": {
                "result": {
                    "dict": "cn_poem",
                    "info": {
                        "details": [{
                            "code": "3fb799dd88824d0982e1332bf2484cd8",
                            "notes": [],
                            "dynasty": "唐代",
                            "sentences": [{
                                "sentence": "天生丽质难自弃,一朝选在君王侧。回眸一笑百媚生,六宫粉黛无颜色。",
                                "notes": ["丽质:美丽的姿质。", "无颜色:意谓相形之下,都失去了美好的姿容", "六宫粉黛:指宫中所有嫔妃。古代皇帝设六宫,正寝(日常处理政务之地)一,燕寝(休息之地)五,合称六宫。粉黛:粉黛本为女性化妆用品,粉以抹脸,黛以描眉。此代指六宫中的女性。无颜色:意谓相形之下,都失去了美好的姿容。", "粉黛:粉黛本为女性化妆用品,粉以抹脸,黛以描眉。此代指六宫中的女性"],
                                "explanations": ["杨家有个女儿刚刚长大,十分娇艳,养在深闺中,外人不知她美丽绝伦。"]
                            }, {
                                "sentence": "春寒赐浴华清池,温泉水滑洗凝脂。侍儿扶起娇无力,始是新承恩泽时。",
                                "notes": ["新承恩泽:刚得到皇帝的宠幸。", "侍儿:宫女。", "华清池:即华清池温泉,在今西安市临潼区南的骊山下。唐贞观十八年(644)建汤泉宫,咸亨二年(671)改名温泉宫,天宝六载(747)扩建后改名华清宫。唐玄宗每年冬、春季都到此居住。", "凝脂:形容皮肤白嫩滋润,犹如凝固的脂肪。《诗经·卫风·硕人》语“肤如凝脂”。"],
                                "explanations": ["天生丽质、倾国倾城让她很难埋没世间,果然没多久便成为了唐明皇身边的一个妃嫔。"]
                            }],
                            "about": "写作背景\n\n  唐宪宗元和元年(806),白居易任盩厔(今西安市周至县)县尉。一日,与友人陈鸿、王质夫到马嵬驿附近的仙游寺游览,谈及李隆基与杨贵妃事。王质夫认为,像这样突出的事情,如无大手笔加工润色,就会随着时间的推移而消没。他鼓励白居易:“乐天深于诗,多于情者也,试为歌之,何如?”于是,白居易写下了这首长诗。陈鸿同时写了一篇传奇小说《长恨歌传》。",
                            "name": "长恨歌",
                            "appreciation": "鉴赏\n\n  《长恨歌》是白居易诗作中脍炙人口的名篇,作于元和元年(806),当时诗人正在盩厔县(今陕西周至)任县尉。这首诗是他和友人陈鸿、王质夫同游仙游寺,有感于唐玄宗、杨贵妃的故事而创作的。在这首长篇叙事诗里,作者以精炼的语言,优美的形象,叙事和抒情结合的手法,叙述了唐玄 宗、杨贵妃在安史之乱中的爱情悲剧:他们的爱情被自己酿成的叛乱断送了,正在没完没了地吃着这一精神的苦果。唐玄宗、杨贵妃都是历史上的人物,诗人并不拘泥于历史,而是借着历",
                            "explanations": [],
                            "poet": "白居易",
                            "content": "汉皇重色思倾国,御宇多年求不得。杨家有女初长成,养在深闺人未识。\n天生丽质难自弃,一朝选在君王侧。回眸一笑百媚生,六宫粉黛无颜色。\n春寒赐浴华清池,温泉水滑洗凝脂。侍儿扶起娇无力,始是新承恩泽时。\n云鬓花颜金步摇,芙蓉帐暖度春宵。春宵苦短日高起,从此君王不早朝。 \n\n承欢侍宴无闲暇,春从春游夜专夜。后宫佳丽三千人,三千宠爱在一身。\n金屋妆成娇侍夜,玉楼宴罢醉和春。姊妹弟兄皆列土,可怜光彩生门户。\n遂令天下父母心,不重生男重生女。骊宫高处",
                            "tags": ["唐诗三百首", "写人", "爱情", "讽喻", "叙事", "长诗"]
                        }],
                        "isWhole": false,
                        "type": "multi_sentence"
                    }
                },
                "content": "六宫粉黛无颜色。春寒赐浴"
            }
        }
    }
}

info字段说明

字段 类型 是否必返 说明
details Array Y 古诗词内容说明
type String Y 古诗词输出内容类型(详见上文词典类型说明)
isWhole Bool Y 返回全诗结果
true为已返回全部诗词
false为未返回全部诗词

当isWhole字段返回结果为false时,可根据唯一编码(code)请求《古诗词全诗获取接口文档》获取全诗。

details 字段说明

字段 类型 是否必返 说明
code String Y 全诗唯一编码
tags Array N 标签
poet String N 诗人
notes Array N 注释
wordAudio String N 全诗音频链接
name String Y 诗名
dynasty String N 朝代
content String Y 全诗原文
explanations Array N 全诗白话文
appreciation String N 全诗赏析
about String N 其他相关信息
sentences Array N 单句内容说明

sentences 字段说明

字段 类型 是否必返 说明
explanations Array N 单句白话文
notes Array N 单句注释
audio String N 单句音频链接
sentence String N 单句内容
5.4 汉词
{
    "code": 200,
    "done": true,
    "globalId": "151865454271371001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1011,
            "parameters": {
                "result": {
                    "dict": "cn_word",
                    "info": {
                        "copy": [
                        "http://book-iot-cdn.turingos.cn/202205311745/36ca62cebdff2e27d68bff1c5fd42b31/svg/svgs/32654.svg",
                        "http://book-iot-cdn.turingos.cn/202205311745/bf7ce38c64b706b93f5457ac1d2955e6/svg/svgs/20029.svg"
                    ],
                        "polyphone": [{
                            "pinyin": "měi lì",
                            "examples": [{
                                "en": "",
                                "cn": "她的清秀美丽使他倾倒。"
                            }, {
                                "en": "",
                                "cn": "观赏一幅美丽的图画使人心满意足。"
                            }, {
                                "en": "",
                                "cn": "我的女儿十八岁了,已经长成为美丽的淑女。"
                            }, {
                                "en": "",
                                "cn": "他写了一首诗赞扬她的美丽。"
                            }, {
                                "en": "",
                                "cn": "她的微笑使她更美丽了。"
                            }, {
                                "en": "",
                                "cn": "王子住在一个美丽的大城堡里。"
                            }, {
                                "en": "",
                                "cn": "因为污染严重,许多美丽的鱼类正在面临绝种。"
                            }, {
                                "en": "",
                                "cn": "他爱上那位美丽的姑娘是很自然的事。"
                            }],
                            "synonyms": ["俊俏", "秀美", "美观", "美貌", "俏丽", "优美", "美艳", "俊美"],
                            "translations": ["beautiful"],
                            "antonyms": ["难看", "丑陋", "丑恶"],
                            "explanations": ["使人看了产生快感的;好看。"],
                            "audio": "http://universe-file-limit.turingapi.com/202108271134/c620f08a5b97a2181e9cf599ed039e79/dict/cn_word/b139dc7eb8ec4a438b643551740e024a.mp3"
                        }],
                        "wordAudio": "http://universe-file-limit.turingapi.com/202108271134/c620f08a5b97a2181e9cf599ed039e79/dict/cn_word/b139dc7eb8ec4a438b643551740e024a.mp3",
                        "word": "美丽"
                    }
                },
                "content": "美丽"
            }
        }
    }
}

info字段说明

字段 类型 是否必返 说明
polyphone Array Y 读音相关数据
word String Y 词语
copy Array Y 描红
wordAudio String Y 内容音频

polyphone 字段说明

字段 类型 是否必返 说明
pinyin String Y 拼音
examples Array Y 双语例句
antonyms Array Y 反义词
synonyms Array Y 近义词
explanations Array Y 释义
translations String Y 汉译英
audio String Y 多音字音频

examples字段说明

字段 类型 是否必返 说明
en String N 英文
cn String N 中文
5.5 历史诗人名

配合古诗词词典使用,支持查询中国古诗词中常见诗人的生平简介及人物名

{
    "code": 200,
    "done": true,
    "globalId": "151865721740371001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1011,
            "parameters": {
                "result": {
                    "dict": "cn_word_person",
                    "info": [{
                        "pinyin": "lǐ bái",
                        "name": "李白",
                        "wordAudio": "http://book-iot-cdn.turingos.cn/202108271209/76465cc856f2fe81919a5ab066e9a097/dictV2/293040fc607f40caf6d6e16042012182.mp3",
                        "introduction": "李白(701年-762年),字太白,号青莲居士,唐朝浪漫主义诗人,被后人誉为“诗仙”。祖籍陇西成纪(待考),出生于西域碎叶城,4岁再随父迁至剑南道绵州。李白存世诗文千余篇,有《李太白集》传世。762年病逝,享年61岁。其墓在今安徽当涂,四川江油、湖北安陆有纪念馆。"
                    }]
                },
                "content": "李白"
            }
        }
    }
}

info字段说明

字段 类型 是否必返 说明
pinyin String Y 拼音
name String Y 人名名称
wordAudio String Y 内容音频
copy Array Y 描红
introduction Array Y 生平简介
5.6 英文单词
{
    "code": 200,
    "done": true,
    "globalId": "151865664038371001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1011,
            "parameters": {
                "result": {
                    "dict": "en_word",
                    "info": {
                        "phoneticEn": "həˈləʊ",
                        "presentParticiple": "helloing",
                        "phoneticUsAudio": "http://universe-file-limit.turingapi.com/202108271138/03b27c4c8fca70c8270c546d5577a7c3/dict/en_word_us/4fd718abf2954e73b30697ea91f88de9.mp3",
                        "synonyms": [{
                            "en": "greetings",
                            "cn": ""
                        }, {
                            "en": "good",
                            "cn": ""
                        }, {
                            "en": "salutations",
                            "cn": ""
                        }, {
                            "en": "day",
                            "cn": ""
                        }],
                        "sentencePattern": [],
                        "verb": "",
                        "wordAudio": "http://book-iot-cdn.turingos.cn/202108271208/6b5861215605c231932ec07aa3813dcd/dictV2/5d41402abc4b2a76b9719d911017c592.mp3",
                        "superlativeDegree": "",
                        "vocabularyGroup": [{
                            "en": "golden hello",
                            "cn": "高额应聘金"
                        }, {
                            "en": "hello girl",
                            "cn": "女话务员"
                        }, {
                            "en": "hello screen",
                            "cn": "呼叫屏幕"
                        }],
                        "thirdSingular": "helloes",
                        "adjective": "",
                        "referenceArticle": ["Lily Cary helloed from the porch of her house..but he did not turn his head. 出自: T. Morrison"],
                        "examples": [{
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "You know, he didn "t even bother to say hello to me when I saw him on the street yesterday. "",
                            "cn": "你可知道,昨天我在马路上见到他,他连招呼都不跟我打。"
                        }, {
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "We didn't have this planned. But we decided to stop by just to say hello, when I heard my boys were going to be here. I couldn't resist.",
                            "cn": "我们并没有这个计划。但是我听说我的支持者们会聚集在这里,于是我们决定停下,来跟大家问好。我当然很乐意这么做。"
                        }, {
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "I walked up to that girl to say hello, but she blew me off.",
                            "cn": "我走到那个女孩的面前跟她打招呼,但是她没有理我。"
                        }, {
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "You can't walk anywhere in Java without an entourage of the most gorgeous children, who rush up to say hello with the warmest smiles.",
                            "cn": "在爪哇,到哪里都可以看见可爱的孩子,他们总是带着温暖的微笑奔过来和我们说哈罗。"
                        }, {
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "Hello everyone, I'm new to the front, very pleased to be a member of the company.",
                            "cn": "大家好,我是新来的前台,非常高兴能够成为公司的一员。"
                        }, {
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "Hello Dad, just a few lines to let you know I'm well and hope you all are too.",
                            "cn": "你好,爸爸,我只说几句话,但你得知道我很好,希望你也是。"
                        }, {
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "The fans of that brand have literally stolen the image to make fan art, claiming that Hello Kitty is now part of our pop culture.",
                            "cn": "HelloKitty品牌的粉丝公然剽窃这个图像来做同仁艺术,还宣称HelloKitty现在已是我们流行文化的一部分。"
                        }, {
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "Girls don't necessarily have to have hour long conversations every night but its nice for us to hear your voice even for a quick hello.",
                            "cn": "女孩子虽然不用你整晚陪她说话,但是有时很想听见你轻轻的问候也很美。"
                        }, {
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "Hello- nice to meet you. Take a lott- I'll be down in a minute.",
                            "cn": "你好,很快活认识你。请坐,我马高上去。"
                        }, {
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "Then he spoke slowly, but I could not (was not able to) understand hello m.",
                            "cn": "后来,他说话说得慢了,可是我还是听不懂他的话。"
                        }],
                        "phoneticUs": "həˈləʊ",
                        "antonyms": [{
                            "en": "farewell",
                            "cn": ""
                        }, {
                            "en": "good-bye",
                            "cn": ""
                        }],
                        "explanationEn": "abstract: \"Hello\" is a song by American pop recording duo Karmin. The song is the second official single from their debut EP of the same name, Hello.",
                        "pastParticiple": "helloed",
                        "explanations": [{
                            "pos": "int",
                            "meaning": "喂;你好"
                        }, {
                            "pos": "n",
                            "meaning": "(表示问候时的叫声)"
                        }],
                        "phrases": [],
                        "preterit": "helloed",
                        "nounPlurals": "hellos",
                        "word": "hello",
                        "comparativeDegree": "",
                        "phoneticEnAudio": "http://universe-file-limit.turingapi.com/202108271138/39c76132325bce97ec3d71397582bd32/dict/en_word_en/199abb8af28d4707a689bbe5ff14c702.mp3"
                    }
                },
                "content": "hello"
            }
        }
    }
}

info字段说明

字段 类型 是否必返 说明
adjective String Y 形容词
comparativeDegree String Y 比较级
nounPlurals String Y 名词复数
pastParticiple String Y 过去分词
phoneticEn String Y 英音标
phoneticUs String Y 美音标
phrases Array Y 短语
presentParticiple String Y 现在分词
preterit String Y 过去式
superlativeDegree String Y 最高级
sentencePattern Array Y 常用句型
thirdSingular String Y 第三人称单数
verb String Y 动词
referenceArticle Array Y 引文
phoneticEnAudio String Y 英音标音频
wordAudio String Y 内容音频
synonyms Array Y 近义词
vocabularyGroup Array Y 词汇搭配
examples Array Y 双语例句
antonyms Array Y 反义词
explanations Array Y 英译汉
word String Y 内容
phoneticUsAudio String Y 美音标音频
explanationEn String Y 英英释义

examples/vocabularyGroup/apastParticiplentonyms 字段说明

字段 类型 是否必返 说明
en String N 英文
cn String N 中文
cnAudio String N 中文音频
enAudio String N 英文音频

explanations 字段说明

字段 类型 是否必返 说明
pos String N 词性
meaning String N 词义
5.7 英文短语
{
    "code": 200,
    "done": true,
    "globalId": "150339150761656001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1010,
            "parameters": {
                "result": {
                    "dict": "en_phrase",
                    "info": {
                        "examples": [{
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "How are you fixed for cash?",
                            "cn": "你有多少现金?"
                        }, {
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "you feeling today?",
                            "cn": "你今天觉得怎么样?"
                        }, {
                            "cnAudio": "",
                            "enAudio": "",
                            "en": "Hello John, how are you?",
                            "cn": "哈罗,约翰,你好吗?"
                        }],
                        "phrase": "how are you",
                        "explanations": ["你好"]
                    }
                },
                "content": "how are you"
            }
        }
    }
}

info 字段说明

参数 类型 是否必返 描述
examples Array Y 双语例句
phrase String Y 短语内容
explanations Array Y 释义

examples字段说明

参数 类型 是否必返 描述
en String Y 英文
cn String Y 中文
enAudio String Y 英文音频
cnAudio String Y 中文音频
5.8 牛津词典
{
    "code": 200,
    "done": true,
    "globalId": "154480613972195001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1010,
            "parameters": {
                "result": {
                    "operation": "",
                    "oxfordVersion": 4,
                    "dictType": "niujin",
                    "info": [{
                        "entry": [{
                            "sn-gs": [{
                                "sn-g": []
                            }]
                        }],
                        "anagram": [
                            "be 的过去式 "
                        ],
                        "or-wd": [
                            "be"
                        ],
                        "h": [
                            "was"
                        ],
                        "pron-gs": [{
                                "geo": "英",
                                "audioUrl": "http://book-iot-cdn.turingos.cn/202202172010/9715c4d8a99f0122c474ab79e429dbf8/dict/niujin/niujin_data/Headwordaudio/W/was%23_gb_1.mp3",
                                "phon": "wəz",
                                "audio": "was#_gb_1"
                            },
                            {
                                "geo": "美",
                                "audioUrl": "http://book-iot-cdn.turingos.cn/202202172010/0882089d5bbac395cb6f719b22f7fd10/dict/niujin/niujin_data/Headwordaudio/W/was%23_us_3_rr.mp3",
                                "phon": "wəz",
                                "audio": "was#_us_3_rr"
                            }
                        ],
                        "vp-gs": [{
                                "pastpart": "过去分词 been"
                            },
                            {
                                "past": "过去式 was"
                            },
                            {
                                "thirdps": "第三人称单数 is"
                            },
                            {
                                "prespart": "现在进行时 being"
                            }
                        ],
                        "infl-g": [
                            "was"
                        ]
                    }]
                },
                "content": "was"
            }
        }
    }

info 字段说明

参数 类型 是否必返 说明
h string Y 单词文本
infl-g array Y 单词所有变形
pos-g array Y 单词所有词性
label-g array Y 单词标识,包括语体、地理、学科标识
gram-g string Y 单词的语法说明
vp-gs array Y 单词变形的具体说明
v-gs array Y 单词的变体
Ox-aw array Y 用于说明单词是否属于牛津3000词或学术用词
anagram array Y 原词的其他变形词
or-wd array Y 原词文本
pron-gs array N 单词音标及发音
...geo string N 用于说明是英式还是美式发音
...phon string N 单词音标
...audio string N 单词发音
entry array N 单词详细信息
...pos-g string N 单词的某个词性
...sn-gs array N 该词性下的单词释义及例句
......shcut array N 用于说明该单词的释义的类别或范围
.........en string N 英文说明
.........cn string N 中文说明
......sn-g array N 单词的一条释义
.........gram-g string N 单词某个释义的语法
.........cf array N 单词在某个或某个释义的用法
.........dis-g array N 对在该释义在的用法进一步说明
.........v-gs array N 单词在某个释义下的变体
.........xr-gs array N 释义的参见项
.........label-g array N 释义的语体、地理、学科标识
.........def array N 释义
............en string N 英文释义
............cn string N 中文释义
.........x-gs array N 这几种用法的例句
............cf array N 单词在某个例句中的用法
............en string N 英文例句
............cn string N 例句中文翻译
............pron-gs array N 例句发音
...............geo string N 用于说明是英式还是美式发音
...............audio string N 例句音频
...pv-gs array N 该词性下的短语动词组
......pv array N 短语动词
......v-gs array N 短语的变体
......sn-gs array N 该短语动词的解释及例句
.........v-gs array N 在某个释义下的变体
.........xr-gs array N 短语在某个释义下的参见项
.........label-g array N 短语标识,用于说明其语体、地理、学科
.........def array N 该短语动词的解释
............en string N 英文解释
............cn string N 中文解释
.........x-gs array N 该短语动词的例句
............label-g array N 该句子的地理、语体、学科标识
............en string N 英文例句
............cn string N 例句的中文翻译
............pron-gs array N 例句的发音
...............geo string N 用于说明是英式还是美式发音
...............audio string N 例句音频
...idm-gs array N 该词性下的习语组
......xr-gs array N 习语的参见项
.........idm-g array N 习语的信息
............idm array N 习语
............v-gs array N 习语的变体
............sn-gs array N 习语的解释和例句
...............def array N 习语的解释
..................en string N 英文解释
..................cn string N 中文解释
...............x-gs array N 习语的例句
..................en string N 英文例句
..................cn string N 例句的中文翻译
..................pron-gs array N 例句的发音
.....................geo string N 用于说明是英式还是美式发音
.....................audio string N 例句音频
...dr-gs array N 派生词信息
......dr array N 派生词
......v-gs array N 派生词变体
......pos-g array N 派生词词性
......infl-g array N 派生词的变形
......pron-gs array N 派生词音标及发音
.........geo string N 用于说明是英式还是美式发音
.........phon string N 派生词的音标
.........audio string N 派生词的发音
......sn-gs array N 派生词的其他信息
.........gram-g string N 派生词的语法说明
.........xr-gs array N 习语的参见项
.........x-gs array N 派生词的例句
............cf array N 派生词在某个例句中的用法
............label-g array N 派生词的语体、地理、学科标识
............en string N 英文例句
............cn string N 例句的中文翻译
............pron-gs array N 例句的发音
...............geo string N 用于说明是英式还是美式发音
...............audio string N 例句音频
5.9 图灵自研词典

汉字(cn_char)

{
    "code": 200,
    "done": true,
    "globalId": "180826333274142001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1011,
            "parameters": {
                "result": {
                    "dictType": "turingown",
                    "info": {
                        "dict": "cn_char",
                        "info": [{
                                "wuXing": "木",
                                "hzLevel": "一级字",
                                "hzBuShou": "尔",
                                "easyWriteError": "左边是“亻”,不要写成“彳”。",
                                "duoYinQubie": "",
                                "clearPinyin": "ni",
                                "buShouCode": "5Lq7",
                                "jieShi": "①代词。称对方,也泛指任何人。
                                [你好,你们,你一言我一语,你追我赶]",
                                "jieShiMore": "详细字义

                                ◎ 你

                                妳 nǐ

                                〈代〉

                                (1) (形声。从人,尔声。本义:称说话的对方)

                                (2) 同本义 [you]

                                武平元年童谣曰:“狐截尾,你欲除我我除你。”——《隋书·五行志上》

                                (3) 又如:你咱(你);你懑(你们);你娘(骂人的话,相当于“你娘的”);你老(对尊长的敬称);你那(你老人家);你伫(您);你等(你们)

                                (4) 不明确指明的集团中的某一个体;任何一个;一般的一个 [one]。如:三个人你看看我,我看看你,谁也没说话

                                (5) 泛指任何一个人;无论什么人;无论哪一个人 [anyone,anybody]。如:他的才学叫你不得不佩服

                                (6) 每人;人人 [everybody,everyone]。如:你一言,我一语,谈得很热闹

                                ",
                                "bihua": 7,
                                "biShunGif": "https://filesnew.xhzapp.com/plugin/font/pic/11259cp25oa21nos.gif?sign=93702de665e84f01d179b035a6d9ad71&t=1666196169",
                                "fanTi": "你",
                                "zimiAnalyse": "",
                                "hzName": "你",
                                "easyReadError": "“你”是三声。",
                                "sort": 101,
                                "duoYinLiju": "",
                                "bsBiHua": 2,
                                "bushou": "亻",
                                "fanYiCi": "",
                                "shengDiao": 3,
                                "wuBi": "WQIY",
                                "pinyin": "nǐ",
                                "hzJieGou": "左右结构",
                                "zimiQuestion": "总有一日得相逢",
                                "zuCi": ["你不仁,我不义", "你乃", "天知地知,你知我知", "天知地知你知我知", "有你不多,无你不少", "你争我夺", "你死我活", "我喜欢你", "你贪我爱", "你死我生"],
                                "duYin": "https://turing.filesnew.xhzapp.com/plugin/font/audio/e240790a-8831-4f91-b046-2aef014277a5.mp3?sign=0f3453214e4322365133f3769f99b504&t=1666196169",
                                "biShun": "ノ丨ノ乛亅ノ丶",
                                "isDuoYin": 0,
                                "jinYiCi": "您",
                                "bwBihua": 5
                            }
                        ]
                    }
                },
                "content": "你"
            }
        }
    }
}

info 字段说明

参数 类型 是否必返 描述
dict String 词典查询的字的类型
wuXing String 五行
hzLevel String 汉字等级
hzBuShou String 去部首后字
easyWriteError String 易写错
duoYinQubie String 多音字区别
clearPinyin String 去声调拼音
buShouCode String 部首编码
jieShi String 解释
jieShiMore String 详细解释
bihua int 笔画
biShunGif String 汉字默认笔顺图片
fanTi String 繁体
zimiAnalyse String 字谜分析
hzName String
easyReadError String 易读错
duoYinLiju String 多音例句
bsBiHua int 部首笔画
bushou String 部首
fanYiCi String 反义词
wuBi String 五笔
pinyin String 拼音
hzJieGou String 汉字结构
zimiQuestion String 字谜问题
duYin String 读音,Mp3文件
biShun String 笔顺
isDuoYin String 是否是多音字1是0否
jinYiCi String 近义词
bwBihua int 除部首外笔画
sort int 高频排序
zuCi array 组词

词语(cn_word)

{
    "code": 200,
    "done": true,
    "globalId": "182103471353958001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1011,
            "parameters": {
                "result": {
                    "dictType": "turingown",
                    "info": {
                        "dict": "cn_word",
                        "info": [{
                                "sort": 301,
                                "ciYu": "山峰",
                                "pinYin": "shān fēng",
                                "fanYiCi": "山谷",
                                "clearPinyin": "shan feng",
                                "jieShi": "高而尖的山顶。
                                [萧乾《初冬过三峡》:“山峰有的作蝙蝠展翅状,有的如尖刀倒插。”]
                                ",
                                "jieShiMore": "",
                                "miaoHong": ["https://filesnew.xhzapp.com/plugin/font/pic/135775q5rzcezrtw.gif?sign=105609c9db6430296956ee7afee59148&t=1667473307", "https://filesnew.xhzapp.com/plugin/font/pic/4234lckj2n4hvby.gif?sign=e4fdedea1f194b7e5140a6b0a3ce3268&t=1667473308"],
                                "liJu": [{
                                        "sourceType": "1",
                                        "source": "统编版二年级上册-课文3-10、黄山奇石",
                                        "content": "在一座陡峭的山峰上,有一只“猴子”。"
                                    }, {
                                        "sourceType": "1",
                                        "source": "统编版二年级上册-课文3-10、黄山奇石",
                                        "content": "远远望去,那巨石真像一位仙人站在高高的山峰上,伸着手臂指向前方。"
                                    }, {
                                        "sourceType": "1",
                                        "source": "统编版二年级上册-课文3-10、黄山奇石",
                                        "content": "每当太阳升起,有座山峰上的几块巨石,就变成了一只金光闪闪的雄鸡。"
                                    }, {
                                        "sourceType": "1",
                                        "source": "统编版四年级下册-第八单元-23、“诺曼底号”遇难记",
                                        "content": "突然,沉沉夜雾中冒出一枚黑点,它好似一个幽灵,又仿佛一座山峰。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "清澈的湖面映着参差交叠的山峰。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "龙山山脉的主峰苏塞斯为南非最高的山峰。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "没有激流称不上前进,没有山峰称不上攀登。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "一座座山峰挺拔高峻,直插云端。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "峻直的山峰让人望而生畏。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "我们穿过莽草掩蔽的羊肠小径,登上山峰。"
                                    }
                                ],
                                "audio": "https://turing.filesnew.xhzapp.com/plugin/wordnew/audio/82522d75-44d2-4135-935e-67e3912fd896.mp3?sign=5a2be5c05d020bcae0b080e96088e868&t=1667473307",
                                "jinYiCi": "山顶,巅峰,山岳,山岭",
                                "isDuoYin": 0,
                                "partType": "",
                                "chuChu": ""
                            }
                        ]
                    }
                },
                "content": "山峰"
            }
        }
    }
}

info 字段说明

参数 类型 是否必须 描述
dict String 词典查询的词的类型
ciYu String 词语
partType String 词性
fanYiCi String 反义词
pinyin String 拼音
clearPinyin String 去声调拼音
jieShi String 解释
jieShiMore String 详细解释
audio String 读音链接
jinYiCi String 近义词
isDuoYin int 是否是多音字1是0否
chuChu String 出处
sort int 高频排序
miaoHong array 描红
liJu array 例句
source String 数据源
sourceType String 数据类型;1-教材;2-鲤鱼辅导
content String 例句内容

成语(cn_idiom)

{
    "code": 200,
    "done": true,
    "globalId": "182103860505958002",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1011,
            "parameters": {
                "result": {
                    "dictType": "turingown",
                    "info": {
                        "dict": "cn_idiom",
                        "info": [{
                                "pinYin": "qiān shān wàn shuǐ",
                                "chengYu": "千山万水",
                                "jieShi": "形容山水很多。比喻路途艰险、遥远。",
                                "jieLong": "千山万水@水泄不透@透骨酸心@心辣手狠@狠心辣手@手高眼低@低声下气@气吞牛斗@斗粟尺布@布衣韦带@带月披星@星移漏转@转湾抹角@角户分门@门当户对@对头冤家@家传户颂@颂德歌功@功成骨枯@枯形灰心@心如寒灰@灰心槁形@形格势禁@禁网疏阔@阔论高谈@谈天论地@地动山摧@摧枯振朽@朽木粪土@土龙刍狗@狗心狗行@行不由径@径行直遂@遂迷忘反@反朴归真@真心真意@意广才疏@疏财仗义@义重恩深@深知灼见@见幾而作@作言造语@语短情长@长江天堑@堑山堙谷@谷父蚕母@母难之日@日坐愁城@城北徐公@公正廉洁@洁身自好@好谋善断@断织劝学@学老于年@年事已高@高枕无忧@忧患余生@生死之交@交口赞誉@誉不绝口@口坠天花@花枝招展@展眼舒眉@眉头眼后@后来居上@上天入地@地狱变相@相安相受@受宠若惊@惊愕失色@色授魂与@与受同科@科第出身@身价百倍@倍日并行@行不贰过@过门不入@入室昇堂@堂皇富丽@丽藻春葩",
                                "jieShiMore": "千山万水,形容山水很多。比喻路途艰险、遥远。 唐 宋之问《至端州驿见杜审言沉佺期题壁慨然成咏》:“岂意南中岐路多,千山万水分乡县。” 元 王实甫 《西厢记》第四本第三折:“都则为一官半职,阻隔得千山万水。” 李瑛 《一片红云》诗:“历千山万水,你从哪里飞来?冒疾风骤雨,经受了怎样的劳顿?”亦作“ 千水万山 ”。\n \n
                                ",
                                "dianGu": "",
                                "liJu": [{
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "行军可走千山万水,保密莫越雷池一步。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "我已游遍千山万水,来到你的身边一世清白。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "待千山万水走过,终携伊人手。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "红军一路上跨越千山万水,历尽艰辛。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "知心朋友相隔千山万水,也似近在咫尺。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "千山万水都是你的模样,而我始终在路过。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "我生命中千山万水,任你一一告别,可长岛,你不告而别。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "纵使你的足迹踏遍天涯海角,走过千山万水,我将永远记住你。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "他经过千山万水,历尽艰难,终于回到日夜思念的故乡。"
                                    }, {
                                        "sourceType": "2",
                                        "source": "鲤鱼辅导",
                                        "content": "此去千山万水,经年累月。 只对你一个人说。"
                                    }
                                ],
                                "audio": "https://turing.filesnew.xhzapp.com/plugin/wordnew/audio/041810/38883mp330.mp3?sign=abe774e205bbe099bbadadfce094f396&t=1667473696",
                                "nianDai": "古代成语",
                                "yongFa": "可作谓语;形容路途的艰难。",
                                "bianXing": "山,不能写作“杉”。",
                                "zhengYin": "山,不能读作“sān”。",
                                "fanTi": "韆山萬水",
                                "sort": 2000,
                                "fanYiCi": "一马平川",
                                "zuiMiaoShu": "",
                                "lookPic": "",
                                "clearPinYin": "qian shan wan shui",
                                "bianXi": "",
                                "ganQingSeCai": "中性成语",
                                "miaoHong": ["https://filesnew.xhzapp.com/plugin/font/pic/123241ol2n1n4cwf.gif?sign=1586eaf92cef41d5a060d5acfc07e07a&t=1667473697", "https://filesnew.xhzapp.com/plugin/font/pic/135775q5rzcezrtw.gif?sign=105609c9db6430296956ee7afee59148&t=1667473307", "https://filesnew.xhzapp.com/plugin/font/pic/1094735iux3z3sme.gif?sign=42d2425a7933dda95891b381bc2276dd&t=1667473697", "https://filesnew.xhzapp.com/plugin/font/pic/14289v5akeb0murx.gif?sign=8af4bf14769a848da1dd1ff3cdb71451&t=1667473697"],
                                "jinYiCi": "千山万壑",
                                "changYong": "常用成语",
                                "chuChu": "唐 宋之问《至端州驿见杜审言沈佺期题壁慨然成咏》诗:“岂意南中歧路多,千山万水分乡县。”",
                                "jieGou": "联合式成语"
                            }
                        ]
                    }
                },
                "content": "千山万水"
            }
        }
    }
}

info 字段说明

参数 类型 是否必须 描述
dict String 词典查询的成语的类型
chengYu String 成语
jieShi String 解析
jieShiMore String 详细解析
jieLong String 接龙
pinYin String 拼音
dianGu String 典故
audio String 读音链接
nianDai String 年代
yongFa int 用法
bianXing String 辨形
zhengYin String 正音
fanTi String 繁体
fanYiCi String 反义词
zuiMiaoShu String 最描述
lookPic String 看图猜成语
clearPinYin String 去拼音
bianXi String 辨析
ganQingSeCai String 感情色彩
jinYiCi String 近义词
changYong String 常用
chuChu String 出处
jieGou String 结构
videoCover String 视频封面
video String 视频
sort int 高频排序
miaoHong array 描红
liJu array 例句
source String 数据源
sourceType String 数据类型;1-教材;2-鲤鱼辅导
content String 例句内容

人名(cn_word_person)

{
    "code": 200,
    "done": true,
    "globalId": "180309829634281001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1011,
            "parameters": {
                "result": {
                    "dictType": "turingown",
                    "info": {
                        "dict": "cn_word_person",
                        "info": [{
                                "image": "https://filesnew.xhzapp.com/plugin/shi/pic/libai.jpg?sign=b708a338f1948532af666413a6f7976e&t=1665679665",
                                "pinyin": "lǐ bái",
                                "name": "李白",
                                "years": "唐代",
                                "introduction": "李白(701年-762年),字太白,号青莲居士,唐朝浪漫主义诗人,被后人誉为“诗仙”。祖籍陇西成纪(待考),出生于西域碎叶城,4岁再随父迁至剑南道绵州。李白存世诗文千余篇,有《李太白集》传世。762年病逝,享年61岁。其墓在今安徽当涂,四川江油、湖北安陆有纪念馆。代表作有《静夜思》《望庐山瀑布》《赠汪伦》《望天门山》《早发白帝城》《夜宿山寺》《古朗月行》《独坐敬亭山》《黄鹤楼送孟浩然之广陵》等多首。"
                            }
                        ]
                    }
                },
                "content": "李白"
            }
        }
    }
}

info 字段说明

参数 类型 是否必须 描述
dict String 词典查询的人物的类型
pinyin String 拼音
image String 诗人图片
description int 描述
years String 年代
introduction String 介绍

古诗(cn_poem) 仅支持标题查询

{
    "code": 200,
    "done": true,
    "globalId": "180310185195958001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1011,
            "parameters": {
                "result": {
                    "dictType": "turingown",
                    "info": {
                        "dict": "cn_poem",
                        "info": [{
                                "orgTextDef": "床前明月光,疑是地上霜。\r\n举头望明月,低头思故乡。",
                                "author": "李白",
                                "id": 118,
                                "title": "静夜思",
                                "years": "唐代"
                            }, {
                                "orgTextDef": "举头见明月,万古月不老。\r\n月圆人亦圆,人月应同好。\r\n",
                                "author": "唐文凤",
                                "id": 529316,
                                "title": "静夜思",
                                "years": "明代"
                            }, {
                                "orgTextDef": "静夜思,一思肠百转。\r\n啼螀当户听不闻,明月在庭看不见。\r\n方将入海剸猛蛟,复欲度岭邀飞猱。\r\n胸中倏忽乱忧喜,得丧纷纷竟何是。\r\n静夜思,思无穷。\r\n天鸡一声海口红,满头白发吹秋风。",
                                "author": "刘基",
                                "id": 112818,
                                "title": "静夜思",
                                "years": "明代"
                            }, {
                                "orgTextDef": "天地同逆旅,春秋比流波。\n昨昔乐苦少,今兹忧复多。\n美人而离居,其如良夜何。\n良夜殊未央,怅言临中堂。\n丛兰泫零露,初月扬清光。\n我有枯桐琴,爰以托远心。\n哀弦徒激烈,愁绝无知音。\n太行岂不高,黄河岂不深。\n梦魂终不隔,万里还相寻。\n",
                                "author": "周是修",
                                "id": 112820,
                                "title": "静夜思",
                                "years": "明代"
                            }, {
                                "orgTextDef": "出门月色白如霜,静夜所思思断肠。\n有美人兮天一方,碧云迢迢河汉长。\n河汉长,不可越。\n但有一寸心,含情托明月。\n明月照人心不移,静夜所思谁得知。\n",
                                "author": "胡奎",
                                "id": 112821,
                                "title": "静夜思",
                                "years": "元代"
                            }, {
                                "orgTextDef": "秋月入我牖,秋风拂我床。\n不作风月客,笑傲飞羽觞。\n秋风拂我床,秋月入我牖。\n一室四海心,展转思量久。\n",
                                "author": "弘历",
                                "id": 112822,
                                "title": "静夜思",
                                "years": "清代"
                            }, {
                                "orgTextDef": "中夜起徘徊,天空月如洗。\n为忆闺中人,渺渺湘江水。\n",
                                "author": "郑惟广",
                                "id": 112823,
                                "title": "静夜思",
                                "years": "明代"
                            }, {
                                "orgTextDef": "静夜思,何时休,终宵展转听更筹。\r\n人生由来不满百,安得朝夕事隐忧。\r\n功名富贵倘来物,目前渺渺春云浮。\r\n甲第歌钟万户侯,五花骏马千金裘。\r\n春风秋月不相待,倏忽朱颜变白头。\r\n豪华一去难再得,壮气销沉土一丘。\r\n但令名节不堕地,身外区区安用求。\r\n静夜思,谁与谋。\r\n劝君高枕且熟睡,穷达由天不用愁。",
                                "author": "于谦",
                                "id": 512978,
                                "title": "静夜思",
                                "years": "明代"
                            }
                        ]
                    }
                },
                "content": "静夜思"
            }
        }
    }
}

info 字段说明

参数 类型 是否必须 描述
dict String 词典查询的古诗的类型
orgTextDef String 原文
author String 作者
id int 古诗id
title String 诗名
years String 年代
5.10 无词典类型
{
    "code": 200,
    "done": true,
    "globalId": "142648208233479001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1010,
            "parameters": {
                "result": {
                    "dict": "others",
                    "info": {
                        "translationAudio": "http://book-iot-cdn.turingos.cn/202105121944/7a2c7ab7d428e82787a3a02112399c59/dictV2/e3660089f2f6d03797921cd084f33b6d.mp3",
                        "translation": "Until the surgery",
                        "word": "直到手术中才将",
                        "wordAudio": "http://book-iot-cdn.turingos.cn/202108191517/57abd44c331295ca23d473791197af2a/dictV2/76251a626ed99724dda148d5cda2afc3.mp3",
                    }
                },
                "content": "直到手术中才将"
            }
        }
    }
}

info 字段说明

参数 类型 是否必返 描述
word String Y 待查词内容
translation String Y 翻译内容
translationAudio String Y 翻译音频
wordAudio String Y 查词内容音频
5.11 英文自然拼读

请求图灵词典

{
    "code": 200,
    "done": true,
    "globalId": "188758106726622001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1010,
            "parameters": {
                "result": {
                    "naturalSpell": {
                        "phoneticSymbol": "æpl",
                        "audio": "http://universe-file-limit.turingapi.com/202210281127/e67578db6c0a7503a8093f57d949976a/dict/73adf709315148cb89f1eb34816c5e61.mp3",
                        "phoneticLetters": [{
                                "phoneticSymbol": "'æ",
                                "letter": "a",
                                "phoneticSymbolAudio": "http://universe-file-limit.turingapi.com/202210281127/81406b6e01cd8e024e0b2ff06e8ba859/dict/29958271416d42d2aaf9dcc40dc8eedf.mp3"
                            }, {
                                "phoneticSymbol": "p",
                                "letter": "pp",
                                "phoneticSymbolAudio": "http://universe-file-limit.turingapi.com/202210281127/4ef8d667282c4f81bddf716b1d75490c/dict/ce2ed741b6ca4d7893743c5584019abe.mp3"
                            }, {
                                "phoneticSymbol": "l",
                                "letter": "le",
                                "phoneticSymbolAudio": "http://universe-file-limit.turingapi.com/202210281127/a701d3b3bc7934a5b1af28d82c5ed149/dict/9b640ace8e854bb7af4266d6592509fb.mp3"
                            }
                        ],
                        "word": "apple"
                    },
                    "oralTestState": 1100,
                    "dict": "en_word",
                    "dictType": "tuling",
                    "info": {
                        "phoneticEn": "ˈæpl",
                        "presentParticiple": "",
                        "phoneticUsAudio": "http://universe-file-limit.turingapi.com/202210281132/9e4a3a5a2ac92fadf809f0950163c010/dict/en_word_us/7a5e3ef8c8854ee69d3484e5832a1a7e.mp3",
                        "isCollect": false,
                        "verb": "",
                        "wordAudio": "http://book-iot-cdn.turingos.cn/202210281202/464bc3a0dacb2bfc003cafa41ba0cad4/dictV2/1f3870be274f6c49b3e31a0c6728957f.mp3",
                        "superlativeDegree": "",
                        "thirdSingular": "",
                        "adjective": "",
                        "examples": [{
                                "en": "Cut the apple in half.",
                                "cn": "把苹果切成两半。"
                            }, {
                                "en": "Have an apple of our own growth.",
                                "cn": "尝一尝我们自己种的苹果吧。"
                            }
                        ],
                        "phoneticUs": "ˈæpl",
                        "pastParticiple": "",
                        "explanations": [{
                                "pos": "n",
                                "meaning": "苹果"
                            }, {
                                "pos": "n",
                                "meaning": "形似苹果的果实"
                            }, {
                                "pos": "n",
                                "meaning": "炸弹;手榴弹;(棒球的)球"
                            }, {
                                "pos": "n",
                                "meaning": "人,家伙"
                            }
                        ],
                        "preterit": "",
                        "nounPlurals": "apples",
                        "word": "apple",
                        "comparativeDegree": "",
                        "phoneticEnAudio": "http://universe-file-limit.turingapi.com/202210281132/2f5c90de455884da706fa92957d4a7fa/dict/en_word_en/e3ef52091f9b4cedb4c33a21e8010075.mp3"
                    }
                },
                "content": "apple"
            }
        }
    }
}

请求牛津词典

{
    "code": 200,
    "done": true,
    "globalId": "188758659407622001",
    "message": "success",
    "nlpResponse": {
        "intent": {
            "code": 1000633,
            "operateState": 1011,
            "parameters": {
                "result": {
                    "naturalSpell": {
                        "phoneticSymbol": "æpl",
                        "audio": "http://universe-file-limit.turingapi.com/202210281127/e67578db6c0a7503a8093f57d949976a/dict/73adf709315148cb89f1eb34816c5e61.mp3",
                        "phoneticLetters": [{
                                "phoneticSymbol": "'æ",
                                "letter": "a",
                                "phoneticSymbolAudio": "http://universe-file-limit.turingapi.com/202210281127/81406b6e01cd8e024e0b2ff06e8ba859/dict/29958271416d42d2aaf9dcc40dc8eedf.mp3"
                            }, {
                                "phoneticSymbol": "p",
                                "letter": "pp",
                                "phoneticSymbolAudio": "http://universe-file-limit.turingapi.com/202210281127/4ef8d667282c4f81bddf716b1d75490c/dict/ce2ed741b6ca4d7893743c5584019abe.mp3"
                            }, {
                                "phoneticSymbol": "l",
                                "letter": "le",
                                "phoneticSymbolAudio": "http://universe-file-limit.turingapi.com/202210281127/a701d3b3bc7934a5b1af28d82c5ed149/dict/9b640ace8e854bb7af4266d6592509fb.mp3"
                            }
                        ],
                        "word": "apple"
                    },
                    "operation": "",
                    "oxfordVersion": 4,
                    "dictType": "niujin",
                    "info": [{
                            "pos-g": ["noun"],
                            "entry": [{
                                    "pos-g": "noun",
                                    "idm-gs": [{
                                            "idm-g": {
                                                "idm": ["the apple doesn’t fall/never falls far from the ˈtree"],
                                                "sn-gs": [{
                                                        "sn-g": [{
                                                                "def": [{
                                                                        "en": "a child usually behaves in a similar way to his or her parent(s)",
                                                                        "cn": "有什么样的父母就有什么样的儿女;上行下效"
                                                                    }
                                                                ],
                                                                "label-g": ["saying, especially NAmE"]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        }, {
                                            "idm-g": {
                                                "idm": ["the ˌapple of sb’s ˈeye"],
                                                "sn-gs": [{
                                                        "sn-g": [{
                                                                "def": [{
                                                                        "en": "a person or thing that is loved more than any other",
                                                                        "cn": "心肝宝贝;掌上明珠"
                                                                    }
                                                                ],
                                                                "x-gs": [{
                                                                        "en": "She is the apple of her father’s eye.",
                                                                        "pron-gs": [{
                                                                                "geo": "br",
                                                                                "audioUrl": "http://book-iot-cdn.turingos.cn/202210281211/89944f707b5d484413e4f4bc68b00f75/dict/niujin/niujin_data/Sentenceaudio/A/_apple%23_gbs_1.mp3",
                                                                                "audio": "_apple#_gbs_1"
                                                                            }, {
                                                                                "geo": "n_am",
                                                                                "audioUrl": "http://book-iot-cdn.turingos.cn/202210281211/1f65594254a6d0d995fa249d289d1c01/dict/niujin/niujin_data/Sentenceaudio/A/_apple%23_uss_1.mp3",
                                                                                "audio": "_apple#_uss_1"
                                                                            }
                                                                        ]
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        }, {
                                            "idm-g": {
                                                "idm": ["ˌapples and ˈoranges"],
                                                "sn-gs": [{
                                                        "sn-g": [{
                                                                "def": [{
                                                                        "en": "used to describe a situation in which two people or things are completely different from each other",
                                                                        "cn": "苹果橘子两码事;截然不同"
                                                                    }
                                                                ],
                                                                "label-g": ["especially NAmE"],
                                                                "x-gs": [{
                                                                        "en": "They really are apples and oranges.",
                                                                        "pron-gs": [{
                                                                                "geo": "br",
                                                                                "audioUrl": "http://book-iot-cdn.turingos.cn/202210281211/6b10641c7b9ed755472068b0b7bbeb90/dict/niujin/niujin_data/Sentenceaudio/A/_apple%23_brs_2.mp3",
                                                                                "audio": "_apple#_brs_2"
                                                                            }, {
                                                                                "geo": "n_am",
                                                                                "audioUrl": "http://book-iot-cdn.turingos.cn/202210281211/764121341c85105abf06658752e1ec02/dict/niujin/niujin_data/Sentenceaudio/A/_apple%23_uss_2.mp3",
                                                                                "audio": "_apple#_uss_2"
                                                                            }
                                                                        ],
                                                                        "cn": "他们确实是迥然不同。"
                                                                    }, {
                                                                        "en": "They are both great but you can’t compare apples and oranges.",
                                                                        "pron-gs": [{
                                                                                "geo": "br",
                                                                                "audioUrl": "http://book-iot-cdn.turingos.cn/202210281211/5fa96d9cd7060c7950b7712d7c527a69/dict/niujin/niujin_data/Sentenceaudio/A/_apple%23_gbs_2.mp3",
                                                                                "audio": "_apple#_gbs_2"
                                                                            }, {
                                                                                "geo": "n_am",
                                                                                "audioUrl": "http://book-iot-cdn.turingos.cn/202210281211/fa97f40dbe747d6c9e99c90598cd474e/dict/niujin/niujin_data/Sentenceaudio/A/_apple%23_ams_2.mp3",
                                                                                "audio": "_apple#_ams_2"
                                                                            }
                                                                        ],
                                                                        "cn": "他们俩都很棒,但是截然不同,无法比较。"
                                                                    }, {
                                                                        "en": "It’s a totally different situation, it’s apples and oranges."
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        }, {
                                            "xr-gs": ["-> more at American, rotten"]
                                        }
                                    ],
                                    "sn-gs": [{
                                            "sn-g": [{
                                                    "xr-gs": ["SEE ALSO Adam’s apple, Big Apple, cooking apple, crab apple, eating apple, toffee apple"],
                                                    "def": [{
                                                            "en": "a round fruit with shiny red or green skin and firm white flesh",
                                                            "cn": "苹果"
                                                        }
                                                    ],
                                                    "x-gs": [{
                                                            "en": "Peel and core the apples.",
                                                            "cn": "将这些苹果削皮、去核儿。"
                                                        }, {
                                                            "en": "an apple pie",
                                                            "cn": "苹果馅饼"
                                                        }, {
                                                            "en": "apple sauce",
                                                            "cn": "苹果沙司"
                                                        }, {
                                                            "en": "a garden with three apple trees",
                                                            "cn": "有三棵苹果树的花园"
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ],
                            "h": ["apple"],
                            "pron-gs": [{
                                    "geo": "英",
                                    "audioUrl": "http://book-iot-cdn.turingos.cn/202210281211/38fc9cb31e8cf5afa6ba4a7cd4ff392c/dict/niujin/niujin_data/Headwordaudio/A/apple%23_gb_1.mp3",
                                    "phon": "ˈæpl",
                                    "audio": "apple#_gb_1"
                                }, {
                                    "geo": "美",
                                    "audioUrl": "http://book-iot-cdn.turingos.cn/202210281211/537a00b09a4367c45602a2751b85e92a/dict/niujin/niujin_data/Headwordaudio/A/apple%23_us_1.mp3",
                                    "phon": "ˈæpl",
                                    "audio": "apple#_us_1"
                                }
                            ],
                            "Ox-aw": ["ox3000"],
                            "infl-g": ["apple", "apples"]
                        }
                    ]
                },
                "content": "apple"
            }
        }
    }
}

naturalSpell 字段说明

参数 类型 是否必返 描述
phoneticSymbol String N 单词音标
audio String N 单词音频
phoneticLetters array N 单词拆分详情
word String N 单词

phoneticLetters 字段说明

参数 类型 是否必返 描述
phoneticSymbol String N 字母音标
audio String N 音标音频
phoneticLetters String N 单词拆分后的字母

查词功能说明:

1.初始化请求查词技能时,当intent-code字段返回1000633,为查词结果;若intent-code为其他值,则未进入查词技能。建议设备端只展示查词结果;

2.设备端可通过云端返回的result-dicit字段判断词典类型,当dict字段返回为others时,为无查词结果,云端会将查词内容进行整句翻译,并将翻译结果返回给设备端;

6.Code码说明

code 说明
200 正确结果返回
210 参数初始化成功,请收到该标识后上传二进制数据(如果需要)
220 参数上传完成,正在请求nlp/tts
240 输入参数为空,nlp/tts不处理
4004 机器人类型非法
4005 apikey信息错误
4006 deviceId信息错误
4007 解密失败,您的加密逻辑存在异常
4008 数据内容格式错误
4009 机器人被禁用
4010 试用期已过
4011 系统不支持二进制参数
4012 今天我们已经聊了很多啦,明天再来找我聊天吧。
4013 这一小时的对话次数已经超过我的极限啦,让我休息一下,待会再聊
4014 这一分钟里我们已经聊了很多啦,休息,休息一下吧
4016 单次交互时间过长,请查看文档!
4023 单次交互同类型的二进制参数只允许输入一个
4025 上传数据失败,请稍后~
4026 nlp/tts请求内容过长
4027 请求类型不能为空
4031 uri不支持
4032 请求时间戳偏与服务器时间偏差太大,message为服务器时间戳
4100 服务正在升级 请稍后再试
4101 请求没有正确初始化!
4102 长时间未请求业务,关闭连接
4200 robot信息异常