diff --git a/README.md b/README.md index 739fba1904..97fc4bebe9 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,77 @@ # Rikaichamp! ![](https://github.com/birtles/rikaichamp/workflows/Automated%20tests/badge.svg) +![Twitter Follow](https://img.shields.io/twitter/follow/rikaichamp) -Look up Japanese words with the hover of a mouse. +A browser extension to look up Japanese words with the hover of a mouse. -Rikaichamp is a port of rikaikun, which is a port of rikaichan, which is a port -of rikaiXUL. It aims to be simple, reliable, fast, and up-to-date. +Forked from Rikaikun in 2017 it includes: -It includes simple installation, an up-to-date dictionary, many many bug fixes -over its predecessors (e.g. it correctly recognizes the causative passive), -automated tests and type-checking, and modern API usage (no sync XHR, XPath -etc.). +- Pitch accent information + ![Screen shot showing pitch accent highlighting](/docs/pitch-accent.png?raw=true 'Pitch accent') +- Support for non-English dictionaries +- Dictionaries that update automatically every week by fetching just the updated entries + ![Screen shot showing Russian translation](/docs/russian.png?raw=true 'Russian translation') +- Overhauled dictionary entry display to make it much easier to read + ![Screen shot showing how definitions are grouped by part-of-speech](/docs/word-display.png?raw=true 'Some of the features of word display') +- Automatic translation of Japanese-era years into Gregorian years (e.g. 昭和56年、令和元年、平成三十一年) + ![Screen shot showing translation of 明治四十二年 into 1909年](/docs/year-translation.png?raw=true 'Year translation') +- Recognition of many more grammatical forms + (e.g. vs-c verbs like 兼した, + irregular verbs like いらっしゃいます, + continuous forms like 食べてた, + ん as a negative form like 分からん、知らん, + words with ー like じーちゃん、頑張ろー、そーゆー, + ぬ verbs, + とく・どく forms like 買っとく, + causative passive, させる for verbs ending in す e.g. 起こさせる) +- Automatic preview of name entries when there is a better match in the name dictionary + ![Screen shot showing 南硫黄島 being automatically looked up from the names dictionary](/docs/name-dictionary-cross-ref.png?raw=true 'Name dictionary cross-reference') +- Handling of a much wider range of characters including ㋕, ㌀, ㋿, 𠏹沢, 8月, B級グルメ, オーサカ + ![Screen shot showing recognition of 弾道㋯㋚㋑㋸防衛 (弾道ミサイル防衛)](/docs/encircled-character.png 'Encircled characters') + ![Screen shot showing recognition of ㍿ (株式会社)](/docs/kabushiki-gaisha.png 'Composed characters') +- Completely localized into Japanese (so you can study Japanese while you study Japanese!) and Simplified Chinese + ![Screen shot showing various parts-of-speech and other information translated into Japanese](/docs/localized.png 'Localized popup') +- Better prioritization of more common matches +- Support for displaying romaji +- Copy feature that allows selecting which entry and in what format to copy to the clipboard + ![Screen shot showing 魅惑的 being selected and the various formats available for copying](/docs/copy-feature.png 'Copy feature') +- Smarter popup positioning +- Support for vertical text and SVG text +- Much lower memory usage (> 90% less) +- Kanji data for Kanji kentei, Conning references, updated educational levels, heavily reworked kanji components etc. + ![Screen shot of kanji view](/docs/kanji-view.png 'Kanji dictionary') +- Overhauled settings window to make it more intuitive + ![Screen shot of options window](/docs/options-window.png 'Options window') +- Better isolation of styles so that the popup always looks correct +- Improved handling of ruby text in YouTube +- Entirely rewritten with static typing, automated tests, and modern API usage (no sync XHR, XPath etc.) +- Hundreds of other fixes and improvements -Twitter: [@rikaichamp](https://twitter.com/rikaichamp) +# Usage + +By default, you can enable Rikaichamp by either: + +- Pressing the toolbar button (you may need to add it to the browser toolbar yourself in some browsers) +- Pressing Alt+R +- Choosing to enable it from the context menu + +Alternatively, a lot of users find it helpful to have Rikaichamp permanently +enabled but configured to only show the pop-up when either Alt or +Ctrl is pressed. + +The other keys are as follows: + +| Action | Key | +| ----------------------------------------- | --------------------------------------------------- | +| Switch dictionary (words → kanji → names) | Shift / Enter | +| Toggle display of definitions | d _(disabled by default)_ | +| Move the popup up or down | j / k _(disabled by default)_ | +| Enter copy mode | c | +| (Copy mode) Copy entry | e | +| (Copy mode) Copy tab-separated fields | y | +| (Copy mode) Copy word/kanji | w | +| (Copy mode) Select next entry | c | ## Contributing diff --git a/docs/copy-feature.png b/docs/copy-feature.png new file mode 100644 index 0000000000..b6042db95b Binary files /dev/null and b/docs/copy-feature.png differ diff --git a/docs/dictionary-update-status.png b/docs/dictionary-update-status.png new file mode 100644 index 0000000000..5935324821 Binary files /dev/null and b/docs/dictionary-update-status.png differ diff --git a/docs/encircled-character.png b/docs/encircled-character.png new file mode 100644 index 0000000000..aa997d6fd5 Binary files /dev/null and b/docs/encircled-character.png differ diff --git a/docs/kabushiki-gaisha.png b/docs/kabushiki-gaisha.png new file mode 100644 index 0000000000..18defb521e Binary files /dev/null and b/docs/kabushiki-gaisha.png differ diff --git a/docs/kanji-view.png b/docs/kanji-view.png new file mode 100644 index 0000000000..7b3d6548a1 Binary files /dev/null and b/docs/kanji-view.png differ diff --git a/docs/localized.png b/docs/localized.png new file mode 100644 index 0000000000..5b40fa3908 Binary files /dev/null and b/docs/localized.png differ diff --git a/docs/name-dictionary-cross-ref.png b/docs/name-dictionary-cross-ref.png new file mode 100644 index 0000000000..11171f0af6 Binary files /dev/null and b/docs/name-dictionary-cross-ref.png differ diff --git a/docs/options-window.png b/docs/options-window.png new file mode 100644 index 0000000000..69affe22ac Binary files /dev/null and b/docs/options-window.png differ diff --git a/docs/pitch-accent.png b/docs/pitch-accent.png new file mode 100644 index 0000000000..b0c99b705a Binary files /dev/null and b/docs/pitch-accent.png differ diff --git a/docs/russian.png b/docs/russian.png new file mode 100644 index 0000000000..459bdbc971 Binary files /dev/null and b/docs/russian.png differ diff --git a/docs/word-display.png b/docs/word-display.png new file mode 100644 index 0000000000..e39ff7db6d Binary files /dev/null and b/docs/word-display.png differ diff --git a/docs/year-translation.png b/docs/year-translation.png new file mode 100644 index 0000000000..a1604f0fdf Binary files /dev/null and b/docs/year-translation.png differ