Wanikani Phonetic-Semantic Composition - Userscript
by ruipgpinheiro (LordGravewish)THIS SCRIPT IS NO LONGER SUPPORTED BY ME.
Look at this post for further information.Description:
It seems that many kanji were created using a process called
phonetic-semantic composition. This process joins two (or more) kanji
(radicals), one (or more of them) usually called the bushu or dictionary
section header establishes the meaning of the kanji, and another one,
the phonetic component that establishes the (on’yomi) sound.
This means that a lot of kanji have a built-in mnemonic that I
haven’t seen being referred to in Wanikani, and so it’s quite useful to
know some of them, especially when having trouble with a specific
reading!
For example (using non-Wanikani kanji names):
反・はん “to rebel” (“anti” by Wanikani mnemonics)
飯・はん “rice”
版・はん “print”
板・はん “a board”
坂・はん “slope”
販・はん “sale”
叛・はん “to betray”
As you can notice, these kanji all use the first one as a phonetic
component, placing it to the right of the semantic component (mostly,
phonetic components are drawn right-most). Due to the evolution of the language, many such kanji have since
then slightly changed pronunciation (仮・か “temporary”), but knowing this
information can be a major help.
This script imports a
database of over 100 phonetic components with over 400 regular Kanji
that use their on’yomi reading onto Wanikani. This means that over a fourth of Wanikani’s Kanji should be included in here somewhere and have
a “built-in mnemonic” of sorts. Depending on how you study, it could be
a huge help (or no help at all - you decide what’s best for your
brain). The information will be shown on the Kanji info page, during
reviews (if you check the details for a Kanji) and during lessons,
provided the relevant Kanji is included in the database.
Note that the database used in this script was automatically
generated from a PDF file, and even though I tried to check it for
mistakes, it is possible that it contains an error or two.
This
userscript contains the whole Kanji table from Hiroko Townsend’s Thesis
about phonetic components, which means the script’s database includes
143 different phonetic components encompassing 417 regular kanji (kanji
that use the on’yomi reading from the phonetic component) and 210
irregular ones (kanji that use a different reading, though with -
supposedly - similar roots). Some of these Kanji aren’t
available on Wanikani, though, even though they’ll be shown by the
userscript as they are part of its database.
This
script is also a sort of experiment into adding information to Wanikani.
Now that most of the hard work has been done, I’ll be able to
add/modify information quite easily, and maybe fulfill a couple common
requests from the community. Of course, this is all if I ever feel in
the mood (for me, programming is a hobby, so once I finish a project
that takes a couple of days - like this one -, I rarely feel like doing
more for some time).
More screenshots available on the userscripts.org download page
Changelog
1.0.4 (23 January 2014)
- Now supports the HTTPS protocol.
1.0.3 (24 November 2013)
- Corrected 症, which has the wrong reading in the thesis used for creating the DB. It’s now listed as irregular with the reading しょう, even though its phonetic component can also (rarely) be read the same way.
1.0.2 (24 November 2013)
- Fixed a bug in the code that automatically generated the DB, which would misread phonetic components with a single, irregular kanji, like 刃, and put them inside the DB entry of the previous phonetic component.
Therefore, the DB was regenerated from scratch. Updated the DB count in the description accordingly.
1.0.1 (23 November 2013)
- Kanji links now open in a new tab, to fix a bug where clicking them would just restart the current reviews/lessons session.
1.0.0 (22 November 2013)
- First release.
DISCLAIMER:
I am not responsible for any problems caused by this script.This script was developed on Firefox 25.0.1 with Greasemonkey 1.12.
It was also tested on Chrome 31.0.1650.57 with Tampermonkey 3.5.3630.77.
Because I’m just one person, I can’t guarantee the script works anywhere else.
LICENSE INFORMATION:
This script contains a database of phonetic components adapted under Fair Use (for nonprofit educational purposes) from
Phonetic Components in Japanese CharactersThank you Hiroko Townsend for the very useful thesis! Obtain a complete copy of it at http://sdsu-dspace.calstate.edu/bitstream/handl…
by Hiroko Townsend,
Master of Arts in Linguistics, San Diego State University, 2011
The rest of the script is licensed under GPLv3. More information at http://www.gnu.org/licenses
Download Version 1.0.5:
This script can be installed here. Note that this is an old version (the script is no longer supported by me) and as such it will likely not work.Warning for Chrome users: Due to some limitations imposed on us by Chrome's userscript API (and because I developed the script primarily for Firefox), it uses some stuff only available in the Greasemonkey userscript engine (and derivatives, like Tampermonkey). You should install the Tampermonkey extension for Chrome. Once you try to install my Userscript, you should get a choice to install it using Tampermonkey, and if you choose that everything should work fine!