1
yomichan-anki/README.md

95 lines
5.2 KiB
Markdown
Raw Normal View History

# Yomichan #
2016-07-07 05:39:04 +00:00
Yomichan is an Anki plugin built to help students of Japanese learn the language by reading native media on their
computer. This application's one-click flash card creation feature makes vocabulary mining trivial, allowing you to
focus on enjoying your reading. Yomichan can be used in conjunction with [Yomichan for
Chrome](https://foosoft.net/projects/yomichan-chrome) to further enhance your learning experience by enabling flash card creation from your
web browser.
2016-07-07 05:39:04 +00:00
## Requirements ##
For running:
* [Anki](http://ankisrs.net/)
For building:
* [7-Zip](http://www.7-zip.org/)
2016-07-08 05:31:00 +00:00
* [Git LFS](https://git-lfs.github.com/)
2016-07-07 05:39:04 +00:00
* [Python 2.7](http://www.python.org/download/releases/2.7/)
* [Qt Designer](https://www.qt.io/ide/)
## Installation ##
2016-07-08 05:31:00 +00:00
Yomichan can be downloaded from the its [Anki shared addon page](https://ankiweb.net/shared/info/934748696). After it is
installed, this plugin will automatically notify you when new versions are available.
## Usage ##
1. Make sure you are running the latest version of Anki.
2. Open your vocab deck and note the fields that are used in your deck.
2016-07-03 02:46:08 +00:00
[![Card layout dialog](https://foosoft.net/projects/yomichan/img/layout-thumb.png)](https://foosoft.net/projects/yomichan/img/layout.png)
3. Launch Yomichan from the tools menu inside Anki.
4. Open the text file you want and you will see its contents in the Yomichan. Your layout and color scheme will look
different because the screenshot shows my personal settings.
2016-07-03 02:46:08 +00:00
[![Reader dialog](https://foosoft.net/projects/yomichan/img/reader-thumb.png)](https://foosoft.net/projects/yomichan/img/reader.png)
5. To look up words hover your mouse over them while pressing the middle mouse button (usually this is your scroll
wheel). You can also press and hold shift instead if you like (or your mouse has no center button).
6. To set up your Anki deck for Yomichan select Preferences from the Edit menu and you should see a screen that looks
like this:
2016-07-03 02:46:08 +00:00
[![Preferences dialog](https://foosoft.net/projects/yomichan/img/preferences-thumb.png)](https://foosoft.net/projects/yomichan/img/preferences.png)
7. Now you should add markers such as `{expression}`, `{reading}`, `{reading}` and `{sentence}` to specify how new
2016-05-19 00:34:12 +00:00
cards should be created. Card fields will vary depending on your deck model. If you want to be able to use
2016-07-03 02:46:08 +00:00
*AnkiConnect* tick the checkbox labeled *Enable AnkiConnect* as shown above.
2016-05-19 00:34:12 +00:00
8. When you look up definitions you will have the option to create Anki cards for them with one click. You will see the
icons for performing these actions next to each item. *Icons for actions which update your decks won't show up if
Anki thinks you can't add a fact with those items*. This likely means that they would either be duplicates of
existing cards in the deck or that Yomichan hasn't been properly set up for your deck model.
2016-07-03 02:46:08 +00:00
[![Icons](https://foosoft.net/projects/yomichan/img/icons-thumb.png)](https://foosoft.net/projects/yomichan/img/icons.png)
Here is what the icons mean (in order from left to right):
* Add term in Kana form even it can be written in Kanji (e.g. べんきょうか).
* Add term as it appears in the dictionary including Kanji (e.g. 勉強家).
* Copy the expression, reading and definition for the term to the clipboard.
2016-07-08 05:31:00 +00:00
### Keyboard Shortcuts ###
2016-07-08 05:31:00 +00:00
Yomichan features several keyboard shortcuts for ease of use:
2016-07-03 02:46:08 +00:00
| Shortcut | Command |
|---------------------------------------------------|-----------------------------------------------------|
| <kbd>Shift</kbd> | Search under cursor |
| <kbd>]</kbd> | Move search cursor forwards |
| <kbd>[</kbd> | Move search cursor backwards |
| <kbd>Shift</kbd> + <kbd>Ctrl</kbd> + <kbd>#</kbd> | Add current Kanji at index 0 - 9 to deck |
| <kbd>Ctrl</kbd> + <kbd>#</kbd> | Add current term at index 0 - 9 to deck |
| <kbd>Alt</kbd> + <kbd>#</kbd> | Add current term at index 0 - 9 to deck as Hiragana |
2016-05-19 00:34:12 +00:00
### AnkiConnect ###
2016-07-08 05:31:00 +00:00
AnkiConnect is a convenient feature, which enables external applications to communicate directly with Anki, thus
allowing them to query decks and create new flash cards without user involvement. This feature must be enabled through
the preference dialog prior to use. AnkiConnect is also available as a [separate plugin](https://foosoft.net/projects/anki-connect/) for
those who want to get this feature in a smaller package.
2016-05-19 00:34:12 +00:00
### Importing Vocabulary ###
2016-07-10 20:39:44 +00:00
Yomichan is capable of importing vocabulary lists from plain text files and the vocabulary deck database the Amazon
Kindle automatically generates when you look up words in the built-in dictionary (this file can be found as
`/system/vocabulary/vocab.db`). Note that importing does not create flash cards automatically, but rather outputs the
contents of the file to the Vocabulary and Kanji panes so that you can add facts the same way as when reading within
Yomichan.
## License ##
GPL