Skip to main content

Create Kanji Grids out of Text

Project description

kanjigrid

Create Kanji Grids out of Text

pip install kanjigrid

MWE

import kanjigrid

gridder = kanjigrid.Gridder("Kanji", 40, "Header", 52)
grading = kanjigrid.Jouyou()

with open("test.txt", "r", encoding="utf-8") as f:
    data = f.read()

gridder.feed_text(data)
grid = gridder.make_grid(grading, outside_of_grading=True, stats=True, bar_graph=True)
grid.save("test.png")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kanjigrid-0.0.5.tar.gz (26.1 kB view hashes)

Uploaded Source

Built Distribution

kanjigrid-0.0.5-py3-none-any.whl (25.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page