diff --git a/README.md b/README.md index aa0a883..0ee6672 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ This addon looks up words in local dictionary or web dictionary and pasting the explanations to anki. It forks from WordQuery, added **multi-thread feature**, and some other features. - - See [WordQuery](https://github.com/finalion/WordQuery) Addon Project. - Querying Words and Making Cards, IMMEDIATELY! - Support querying in mdx and stardict dictionaries. - Support querying in web dictionaries. @@ -19,43 +18,27 @@ It forks from WordQuery, added **multi-thread feature**, and some other features ## Install -1. Place src folder of this repository to anki addon folder. - + 1. Place src folder of this repository to anki addon folder. **OR** - -2. Use the installation code: 1807206748 + 2. Use the installation code: **1807206748** ## Setting ### Shortcut - - 1. Click Menu **"Tools -> Add-ons -> FastWQ -> Edit..."** - - ![](screenshots/setting_menu.png) - - 2. Edit the code and click **Save** - - ```python - # shortcut - shortcut = 'Ctrl+Q' - ``` - - ![](screenshots/setting_shortcut.png) - + 1. Click Menu **"Tools -> Add-ons -> FastWQ -> Edit..."** + ![](screenshots/setting_menu.png) + 2. Edit the code and click **Save** + ![](screenshots/setting_shortcut.png) ### Config + 1. In Browser window click menu **"FastWQ -> Options"** + ![](screenshots/setting_config_01.png) - 1. In Browser window click menu **"FastWQ -> Options"** - - ![](screenshots/setting_config_01.png) - - 2. Click **Settings** button in the Options window - - ![](screenshots/setting_config_02.png) - - - **Force Update** : Update all fields even if it's None - - **Thread** : The number of threads running at the same time + 2. Click **Settings** button in the Options window + ![](screenshots/setting_config_02.png) + - **Force Update** : Update all fields even if it's None + - **Thread** : The number of threads running at the same time ## Usage @@ -63,42 +46,26 @@ It forks from WordQuery, added **multi-thread feature**, and some other features ### Set the query fields 1. Click menu **"Tools -> FastWQ"**, or in Browser window click menu **"FastWQ -> Options"** - - 2. Select note type - - ![](screenshots/options_01.png) - - 3. Select Dictionary - - ![](screenshots/options_02.png) - - 4. Select Fields - - ![](screenshots/options_03.png) - - 5. Click **OK** button - + 2. Select note type + ![](screenshots/options_01.png) + 3. Select Dictionary + ![](screenshots/options_02.png) + 4. Select Fields + ![](screenshots/options_03.png) + 5. Click **OK** button ### 'Browser' Window - - 1. Select single or multiple words, click menu **"FastWQ -> Query Selected"** or press shortcut Default is **Ctrl+Q**. - - ![](screenshots/options_04.png) - - 2. Waiting query finished - - ![](screenshots/use_01.png) - + 1. Select single or multiple words, click menu **"FastWQ -> Query Selected"** or press shortcut Default is **Ctrl+Q**. + ![](screenshots/options_04.png) + 2. Waiting query finished + ![](screenshots/use_01.png) ### 'Add' Window + 1. Click Add button in Browser window, open Add window + ![](screenshots/use_02.png) + 2. Edit key field and click Query button + ![](screenshots/use_03.png) - 1. Click Add button in Browser window, open Add window - - ![](screenshots/use_02.png) - - 2. Edit key field and click Query button - - ![](screenshots/use_03.png) ## Other Projects Used - [mdict-query](https://github.com/mmjang/mdict-query) diff --git a/docs/services.md b/docs/services.md index 799756f..7b7458a 100644 --- a/docs/services.md +++ b/docs/services.md @@ -1,27 +1,29 @@ # Dictionary Service For FastWQ ## Local - - - **MdxService**, .mdx dict file, it's only has default field. - - **StardictService**, .ifo dict file, it's only has default field. - - **MDX-LDOCE6**, local LDOCE6 mdx file, it's has some fileds. +| # | Dictionary Name | Describe | +| ---| :--- | :--- | +| 1 | MdxService | .mdx dict file, it's only has default field. | +| 2 | StardictService | .ifo dict file, it's only has default field. | +| 3 | MDX-LDOCE6 | local LDOCE6 mdx file, it's has some fileds. | ## Web - - - **Baicizhan**, http://mall.baicizhan.com/ws/search?w=word - - **Bing**, http://cn.bing.com/dict/search?q=word&mkt=zh-cn - - **Bing xtk**, http://xtk.azurewebsites.net/BingDictService.aspx?Word=word - - **西语助手**, https://www.esdict.cn/mdicts/es/word - - **法语助手**, https://frdic.com/mdicts/fr/ - - **爱词霸**, http://www.iciba.com/index.php?a=getWordMean&c=search&word=word - - **朗文**, https://www.ldoceonline.com/dictionary/word - - **海词迷你词典**, http://dict.cn/word - - **Oxford Learner**, https://www.oxfordlearnersdictionaries.com/definition/english/word - - **Oxford**, https://od-api.oxforddictionaries.com/ - - **Youdao-English**, [http://dict.youdao.com/...](http://dict.youdao.com/fsearch?client=deskdict&keyfrom=chrome.extension&pos=-1&doctype=xml&xmlVersion=3.2&dogVersion=1.0&vendor=unknown&appVer=3.1.17.4208&le=eng&q=word) - - **Youdao-French**, [http://dict.youdao.com/...](http://dict.youdao.com/fsearch?client=deskdict&keyfrom=chrome.extension&pos=-1&doctype=xml&xmlVersion=3.2&dogVersion=1.0&vendor=unknown&appVer=3.1.17.4208&le=fr&q=word) - - **Youdao-Korean**, [http://dict.youdao.com/...](http://dict.youdao.com/fsearch?client=deskdict&keyfrom=chrome.extension&pos=-1&doctype=xml&xmlVersion=3.2&dogVersion=1.0&vendor=unknown&appVer=3.1.17.4208&le=ko&q=대한민국) - - **MDX Server**, You have to run mdx server by yourself first. - - **Yahoo Dictionary**, [https://tw.dictionary...](https://tw.dictionary.search.yahoo.com/search?p=test) - - **Baidu Hanyu**, [http://dict.baidu.com/...](http://dict.baidu.com/s?wd=%E4%B8%AD%E5%9B%BD#basicmean) - - **Cambridge**, [https://dictionary.cambridge.org/...](https://dictionary.cambridge.org/dictionary/english/test) +| # | Dictionary Name | Link | +| ---| :--- | :--- | +| 1 | Baicizhan | http://mall.baicizhan.com/ws/search?w=word | +| 2 | Bing | http://cn.bing.com/dict/search?q=word&mkt=zh-cn | +| 3 | Bing xtk | http://xtk.azurewebsites.net/BingDictService.aspx?Word=word | +| 4 | 西语助手 | https://www.esdict.cn/mdicts/es/word | +| 5 | 法语助手 | https://frdic.com/mdicts/fr/ | +| 6 | 爱词霸 | http://www.iciba.com/index.php?a=getWordMean&c=search&word=word | +| 7 | 朗文 | https://www.ldoceonline.com/dictionary/word | +| 8 | 海词迷你词典 | http://dict.cn/word | +| 9 | Oxford Learner | https://www.oxfordlearnersdictionaries.com/definition/english/word | +| 10 | Oxford | https://od-api.oxforddictionaries.com/ | +| 11 | Youdao-English | [http://dict.youdao.com/...](http://dict.youdao.com/fsearch?client=deskdict&keyfrom=chrome.extension&pos=-1&doctype=xml&xmlVersion=3.2&dogVersion=1.0&vendor=unknown&appVer=3.1.17.4208&le=eng&q=word) | +| 12 | Youdao-French | [http://dict.youdao.com/...](http://dict.youdao.com/fsearch?client=deskdict&keyfrom=chrome.extension&pos=-1&doctype=xml&xmlVersion=3.2&dogVersion=1.0&vendor=unknown&appVer=3.1.17.4208&le=fr&q=word) | +| 13 | Youdao-Korean | [http://dict.youdao.com/...](http://dict.youdao.com/fsearch?client=deskdict&keyfrom=chrome.extension&pos=-1&doctype=xml&xmlVersion=3.2&dogVersion=1.0&vendor=unknown&appVer=3.1.17.4208&le=ko&q=대한민국) | +| 14 | MDX Server | You have to run mdx server by yourself first. | +| 15 | Yahoo Dictionary | [https://tw.dictionary...](https://tw.dictionary.search.yahoo.com/search?p=test) | +| 16 | Baidu Hanyu | [http://dict.baidu.com/...](http://dict.baidu.com/s?wd=%E4%B8%AD%E5%9B%BD#basicmean) | +| 17 | Cambridge | [https://dictionary.cambridge.org/...](https://dictionary.cambridge.org/dictionary/english/test) |