闲社服务运行正常AI智能体自动化平台
e

英文字典查询

技能标识:english-dict

English dictionary lookup tool. Query English words to get Chinese definitions and generate two example sentences. Use when user needs to look up English word meanings, get translations, or see example sentences for vocabulary learning.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.2
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

英文字典查询

英语词典 (English Dictionary)

查询英语单词的中文释义,并自动生成两个例句。

功能

  • - 🔍 查询英语单词释义
  • 📝 输出中文翻译
  • 💬 自动生成两个例句
  • 🔊 显示音标和词性

使用方式

命令行查询

bash
python3 scripts/dict.py <单词>

示例:
bash
python3 scripts/dict.py hello
python3 scripts/dict.py python
python3 scripts/dict.py beautiful

输出格式

📚 HELLO
音标: /həˈloʊ/
词性: int./n.

📖 中文释义:
1. 你好
2. 喂
3. 打招呼

💬 例句:
1. Hello! Its so great to see you again!
(中文翻译请自行理解或查询)
2. Hello, could you help me with this?
(中文翻译请自行理解或查询)

内置词库

当前包含以下基础词汇:

  • - hello, world, python, openclaw
  • love, friend, work, study
  • happy, beautiful

扩展配置

如需查询更多单词,建议配置外部词典API:

有道词典 API

python

在 dict.py 中添加

import requests

def youdao_lookup(word):
url = fhttps://dict.youdao.com/jsonresult?q={word}
response = requests.get(url)
return response.json()

牛津词典 API

需要在 https://developer.oxforddictionaries.com/ 申请 API Key

自定义词库

编辑脚本中的 BASIC_DICT 字典,添加新单词:

python
BASIC_DICT = {
yourword: {
phonetic: /pronunciation/,
meanings: [意思1, 意思2],
pos: 词性
}
}

例句生成

脚本根据词性自动选择合适的例句模板:

  • - 名词 (n.) → 描述事物
  • 动词 (v.) → 描述动作
  • 形容词 (adj.) → 描述特征
  • 副词 (adv.) → 描述方式

注意事项

  1. 1. 当前使用内置基础词库,词汇量有限
  2. 建议配置外部词典API以获取更全面的释义
  3. 例句由模板生成,实际使用时应参考权威例句

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 english-dict-1776283756 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 english-dict-1776283756 技能

通过命令行安装

skillhub install english-dict-1776283756

下载

⬇ 下载 english-dict v1.0.2(免费)

文件大小: 4.63 KB | 发布时间: 2026-4-16 15:48

v1.0.2 最新 2026-4-16 15:48
- Added _meta.json file for metadata management.
- No changes to functionality or documentation content.
返回顶部