向端点发送带有可选的words参数的GET请求,以检索指定术语的定义、同义词、反义词、翻译和示例
词数据提取 - 端点功能
| 对象 | 描述 |
|---|---|
words |
[必需] |
{"searchWord":"iron","result":{"UK Dictionary":{"partOfSpeech":"noun","pronounce":{"uk":{"audioList":["https://dictionary.cambridge.org/media/english/uk_pron/u/uki/ukiri/ukiridi009.mp3","https://dictionary.cambridge.org/media/english/uk_pron_ogg/u/uki/ukiri/ukiridi009.ogg"],"pron":"/aɪən/"},"us":{"audioList":["https://dictionary.cambridge.org/media/english/us_pron/i/iro/iron_/iron.mp3","https://dictionary.cambridge.org/media/english/us_pron_ogg/i/iro/iron_/iron.ogg"],"pron":"/aɪrn/"}},"details":[{"defintion":"a chemical element that is a common greyish-coloured metal. It is strong, used in making steel, and exists in very small amounts in blood:","example":["Iron rusts easily.","Liver is a particularly rich source of dietary iron.","iron ore","an iron deficiency"]},{"defintion":"a piece of equipment for making clothes flat and smooth that has a handle and a flat base and is usually heated with electricity:","example":["a steam iron","a travel iron"]},{"defintion":"a stick that has an iron or steel part at the end that is used to hit the ball in golf:","example":["He'll probably use a 2 or 3 iron for the shot."]},{"defintion":"chains tied around someone to prevent them from escaping or moving:","example":["It was common practice for the prisoners to be clapped in irons (= tied with chains)."]},{"defintion":"to make clothes flat and smooth using an iron:","example":["It takes about five minutes to iron a shirt properly.","Synonym\npress"]},{"defintion":"very strong physically, mentally, or emotionally:","example":["I think you have to have an iron will to make some of these decisions."]}]},"American Dictionary":{"partOfSpeech":"noun","pronounce":{"us":{"audioList":["https://dictionary.cambridge.org/media/english/us_pron/i/iro/iron_/iron.mp3","https://dictionary.cambridge.org/media/english/us_pron_ogg/i/iro/iron_/iron.ogg"],"pron":"/ˈɑɪ·ərn/"}},"details":[{"defintion":"a common, silver-colored, metal element that is magnetic and strong, is used in making steel, and is found in small amounts in blood and in all living things:","example":["Iron rusts easily.","Liver is a rich source of dietary iron."]},{"defintion":"a device with a handle and a flat metal base that can be heated and pressed against cloth to make the cloth smooth"},{"defintion":"to make cloth smooth using an iron:","example":["I have to iron this skirt.","[ M ] Let me iron out the wrinkles in this tablecloth."]},{"defintion":"made of or containing iron:","example":["iron ore","an iron railing along the steps","fig. Her success depended on physical strength and an iron will (= strong determination)."]}]},"Business English":{"partOfSpeech":"noun","pronounce":{"uk":{"audioList":["https://dictionary.cambridge.org/media/english/uk_pron/u/uki/ukiri/ukiridi009.mp3","https://dictionary.cambridge.org/media/english/uk_pron_ogg/u/uki/ukiri/ukiridi009.ogg"],"pron":"/aɪən/"},"us":{"audioList":["https://dictionary.cambridge.org/media/english/us_pron/i/iro/iron_/iron.mp3","https://dictionary.cambridge.org/media/english/us_pron_ogg/i/iro/iron_/iron.ogg"]}},"details":[{"defintion":"a common metal element used in making steel:","example":["Heavy industries, like iron and steel, can take advantage of the government's increased public-works spending."]}]}}}
curl --location --request GET 'https://zylalabs.com/api/5538/word+sense+api/7179/word+data+fetch?words=iron' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
Word Sense API提供对来自剑桥词典的单词定义 同义词 反义词 翻译和用例的访问
该API非常适合教育工具、语言学习应用程序和研究平台,使教育工作者、学生和开发者受益
通过提供精确和结构化的语言数据 API帮助用户建立词汇理解上下文和改善翻译工作
是的该API经过优化以提高效率快速响应以增强用户在写作助手和语言处理工具等应用中的体验
用户可以期待准确的定义、多种同义词和反义词、上下文使用示例以及可靠的翻译
Word Sense API 返回全面的语言数据,包括来自剑桥词典的指定单词的定义,同义词,反义词,翻译和用法示例
响应中的关键字段包括“searchWord”“partOfSpeech”“pronounce”(带音频链接)“details”(包含定义和示例)以及“UK Dictionary”或“US Dictionary”部分用于地区变体
响应数据采用JSON格式结构主词为键嵌套对象用于定义发音和示例便于在应用中解析和使用
该端点提供了定义、同义词、反义词、翻译和上下文使用示例,使其成为理解词义和应用的综合资源
用户可以通过在GET请求中指定“words”参数来自定义请求,以检索特定术语的数据,从而根据用户需求进行定向查询
典型的使用案例包括增强语言学习应用程序 开发写作助手 创建教育工具和进行语言研究 所有这些都得益于丰富的词汇数据
通过从著名的剑桥词典获取数据,确保定义和例子对用户来说是可靠和最新的,从而保持数据的准确性
用户可以通过将返回的数据集成到应用程序中来利用这些数据,以进行词汇构建、基于上下文的学习和语言翻译,利用结构化信息提升用户体验
服务级别:
100%
响应时间:
1,142ms
服务级别:
100%
响应时间:
883ms
服务级别:
100%
响应时间:
2,995ms
服务级别:
100%
响应时间:
422ms
服务级别:
100%
响应时间:
12,826ms
服务级别:
100%
响应时间:
119ms
服务级别:
100%
响应时间:
1,255ms
服务级别:
100%
响应时间:
13,217ms
服务级别:
100%
响应时间:
2,333ms
服务级别:
100%
响应时间:
13,217ms
服务级别:
100%
响应时间:
1,905ms
服务级别:
100%
响应时间:
2,921ms
服务级别:
100%
响应时间:
1,563ms
服务级别:
100%
响应时间:
7,433ms
服务级别:
100%
响应时间:
1,249ms
服务级别:
100%
响应时间:
1,148ms
服务级别:
100%
响应时间:
953ms
服务级别:
100%
响应时间:
1,827ms
服务级别:
100%
响应时间:
255ms
服务级别:
100%
响应时间:
2,001ms