Code Monkey home page Code Monkey logo

anki_furigana's Introduction

Anki Automatic Kanji Readings and Definitions Add-on

Welcome to my Anki add-on! This add-on provides the ability to automatically populate fields in Anki flashcards with kanji readings and definitions. The add-on utilizes JMdict (Japanese-Multilingual Dictionary) for the definition lookups. It was created primarily because I was a little annoyed that the rubytext never seemed to line up with characters properly with any of the existing addons I could find.

Plus, I didn't really get why I needed to use the internet when there's already readily available dictionaries to be downloaded.

Features

With this add-on, you can:

  • Automatically populate Anki flashcards with kanji readings and definitions.
  • Limit the number of definitions to top X number
  • Work entirely offline.

References

I have used JMdict for fetching kanji readings and definitions. More information about JMdict can be found here: JMdict

Screenshots

Here's an example of what this addon does for a note, please note that there are no note types provided with the addon so you'll need to make your own.

From this

Input

To this

Output

Usage

After installation, please update the following settings found here:

Settings

The following settings are provided

SettingsOptions

  • Input field: This is the field in which Kanji is entered
  • Furigana field: This is where rubytext will be generated for the Kanji input
  • Kana field: This is the hiragana reading from the input field
  • Definition field: This gives you the top X definitions as defined in "Number of Defs"
  • Type field: Gives you the type of word, keiyoushi, meishi etc
  • Number of Defs: Limits the number of definitions in the Definition field

To use simply type in the word like so

Input

Hit tab or move off the field and the rest of the fields will be populated.

Output

To remove the outputs, for example if the card is a duplicate then use the following to clear all fields.

Clear Fields Button

Contribution

Your contributions are welcome! If you have any ideas or suggestions, please feel free to Submit an issue.

License

Please see the LICENSE file for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.