Japanese Vocab Frequency Generator

AnkiWeb addon 1004691625

Fork of Bulk-Generate Japanese Vocab Frequency Ranking (AI-detected; may be wrong)

1 other version of this addon exists. Compare versions ↓

Bulk generates Japanese vocabulary frequency rankings from bundled JMDict/Rikai-Sama databases and optionally adds word-type data to specified Anki note fields.
AI-generated summary; may contain mistakes.

card-creationnote-managementdictionaryfork-or-reupload

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
8 (πŸ‘ 8 Β· πŸ‘Ž 0)
Updated
2024-07-09
Anki versions
2.1.66~
License
MIT (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

abandoned

  • Last update or commit: 2024-07-25 (829 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 0 open, 1 closed.
  • Pull requests: 0 open, 1 merged.
  • Median first response: 2 hours (2 answered issues and pull requests).
  • Outside pull requests: 100% of 1 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.482.1.66+2024-07-09
History across monthly snapshots

Loading…

Compare versions

The original addon and its forks. The best value in each column is in bold.

VersionWorks on Anki 26.09.3MaintenanceLast activity VotesApprovalGitHub starsNotes
Bulk-Generate Japanese Vocab Frequency Ranking original unknown abandoned 10 Mar 2019 πŸ‘ 20 Β· πŸ‘Ž 5 61% –
↳ Japanese Vocab Frequency Generator this addon (AI-detected; may be wrong) likely abandoned 25 Jul 2024 πŸ‘ 8 Β· πŸ‘Ž 0 68% 3

Forks can add features or work in a different way. Read the description before you change to another version. Fork detection is incomplete, so other versions can exist.

Similar addons

Japanese Bulk Card Creator

Creates bulk Japanese vocabulary and phrase flashcards from kanji or words using a bundled dictionary, with field mapping, configurable Hepburn romanization, and optional Jisho audio downloads.

card-creationdictionary

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 0 Anki 25.09.2~ Updated 2025-11-06

Description

Check out the updates section. If you have any comments, questions, or suggestions about new features, please comment the Github page. If you like what you have used, please like this addon and star the repo. Thank you!


Logo

Version MIT License update

Stargazers

Windows Mac

Bulk Generate Japanese Vocab Frequency

Add frequency to Japanese vocab cards

Report Bug Β· Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Update
  6. Contributing
  7. License
  8. Contact
  9. Acknowledgments

About The Project

Logo

(back to top)

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.

Built With

This project is written in pure python and the respective Anki libraries.

anki~=2.1.54
aqt~=2.1.54

(back to top)

Getting Started

To get to started, you have to install the add-on through Anki. You can also install it via the files provided on Github.

Prerequisites

You must set the variables of the config.json. These are necessary so that the dictionaries can be accessed. It is better to use absolute as opposed to relative paths.

The dictionaries needed for the word type data and frequency look-up are included in this addon. They are stored in the folder of the anki addon: Anki2/addons21/1004691625/databases

  • freq_dict.db
  • jmdict.db
  • slice_of_life.db

Should they not be included, they can also be downloaded from the github page of this anki add on.

{
    "0_jm_dict": "",
    "0_freq_dict": "",
    "01_note_type": "Japanese",
    "02_vocab_input_field": "Target Word",
    "03_frequency_output_field": "Frequency Ranking",
    "03_word_type_output_field": "Word Type",
    "04_overwrite_destination_field": true
}

  • 0_freq_dict: The path of the frequency dictionary; used to ascertain frequency data.
  • 0_jm_dict: The path of the japanese dictionary; used to ascertain word type data 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.
  • 03_word_type_output_field": The field where grammatical data about the word should be saved.
  • 04_overwrite_destination_field: Overwrite frequency value of the output filed (automatically set to true)

Installation

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.

(back to top)

Usage

For example, if you have a card with the vocab 頬杖, then the frequency ranking of "14962" will be appended to the chosen destination field.

What does this frequency number mean?

  • 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

Vocab field format

The following things will be ignored when querying the frequency of a vocab:

  • HTML tags (it is possible to color or format the vocab field);
  • Parenthesis and their contents (e.g., kanji's wrong readings);
  • Leading/trailing whitespace.

(back to top)

Example

Frequency Data

  1. open the Anki-add on and insert the data into the necessary fields.

  1. Go to the cards that correspond to the data you entered.

  1. Highlight the cards that should have their frequency fields filled.

  1. Then open the Edit menu in the browser menu and click on Bulk Generate Japanese Frequency

If information for a word cannot be found, it will be filled with UNK for unknown.

Remove HTML

  • Case with a colored vocab field and extra information in parenthesis. In this case the vocab term will be ζ–Ή only.

Add Word Type Data

Using the function generate word type data, you can add data from the jmdict to a certain field. This can be understood as a dictionary function, but with a limited interface. To understand what the exact abbreviations mean, it is best to consult the jmdict site

if you set the config file correctly, this should work as the previous function, but the output is different.

  1. select the appropriate field where the word type should be saved. In this case, the field is called Word Type.

  2. click on this field and a pop up and then select Bulk Generate Word Type Data

The following pop ups should appear:

  1. If you rexamine the field Word Type, you now see that it is filled with the jmdict info:

If information for a word cannot be found, it will be filled with UNK for unknown.

Roadmap

  • [x] Add Jmdict support

Updates

v1.0.2

  • add function so that word type data can be added to a field alongside the frequency data
  • restructured the config file to include the new 03_word_type_output_field

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

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.

(back to top)

Contact

Christopher Chandler - christopher.chandler@outlook.de

Project Link: https://github.com/christopher-chandler/Bulk_Generate_Japanese_Vocab_Frequency

(back to top)

Acknowledgments

  • @author: Myxoma (original creator)

(back to top)

README


Logo

Version MIT License update

Stargazers

Windows Mac

Bulk Generate Japanese Vocab Frequency

Add frequency to Japanese vocab cards

Report Bug Β· Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Update
  6. Contributing
  7. License
  8. Contact
  9. Acknowledgments

About The Project

Logo

(back to top)

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.

Built With

This project is written in pure python and the respective Anki libraries.

anki~=2.1.54
aqt~=2.1.54

(back to top)

Getting Started

To get to started, you have to install the add-on through Anki. You can also install it via the files provided on Github.

Prerequisites

You must set the variables of the config.json. These are necessary so that the dictionaries can be accessed. It is better to use absolute as opposed to relative paths.

The dictionaries needed for the word type data and frequency look-up are included in this addon. They are stored in the folder of the anki addon: Anki2/addons21/1004691625/databases

  • freq_dict.db
  • jmdict.db
  • slice_of_life.db

Should they not be included, they can also be downloaded from the github page of this anki add on.

{
    "0_jm_dict": "",
    "0_freq_dict": "",
    "01_note_type": "Japanese",
    "02_vocab_input_field": "Target Word",
    "03_frequency_output_field": "Frequency Ranking",
    "03_word_type_output_field": "Word Type",
    "04_overwrite_destination_field": true
}

  • 0_freq_dict: The path of the frequency dictionary; used to ascertain frequency data.
  • 0_jm_dict: The path of the japanese dictionary; used to ascertain word type data 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.
  • 03_word_type_output_field": The field where grammatical data about the word should be saved.
  • 04_overwrite_destination_field: Overwrite frequency value of the output filed (automatically set to true)

Installation

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.

(back to top)

Usage

For example, if you have a card with the vocab 頬杖, then the frequency ranking of "14962" will be appended to the chosen destination field.

What does this frequency number mean?

  • 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

Vocab field format

The following things will be ignored when querying the frequency of a vocab:

  • HTML tags (it is possible to color or format the vocab field);
  • Parenthesis and their contents (e.g., kanji's wrong readings);
  • Leading/trailing whitespace.

(back to top)

Example

Frequency Data

  1. open the Anki-add on and insert the data into the necessary fields.

  1. Go to the cards that correspond to the data you entered.

  1. Highlight the cards that should have their frequency fields filled.

  1. Then open the Edit menu in the browser menu and click on Bulk Generate Japanese Frequency

If information for a word cannot be found, it will be filled with UNK for unknown.

Remove HTML

  • Case with a colored vocab field and extra information in parenthesis. In this case the vocab term will be ζ–Ή only.

Add Word Type Data

Using the function generate word type data, you can add data from the jmdict to a certain field. This can be understood as a dictionary function, but with a limited interface. To understand what the exact abbreviations mean, it is best to consult the jmdict site

if you set the config file correctly, this should work as the previous function, but the output is different.

  1. select the appropriate field where the word type should be saved. In this case, the field is called Word Type.

  2. click on this field and a pop up and then select Bulk Generate Word Type Data

The following pop ups should appear:

  1. If you rexamine the field Word Type, you now see that it is filled with the jmdict info:

If information for a word cannot be found, it will be filled with UNK for unknown.

Roadmap

  • [x] Add Jmdict support

Updates

v1.0.2

  • add function so that word type data can be added to a field alongside the frequency data
  • restructured the config file to include the new 03_word_type_output_field

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

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.

(back to top)

Contact

Christopher Chandler - christopher.chandler@outlook.de

Project Link: https://github.com/christopher-chandler/Bulk_Generate_Japanese_Vocab_Frequency

(back to top)

Acknowledgments

  • @author: Myxoma (original creator)

(back to top)