幫助使用者練習英文翻譯
有很多道題目 (Quizs),每道題目都有
- 題目(英文句子)
- 正確答案(翻譯好的譯文)
- 使用者答案
使用者輸入完答案時,程式會與正確答案做比對,並顯示出來哪裡不一樣。
來自 Ted 的 talk,裡面有很多翻譯好的文章,並使用 Ted-subtitle-merge parse Ted 文章,接著合併中英文字幕。
- Diff 是使用 google-diff-match-patch,有人 proting 到 iOS Objective-C 上。
| Article | datatype |
|---|---|
| identifier | int |
| title | string |
| url | string |
| quizs | array(Quiz) |
| Quiz | datatype | note |
|---|---|---|
| question | string | english sentence |
| answer | string | chinese sentence |
| userAnswer | string | |
| diffWords | array(DiffWord) |
| DiffWord | datatype |
|---|---|
| operation | int (Equal/Insert/Delete) |
| text | string |
| Note | datatype |
|---|---|
| text | string |
顯示文章列表,分成已作答和未作答
- 顯示 note 數量
- x/y x:目前做的題數 y:總題數
- 顯示 note 數量
- 顯示 word 數量
- 要可以看歷史紀錄 複習
- 自己打分數 看有幾句翻不好