|
1 | 1 | <div align="center"> |
2 | 2 |
|
3 | | -# 🌸 Japanese Verb Master (日语动词活用专家) |
| 3 | +# 🌸 Japanese Verb Master(日语动词活用专家) |
4 | 4 |
|
5 | 5 | [](https://vuejs.org/) |
6 | 6 | [](https://expressjs.com/) |
7 | 7 | [](https://opensource.org/licenses/MIT) |
8 | 8 | [](http://makeapullrequest.com) |
9 | 9 |
|
10 | | -**The ultimate, precise Japanese verb conjugation tool and API.** |
11 | | -<br> |
12 | 10 | **一个精准、优雅的日语动词活用在线工具与 RESTful API。** |
13 | 11 |
|
14 | | -[English](#english) • [简体中文](#简体中文) |
| 12 | +[English](./README_EN.md) | [日本語](./README_JA.md) |
15 | 13 |
|
16 | 14 | </div> |
17 | 15 |
|
18 | 16 | --- |
19 | 17 |
|
20 | | -<h2 id="english">🇬🇧 English</h2> |
21 | | - |
22 | | -### ✨ Features |
23 | | - |
24 | | -- 🎯 **High Accuracy**: Precise conjugation rules for Godan, Ichidan, and Irregular verbs. |
25 | | -- ⚡ **Real-time**: Instant results powered by a modern Vue 3 frontend. |
26 | | -- 📚 **Comprehensive**: Covers 10+ forms including Te-form, Ta-form, Passive, Causative, Potential, and more. |
27 | | -- 🔌 **REST API**: Built-in Express backend providing clean JSON APIs for other developers to build upon. |
28 | | -- 📱 **Responsive Design**: Works perfectly on mobile and desktop. |
29 | | - |
30 | | -### 🚀 Quick Start |
31 | | - |
32 | | -#### 1. Clone the repository |
33 | | -```bash |
34 | | -git clone https://github.com/yuaiccc/japanese-verb-master.git |
35 | | -cd japanese-verb-master |
36 | | -``` |
37 | | - |
38 | | -#### 2. Start the Backend API |
39 | | -```bash |
40 | | -cd backend |
41 | | -npm install |
42 | | -npm run dev # Runs on port 3000 |
43 | | -``` |
44 | | - |
45 | | -#### 3. Start the Frontend |
46 | | -```bash |
47 | | -cd frontend |
48 | | -npm install |
49 | | -npm run dev # Runs on port 5173 |
50 | | -``` |
51 | | - |
52 | | -### 📖 API Reference |
53 | | - |
54 | | -You can easily use our conjugation engine in your own apps! |
55 | | - |
56 | | -**Endpoint:** `GET /api/conjugate` |
57 | | - |
58 | | -```bash |
59 | | -curl "http://localhost:3000/api/conjugate?verb=飲む&type=GODAN" |
60 | | -``` |
61 | | - |
62 | | -**Response:** |
63 | | -```json |
64 | | -{ |
65 | | - "dictionaryForm": "飲む", |
66 | | - "verbType": "GODAN", |
67 | | - "negative": "飲まない", |
68 | | - "polite": "飲みます", |
69 | | - "teForm": "飲んで", |
70 | | - "taForm": "飲んだ", |
71 | | - "potential": "飲める", |
72 | | - "passive": "飲まれる", |
73 | | - "causative": "飲ませる", |
74 | | - "imperative": "飲め", |
75 | | - "volitional": "飲もう" |
76 | | -} |
77 | | -``` |
78 | | - |
79 | | ---- |
80 | | - |
81 | | -<h2 id="简体中文">🇨🇳 简体中文</h2> |
82 | | - |
83 | 18 | ### ✨ 项目特色 |
84 | 19 |
|
85 | 20 | - 🎯 **极高准确率**:完美支持五段动词、一段动词及各类不规则动词(サ变、カ变)的变形规则。 |
86 | 21 | - ⚡ **极致响应**:基于 Vue 3 + Vite 构建的前端,提供丝滑的实时交互体验。 |
87 | 22 | - 📚 **全面覆盖**:一键生成 10+ 种常用活用形式(包含て形、た形、被动、使役、可能形等)。 |
| 23 | +- 🤖 **AI 深度解析**:集成 Ollama 本地模型,自动校对变形结果并生成实用例句。 |
88 | 24 | - 🔌 **开箱即用的 API**:提供轻量级的 Express RESTful API,方便其他开发者接入自己的应用。 |
89 | 25 | - 📱 **响应式设计**:无论是手机背单词还是电脑查资料,都有完美的视觉体验。 |
90 | 26 |
|
@@ -145,17 +81,16 @@ curl "http://localhost:3000/api/conjugate?verb=食べる&type=ICHIDAN" |
145 | 81 | 3. **サ变动词 (Group 3)**:词尾为 する(例:勉強する) |
146 | 82 | 4. **カ变动词 (Group 3)**:来る |
147 | 83 |
|
148 | | -## 🤝 参与贡献 (Contributing) |
| 84 | +### 🤝 参与贡献 |
149 | 85 |
|
150 | 86 | 非常欢迎提交 Issue 和 Pull Request!如果你发现了任何动词变形的 Edge Case,或者想添加新的特性(如敬语/谦让语生成),请随时参与进来! |
151 | 87 | 详细指南请参考 [CONTRIBUTING.md](CONTRIBUTING.md)。 |
152 | 88 |
|
153 | | -## 📄 开源协议 |
| 89 | +### 📄 开源协议 |
154 | 90 |
|
155 | 91 | 本项目基于 **MIT License** 开源。欢迎自由使用、修改和分发。 |
156 | 92 |
|
157 | 93 | --- |
158 | 94 | <div align="center"> |
159 | | -If you find this tool helpful, please give it a ⭐️! <br> |
160 | 95 | 如果这个工具对你有帮助,请给它点个 ⭐️ 吧! |
161 | 96 | </div> |
0 commit comments