expressions.yml 格式规范
用于AI生成expressions.yml文件的标准格式
AI Prompt
# expressions.yml Examples格式规范
## 支持的类型
### 1. sentence(普通句子)
```yaml
examples:
- japanese: '太郎{たろう}さん,こんにちは。'
chinese: '太郎,你好。'
type: sentence
```
### 2. dialogue(对话)
```yaml
examples:
- type: dialogue
conversation:
- speaker: 甲
japanese: 'あなたは小野{おの}さんですか。'
chinese: '你是小野女士吗?'
- speaker: 乙
japanese: 'はい,小野{おの}です。'
chinese: '是的,我是小野。'
```
### 3. question-answers(问答)
```yaml
examples:
- type: question-answers
question:
japanese: '森{もり}さんは学生{がくせい}ですか。'
chinese: '森先生是学生吗?'
answers:
- type: 肯定回答
japanese: 'はい,そうです。'
chinese: '是的,是这样。'
- type: 否定回答
japanese: 'いいえ,ちがいます。'
chinese: '不,不是的。'
```
## 格式要求
1. 只能使用:sentence、dialogue、question-answers
2. 所有字符串必须用单引号包围
3. 缩进使用2个空格
4. 列表项以 "- " 开头
5. 日语注音保持 {假名} 格式
## 禁止使用
- type: question
- type: answer
- type: statement
- type: example
严格按照以上规范生成examples部分。
使用说明
点击上方复制按钮获取完整AI prompt,用于指导AI生成符合规范的expressions.yml文件。