No description
Find a file
2026-06-06 19:49:22 +03:00
jlpt first commit 2026-06-06 19:49:22 +03:00
jmdict first commit 2026-06-06 19:49:22 +03:00
go.mod first commit 2026-06-06 19:49:22 +03:00
go.sum first commit 2026-06-06 19:49:22 +03:00
main.go first commit 2026-06-06 19:49:22 +03:00
README.md first commit 2026-06-06 19:49:22 +03:00

Japanese OCR And Dictionary

This is a very basic OCR and dictionary for the Japanese language, that allows quick text extraction from a screenshot or screen region, and lookup of word meanings and usage.

This is a very bare-bones project meant for personal use. I still haven't nailed down the text extraction and splitting. As such, the app is not very reliable.

Acknowledgements

This project uses the following sources and tools:

Data Sources

JMdict is a great dictionary used for word meaning lookup.

Jonathan Wallers JLPT Resources contains information about words and kanjis grouped by JLPT levels.

Dependencies

Fyne is a good library for making native desktop applications.

TinySegmenter.go is a simple library for splitting sentences into words.

Lithammer's Fuzzy Search is good library for fuzzy searching text, which allows searching the dictionary.

Tools

slurp is used for selecting a screen region.

grim is used for capturing a screenshot of the selected region.

Tesseract is used for extracting text from the captured image.

Requirements

  • Wayland desktop
  • slurp for screen region selection
  • grim for screen capture
  • tesseract for text extraction from image