Transfer Lazy Anki Setup to JPMN
If you've been using my Anki Layout and want to transfer to JPMN
- Add-ons required: AJT Japanese and JPMN Manager (already included in my add-ons)
Installing JPMN Note
-
Extract
Anki addons21.7z
and paste theaddons21
folder toC:\Users\**YourUser**\AppData\Roaming\Anki2
-
Restart your Anki
-
In Anki:
Tools
>JPMN Manager
>Install jp-mining-note
Ctrl + Shift + A
orTools
>Add-ons
>Check for add-ons update
(important for JPMN Manager)
-
Go to:
C:\Users\**YourUser**\AppData\Roaming\Anki2\**YourAnkiName**\collection.media
- Search
_jpmn-options
- Edit and save this config (open in notepad)
- Search
-
In Anki:
Browse
> on the left side underNote Type
>JP Mining Note
>Card...
>Styling
> Scroll down to the bottom- Paste the
Styling config
AFTER theINSERT CUSTOM CSS BELOW
line - Editing only 1 card is enough for this to take effect to everything
Anki Styling config (click here)
.glossary-text ol li[data-details="旺文社国語辞典 第十一版"] .dict-group__tag-list { display: none; } .glossary-text ol li[data-details="旺文社国語辞典 第十一版"] .dict-group__glossary--first-line { display: none; } .glossary-text ol li[data-details="旺文社国語辞典 第十一版"] .dict-group__glossary--first-line-break { display: none; } .glossary-text ol li[data-details="三省堂国語辞典 第七版"] .dict-group__tag-list { display: none; } .glossary-text ol li[data-details="三省堂国語辞典 第七版"] .dict-group__glossary--first-line { display: none; } .glossary-text ol li[data-details="三省堂国語辞典 第七版"] .dict-group__glossary--first-line-break { display: none; } .glossary-text ol li[data-details="実用日本語表現辞典"] .dict-group__tag-list { display: none; } .glossary-text ol li[data-details="実用日本語表現辞典"] .dict-group__glossary--first-line { display: none; } .glossary-text ol li[data-details="実用日本語表現辞典"] .dict-group__glossary--first-line-break { display: none; } .glossary-text ol li[data-details="新明解国語辞典 第八版"] .dict-group__tag-list { display: none; } .glossary-text ol li[data-details="新明解国語辞典 第八版"] .dict-group__glossary--first-line { display: none; } .glossary-text ol li[data-details="新明解国語辞典 第八版"] .dict-group__glossary--first-line-break { display: none; } .glossary-text ol li[data-details="明鏡国語辞典 第二版"] .dict-group__tag-list { display: none; } .glossary-text ol li[data-details="明鏡国語辞典 第二版"] .dict-group__glossary--first-line { display: none; } .glossary-text ol li[data-details="明鏡国語辞典 第二版"] .dict-group__glossary--first-line-break { display: none; } .glossary-text ol li[data-details="JMdict (English)"] .dict-group__tag-list { display: none; } .glossary-text ol li[data-details="JMdict (English)"] .dict-group__glossary--first-line { display: none; } .glossary-text ol li[data-details="JMdict (English)"] .dict-group__glossary--first-line-break { display: none; } .glossary-text--primary-definition ol { list-style: none; padding-left: 0em; }
- Paste the
Transfer Process
-
Make a complete backup of your deck
- In
Anki
, click thecog
icon of yourMining Deck
Export
the deck and check everything:media
,scheduling
,older version compatibility
- In
-
In
Anki
go toBrowse
, then selectMining Deck
andSelect all the cards
orCtrl + A
-
Right Click
>Notes
>Change Note Type...
>JP Mining note
-
Follow this image:
-
On
Anki
:Browse
> Under Decks, clickJP Mining Note
>select everything
orCtrl + A
- On
Toolbar
:Notes
>Find and Replace
- Find:
<strong>(?P<t>.*?)</strong>
- Replace With:
<b>$t</b>
- In:
Sentence
- Selected notes only:
Checked
- Ignore case:
Unchecked
- Treat input as a regular expression:
Checked
- Find:
- Apply it
- On
-
Again,
select all
thecards
then on top lefttoolbar
:Edit
>AJT Bulk Generate
then wait -
Tools
>JPMN Manager
>Run Batch Command
> inputset_pasilence_field
-
After that you can now follow Updating: Anki JPMN Note to get the latest bug fixes
-
Switch to my Yomitan Setup
Better Mono
andupdated dicts
that isn't currently compatible on myLazy
Format- Follow Yomitan On PC for easy import of
Dictionaries
andSettings
Monolingual Cards Transfer
This is needed for people that used my Monolingual format or you won't have definitions on JPMN
-
Download and Install Python (
3.10.xx ONLY
) and GitCheck 'Add Python to PATH' (click here)
-
Make a new profile on
Anki
andimport
the old Mining Deck (The backup) -
Open
command prompt
(cmd) -
Run the following commands (don't type
yes
when prompted):git clone https://github.com/Aquafina-water-bottle/jp-mining-note.git
cd jp-mining-note/tools
python batch.py -f combine_backup_xelieu
- Go back to your
main profile
inAnki
- In command line, type
yes
-
Done
Extra Info and Tips
Tip 1: Anki Keyboard Shortcuts
Anki Keyboard Shortcuts (click here)
When viewing a card, you can use shortcuts to expand for more info:
Q
:Secondary Definition
W
:Extra Definition
[
:Extra Info
Tip 2: Anki Pitch Accent Color
Anki Pitch Accent Color (click here)
When viewing a card, they are color assigned with the following: