An open API service indexing awesome lists of open source software.

https://github.com/s045pd/showpronunciationextension

文本发音翻译插件,可在文本上展示其读音🔧写给爱学习的你(开发进行中)
https://github.com/s045pd/showpronunciationextension

accent americanaccent britishaccent hangul japanese language mandrain

Last synced: over 1 year ago
JSON representation

文本发音翻译插件,可在文本上展示其读音🔧写给爱学习的你(开发进行中)

Awesome Lists containing this project

README

          


多语言发音助手(测试中)


一个Chrome浏览器扩展程序,为多种语言提供发音指导,包括英语、中文、日语和韩语。






> Our Goal:make you sound like a native, even further.

https://github.com/user-attachments/assets/914fe328-d2ea-4d25-9c50-c2b300b0aec1

## 功能

### 多语言支持
- 英语
- 英式发音 🇬🇧
- 美式发音 🇺🇸
- ~~中文~~ 🇨🇳
- ~~日语~~ 🇯🇵
- ~~韩语~~ 🇰🇷

### 文本处理
- 可处理整个页面或选中文本
- Alt+鼠标悬停整段展示发音
- 读音标记(音长、是否重读)

## 安装方法

> 暂未发布到Chrome商店,请手动安装

1. 克隆此仓库或下载ZIP文件
2. 打开Chrome浏览器,访问 `chrome://extensions/`
3. 在右上角启用"开发者模式"
4. 点击"加载已解压的扩展程序"并选择扩展程序目录

## 使用方法

1. 点击Chrome工具栏中的扩展程序图标
2. 选择要启用的语言
3. 点击"添加发音提示"处理当前页面
4. 或者选择任意文本查看其发音

## 项目结构

```bash
.github/ # GitHub Actions配置
├── workflows/ # 工作流配置
├── scripts/ # 自动脚本目录
extension/ # 扩展程序主目录
├── content/ # 内容脚本
├── data/ # 处理后的发音数据
├── icons/ # 扩展图标
├── manifest.json # 扩展配置文件
└── popup/ # 弹出窗口相关文件
raw/ # 原始数据目录
├── interim/ # 中间处理数据
├── processed/ # 最终处理数据
└── raw/ # 原始语料数据
scripts/ # 工具脚本
├── gather/ # 数据收集脚本
├── generate_icons.js # 图标生成脚本
└── updater.py # 更新脚本
tests/ # 测试目录
├── extension/ # 扩展测试
└── scripts/ # 脚本测试

```

### 数据来源

#### 英语发音数据

| 数据来源 | 说明 |
|----------|--------|
| [莱比锡语料库集合](https://wortschatz.uni-leipzig.de/en/download/English) | 英语新闻语料库(2012) |
| [Cambridge Dictionary](https://dictionary.cambridge.org/) | 英式英语词典 |
| [Merriam-Webster](https://www.merriam-webster.com/) | 美式英语词典 |

#### 中文数据

| 数据来源 |类型 |说明 |
|----------|--------|----|
| [VoiceDic](https://md.voicedic.com/) |API| 发音查询接口 |
| [zh.voicedic.com](https://zh.voicedic.com/) |API| 方言查询接口 |
| [汉典](https://www.zdic.net/) | API|汉字-拼音对照表 |
| [国家语委语料库](http://corpus.zhonghuayuwen.org/) | API|现代汉语语料库 |
| [chinese_pinyin](https://github.com/flyerhzm/chinese_pinyin/blob/master/data/pinyin-utf8.date) | 文件|汉字-拼音对照表 |
| [chinese-xinhua](https://raw.githubusercontent.com/pwxcoo/chinese-xinhua/refs/heads/master/data/ci.csv) | 文件|成语-拼音对照表 |

#### 日语数据

| 数据来源 | 说明 |
|----------|--------|

#### 韩语数据

| 数据来源 | 说明 |
|----------|--------|

### TODO

- 提交issues自动词库填充
- 语言补充
- 功能优化
- 发布到Chrome商店