-
Notifications
You must be signed in to change notification settings - Fork 1
/
project_description.html
55 lines (38 loc) · 3.04 KB
/
project_description.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
This is a plugin for Anki that can help clean up Japanese text in the ways outlined below. Issues should be reported on the <a href="https://github.com/matthayes/anki_japanese_text_cleaner/issues">Issues page</a> for the project on Github.
<b>Clean unnecessary spaces</b>, while preserving those spaces that are necessary for indicating the start of a Japanese reading (as in the <a href="https://ankiweb.net/shared/info/3918629684">Japanese Support plugin</a>).
<img src="https://raw.githubusercontent.com/matthayes/anki_japanese_text_cleaner/master/screenshots/check_spacing_dialog_sm.png">
<b>Clean unnecessary furigana</b> from the beginning, end, or within individual readings within text.
<img src="https://raw.githubusercontent.com/matthayes/anki_japanese_text_cleaner/master/screenshots/check_furigana_dialog_sm.png">
Both are designed to:
<ul>
<li>Properly handle text with multiples lines</li>
<li>Properly handle text with HTML markup by allowing HTML tags to pass through unchanged</li>
</ul>
In addition, there are some features to guard against accidental changes or bugs in the plugin:
<ul>
<li>A <code>Check</code> action logs all changes that would be made without taking any action.</li>
<li>A <code>Diff</code> action produces a colorful HTML diff highlighting in green what will been added and in red what will be removed for each note.</li>
<li>A <code>Fix</code> action actually performs the changes.</li>
<li>Each batch of changes is recorded in the undo history within Anki.</li>
<li>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.</li>
</ul>
<img src="https://raw.githubusercontent.com/matthayes/anki_japanese_text_cleaner/master/screenshots/view_log_sm.png">
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 <i>Browse</i> 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.
<b>Support</b>
If you experience a problem or have any comments/ideas, please open an issue at the <a href="https://github.com/matthayes/anki_japanese_text_cleaner/issues">Issues page</a> for the project on Github.
<b>Version History</b>
<ul>
<li>0.1: Initial Release</li>
</ul>
<b>License</b>
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.