anki-word-query/README.md

88 lines
1.8 KiB
Markdown
Raw Normal View History

2018-07-01 10:13:48 +08:00
# FastWordQuery Addon For Anki
## Features
This addon looks up words in local dictionary or web dictionary and pasting the explanations to anki.
2018-07-01 13:00:19 +08:00
It forks from WordQuery, **multi-thread feature**, and some other features.
2018-07-01 10:13:48 +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.
## Install
2018-07-01 13:05:21 +08:00
```zsh
➜ Place src folder of this repository to anki addon folder.
2018-07-01 13:06:09 +08:00
```
2018-07-01 13:05:21 +08:00
**OR**
```zsh
➜ Use the installation code: 1807206748
2018-07-01 13:06:09 +08:00
```
2018-07-01 10:13:48 +08:00
2018-07-02 10:23:16 +08:00
## Setting
### Shortcut
2018-07-02 10:25:34 +08:00
1.Click Menu ***"Tools -> Add-ons -> FastWQ -> Edit..."***
2018-07-02 10:23:16 +08:00
![](screenshots/setting_menu.png)
2018-07-02 10:25:34 +08:00
2.Edit the code and click **Save**
2018-07-02 10:23:16 +08:00
```python
# shortcut
shortcut = 'Ctrl+Q'
```
![](screenshots/setting_shortcut.png)
### Config
2018-07-02 10:25:34 +08:00
1.In Browser window click menu ***"FastWQ -> Options"***
2018-07-02 10:23:16 +08:00
![](screenshots/setting_config_01.png)
2018-07-02 10:25:34 +08:00
2.Click **Settings** button in the Options window
2018-07-02 10:23:16 +08:00
![](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
## Use
### Set the query fields
2018-07-02 10:25:34 +08:00
1.Click menu ***"Tools -> FastWQ"***, or in Browser window click menu ***"FastWQ -> Options"***
2018-07-02 10:23:16 +08:00
2.Select note type
![](screenshots/options_01.png)
3.Select Dictionary
![](screenshots/options_02.png)
4.Select Fields
![](screenshots/options_03.png)
2018-07-02 10:25:34 +08:00
5.Click **OK** button
2018-07-02 10:23:16 +08:00
### 'Browser' Window
2018-07-02 10:25:34 +08:00
Select single word or multiple words, click menu ***"FastWQ -> Query Selected"***.
2018-07-02 10:23:16 +08:00
![](screenshots/options_04.png)
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)