leovilok / mpv-nihongo

πŸ‡―πŸ‡΅ mpv scripts to optimize language learning through immersion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mpv-nihongo

To use git-clone this repo and run yarn install && yarn build to compile.

You need to use mpv with my personal patches to get the current subtitle's timestamps for sub2srs.ts to work. I will upstream them when I'm less lazy.

Included scripts

jplookup.ts

analyzes the current subtitle with mecab, searches lemmas containing Kanji's in a dictionary, and displays them on the top left corner of the video

sub2srs.ts

exports the current subtitle to an Anki card complete with image and audio, dictionary lookups, and kanji readings from mecab with the press of a button

About

πŸ‡―πŸ‡΅ mpv scripts to optimize language learning through immersion


Languages

Language:TypeScript 100.0%