Add frequency to Japanese vocab cards
Report Bug
·
Request Feature
Table of Contents
This add-on will generate the frequency ranking for the provided Japanese vocab field The frequency ranking is generated from the same frequency database of the Rikai-Sama,i.e., JMDict firefox add-on.
This project is written in pure python and the respective Anki libraries.
anki~=2.1.54
aqt~=2.1.54
To get to started, you have to install the add-on through Anki. You can also install it via the files provided on Github.
You must set the variables of the config.json
{
"freq_dict": "",
"01_note_type": "Japanese",
"02_vocab_input_field": "Target Word",
"03_frequency_output_field": "Frequency Ranking",
"04_overwrite_destination_field": true
}
freq_dict
: The path of the frequency dictionary. It is coupled with the add-on and is located in the project directory. You only need to copy the path of the standard dictionary or the one you provide.01_note_type
The name of the note type which contains the vocab for which the frequency rate should be determined.02_vocab_input_field
The field that contains the target word"03_frequency_output_field"
The field where frequency rating should be saved.04_overwrite_destination_field
Overwrite frequency value of the output filed (automatically set to true)
There are two ways to install this add-on:
- Add the add-on via anki using the code
1004691625
- Install the add-on via the files provided on Github.
For example, if you have a card with the vocab 頬杖
,
then the frequency ranking of "14962" will be appended to the chosen destination field.
-
If a word has a frequency of 1563, it means that 1562 words are more frequent than it.
-
Frequency number 1-5000 = very common, 5001-10000 = common, 10001-20000 = rare, 20001+ = very rare
-
Frequencies are based on analysis of 5000+ novels. Naturally, frequency based on other mediums (such as newspapers) might vary.
-
Not all words have frequency information. It is possible for multiple words to share the same frequency.
-
More info in Rikai-Sama Add-on or its frequency ranking can be found on
-
his site at http://rikaisama.sourceforge.net/
-
You can also reference to the original project https://ankiweb.net/shared/info/1612642956
-
open the Anki-add on and insert the data into the necessary fields.
-
Highlight the cards that should have their frequency fields filled.
-
Then open the
Edit
menu in the browser menu and click onBulk Generate Japanese Frequency
- Add Jmdict support
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
The licensing information of the project upon which this add-on is based.
For those asking for the License permission,
it's WTFPL. So please feel free to modify/re-upload
a better version whenever you like.
Therefore, this project is distributed
under the MIT License. See LICENSE.txt
for more information.
Christopher Chandler - christopher.chandler@outlook.de
Project Link: https://github.com/christopher-chandler/Bulk_Generate_Japanese_Vocab_Frequency
- @author: Myxoma (original creator)