anki-word-query/README.md

87 lines
1.8 KiB
Markdown
Raw Normal View History

2018-07-01 10:13:48 +08:00
# FastWordQuery Addon For Anki
## Features
2018-07-02 10:53:17 +08:00
This addon looks up words in local dictionary or web dictionary and pasting the explanations to anki.
It forks from WordQuery, **multi-thread feature**, and some other features.
2018-07-01 10:13:48 +08:00
2018-07-02 10:53:17 +08:00
- 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.
- Support **Multi-Thread** to query faster.
2018-07-01 10:13:48 +08:00
## Install
2018-07-02 10:53:17 +08:00
1. Place src folder of this repository to anki addon folder.
2018-07-02 10:54:50 +08:00
2018-07-02 10:55:38 +08:00
**OR**
2018-07-02 10:54:50 +08:00
2018-07-02 10:53:17 +08:00
2. Use the installation code: 1807206748
2018-07-02 10:38:20 +08:00
2018-07-01 10:13:48 +08:00
2018-07-02 10:23:16 +08:00
## Setting
### Shortcut
2018-07-02 10:50:22 +08:00
1. Click Menu **"Tools -> Add-ons -> FastWQ -> Edit..."**
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
![](screenshots/setting_menu.png)
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
2. Edit the code and click **Save**
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
```python
# shortcut
shortcut = 'Ctrl+Q'
```
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
![](screenshots/setting_shortcut.png)
2018-07-02 10:23:16 +08:00
### Config
2018-07-02 10:50:22 +08:00
1. In Browser window click menu **"FastWQ -> Options"**
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
![](screenshots/setting_config_01.png)
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
2. Click **Settings** button in the Options window
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
![](screenshots/setting_config_02.png)
2018-07-02 10:23:16 +08:00
2018-07-02 10:54:50 +08:00
- **Force Update : Update all fields even if it's None**
- **Thread : The number of threads running at the same time**
2018-07-02 10:23:16 +08:00
## Use
### Set the query fields
2018-07-02 10:50:22 +08:00
1. Click menu **"Tools -> FastWQ"**, or in Browser window click menu **"FastWQ -> Options"**
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
2. Select note type
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
![](screenshots/options_01.png)
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
3. Select Dictionary
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
![](screenshots/options_02.png)
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
4. Select Fields
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
![](screenshots/options_03.png)
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
5. Click **OK** button
2018-07-02 10:23:16 +08:00
### 'Browser' Window
2018-07-02 10:55:38 +08:00
1. Select single word or multiple words, click menu **"FastWQ -> Query Selected"**.
2018-07-02 10:23:16 +08:00
2018-07-02 10:50:22 +08:00
![](screenshots/options_04.png)
2018-07-02 10:23:16 +08:00
2018-07-01 10:13:48 +08:00
## Other Projects Used
- [mdict-query](https://github.com/mmjang/mdict-query)
- [pystardict](https://github.com/lig/pystardict)
- [WordQuery](https://github.com/finalion/WordQuery)