Anki add-on: Japanese Text Cleaner

This is a plugin for Anki that can help clean up Japanese text in the ways outlined below. Issues should be reported on the Issues page for the project on Github. Clean unnecessary spaces , while preserving those spaces that are necessary for indicating the start of a Japanese reading (as in the Japanese Support plugin ). Clean unnecessary furigana from the beginning, end, or within individual readings within text. Both are designed to: Properly handle text with multiples lines Properly handle text with HTML markup by allowing HTML tags to pass through unchanged In addition, there are some features to guard against accidental changes or bugs in the plugin: A Check action logs all changes that would be made without taking any action. A Diff action produces a colorful HTML diff highlighting in green what will been added and in red what will be removed for each note. A Fix action actually performs the changes. Each batch of changes is recorded in the undo history within Anki. A full change log is kept in a SQLite database within the plugin's local directory. Recent changes can be viewed in the UI and the full history of changes can be exported to a CSV file. This enables you to recover any previous values altered by the plugin. Despite these safety features, it's a good idea to back up or export your collection before using this plugin just to be safe. You can access the dialogs by clicking Browse to open the card browser and then clicking Edit -> Japanese Text Cleaner. The fixer dialgos require you to select some cards first. These are the cards that will be checked. Support If you experience a problem or have any comments/ideas, please open an issue at the Issues page for the project on Github. Version History 0.1: Initial Release License Copyright 2019 Matthew Hayes Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

GitHub repository: matthayes/anki_japanese_text_cleaner
Repository description: Anki plugin that helps clean up Japanese text by removing unnecessary spaces and furigana
Languages: Python, HTML, Shell, Makefile