Skip to content

Repository files navigation

bunbu logo: the kanji 文 (text) on a blue background

PRs welcome app status license Clean commits

try it now~

analyse the frequency of words in Japanese text

learning Japanese? wondering which words appear most often in that book, film, or conversation?

paste or load any Japanese text and bunbu will break it down into individual words, showing you how often each one appears. useful for deciding what vocabulary to prioritise, or just satisfying your curiosity〜

features

  • morphological analysis of Japanese text powered by Goya
  • word frequency table with counts, percentages, and parts of speech
  • furigana for kanji
  • links to online dictionaries (Jisho, Weblio, Kotobank, Goo, Wiktionary)
  • pronunciation references (Forvo, YouGlish, ImmersionKit) and text-to-speech
  • filter results by part of speech (nouns, verbs, adjectives, etc.)
  • multiple input methods: paste, type, or import files
  • 100% local processing — your text never leaves your device
  • works offline as a progressive web app (PWA)
  • installable on mobile and desktop

need help?

something not working? have an idea? let me know!

contributing

please do! i'd appreciate bug reports, improvements (however minor), suggestions…

bunbu is built with Astro and TypeScript. to run locally:

  1. clone the repository: git clone https://github.com/welpo/bunbu.git
  2. install dependencies: npm install
  3. start the dev server: npm run dev
  4. visit http://localhost:4321 in your browser

the important files are:

  • src/pages/index.astro: main page structure
  • src/scripts/main.ts: application logic
  • src/components/: UI components (modals, inputs, etc.)
  • public/workers/: web worker for text analysis
  • public/assets/js/: Goya WASM engine (see Goya build guide)

license

bunbu is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the license, or (at your option) any later version.

About

word frequency analysis of japanese text

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Sponsor this project

Contributors

Languages