alac / instant_jp_vocab

Monitor the clipboard and generate vocabulary lists for Japanese sentences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

instant_jp_vocab

Monitor the clipboard and generate vocabulary lists for Japanese sentences. Useful with a text hooking utility like Textractor.

Setup

  1. Install with pip install -r requirements.txt and python -m unidic download.
  2. Edit settings.toml to enable what you want.
  3. For AI behaviors, install Oobabooga's Text-Generation-WebUI and enable the API. Use an AI that has decent Japanese performance and sanity check responses.

Credits

For definitions and katakana readings in non-ML mode, we use a modified Jitendex, which is under the ShareAlike license.

For breaking sentences into words, we use fugashi.

About

Monitor the clipboard and generate vocabulary lists for Japanese sentences

License:MIT License


Languages

Language:Python 100.0%