mirror of
https://github.com/koreader/koreader
synced 2024-11-08 07:10:27 +00:00
3d4e54c7e6
This plugin provides support for Japanese deinflection during lookup as well as making long-hold word selection actually select whole words properly. With this plugin, word lookups in Japanese text in KOReader become much easier, and no longer requires users to use special dictionaries that have synonym-based deinflection rules defined (which were always fairly annoying to use). The basic idea and deinflection data for this plugin come from Yomichan (which is also a GPL-3.0+ project), but everything was implemented specifically for KOReader. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
12 lines
652 B
Lua
12 lines
652 B
Lua
local _ = require("gettext")
|
|
return {
|
|
name = "japanese",
|
|
fullname = _("Japanese support"),
|
|
description = _([[
|
|
Japanese language support for KOReader, modeled after Yomichan.
|
|
|
|
This plugin extends KOReader's built-in dictionary and selection system to support Yomichan-style deinflection and text scanning, allowing for one-tap searches of inflected verbs and multi-character words and phrases. As such, this plugin removes the need for synonym-based deinflection rules for StarDict-converted Japanese dictionaries.
|
|
|
|
You must have at least one Japanese dictionary installed in order for this plugin to work smoothly with Japanese text.]]),
|
|
}
|