GithubHelp home page GithubHelp logo

susanooxyz / furigana Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ajatt-tools/furigana

0.0 1.0 0.0 135 KB

Automatically generate furigana on Anki cards.

Home Page: https://ankiweb.net/shared/info/1344485230

License: GNU Affero General Public License v3.0

Shell 1.51% Python 58.20% CSS 17.34% HTML 22.95%

furigana's Introduction

AJT Furigana

Rate on AnkiWeb Chat Channel Patreon GitHub

The purpose of this add-on is to automatically generate and bulk-generate furigana readings. To do its job, the add-on relies on mecab_controller. The add-on comes with Japanese sentences note type optimized for usage with targeted sentence cards.

demo

Features

  • Furigana. After you type in a word or phrase into the SentKanji or VocabKanji fields and hit Tab, Anki will automatically generate furigana for you and place it in SentFurigana and VocabFurigana fields respectfully. Field names can be configured in settings.
  • Furigana on flush. Automatic furigana generation when a new note gets created with Yomichan.
  • Furigana from selection. You can convert any selected text to furigana by clicking Furigana for selection in the context menu while using the note editor.
  • Bulk-add. To add furigana to multiple cards in bulk, open the Anki Browser and press "Edit" > "Bulk-add furigana".
  • Toolbar button. You can replace the content of any selected field with furigana by pressing on the toolbar. You can do the same with furigana without kanji by pressing on the toolbar.
  • Note type. A new built-in note type designed for studying Japanese sentences. You can find it by going to Tools > Manage Note Types > Add > Japanese sentences.
  • Compound words properly split. Words like 取って置き or 言い方 produce correct furigana, unlike the previous add-on.

Installation

Install from AnkiWeb, or manually with git:

git clone 'https://github.com/Ajatt-Tools/Furigana.git' ~/.local/share/Anki2/addons21/ajt_furigana

Configuration

To configure the add-on, open the Anki Add-on Menu via "Tools" > "Add-ons" and select "AJT Furigana". Then click the "Config" button on the right-side of the screen.

Caveats

Mecab is not perfect and sometimes generates incorrect readings. There's nothing that can be done about it in a big picture, so make sure you check the generated text and adjust it if necessary.

Acknowledgements

Initially this add-on was forked from Japanese Support by Damien Elmes, but was almost completely rewritten.

furigana's People

Contributors

tatsumoto-ren avatar susanooxyz avatar andrewchenk avatar

Watchers

James Cloos avatar

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.