Skip to content

keggit/epub-kanji-frequency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command Line Kanji Frequency Tool

Takes in an epub book and prints the kanji to a file, sorted by highest frequency back.

The kanji are compared to the kanjidic dictionary. The output format can be easily imported into Anki.

Field 1 (front) is the kanji, 2 is meaning, 3 is on'yomi (represented in katakana), and field 4 is kun'yomi in hiragana.

example: cargo run example.epub output.txt

In my testing, some books could take over a minute.

Running the app

Install rust and cargo.

clone, build, and run via a development build:

git clone 'https://github.com/LukewarmCoffee/epub-kanji-frequency.git'

cd epub-kanji-frequency

cargo build

cargo run [your epub file].epub

About

Kanji frequency command line tool written in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages