{"id":21934922,"url":"https://github.com/tueda/shikaku","last_synced_at":"2026-01-29T11:40:01.391Z","repository":{"id":205551763,"uuid":"714517770","full_name":"tueda/shikaku","owner":"tueda","description":"Toolbox for Japanese text.","archived":false,"fork":false,"pushed_at":"2025-11-24T07:24:07.000Z","size":62,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T22:33:34.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tueda.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-05T04:39:18.000Z","updated_at":"2025-11-24T07:24:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"377a0d80-8c54-47af-aff9-63b2962efecd","html_url":"https://github.com/tueda/shikaku","commit_stats":null,"previous_names":["tueda/shikaku"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/tueda/shikaku","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fshikaku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fshikaku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fshikaku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fshikaku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tueda","download_url":"https://codeload.github.com/tueda/shikaku/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tueda%2Fshikaku/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28876761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T00:17:44.474Z","updated_at":"2026-01-29T11:40:01.371Z","avatar_url":"https://github.com/tueda.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shikaku (詩客)\n\n[![Test](https://github.com/tueda/shikaku/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/tueda/shikaku/actions/workflows/test.yml?query=branch%3Amain)\n[![PyPI version](https://badge.fury.io/py/shikaku.svg)](https://pypi.org/project/shikaku/)\n\nToolbox for Japanese text.\n\n## Example\n\n```python\nfrom shikaku import load_aozorabunko, TextModel, WordCloud\nimport matplotlib.pyplot as plt\n\n# Aozora Bunko, author_id = 35, work_id = 1567 ==\u003e Run, Melos!\ntext = load_aozorabunko(35, 1567)\n\n# Text generator using Markov chains.\nmodel = TextModel()\nmodel.fit(text)\nresult = model.generate()\nprint(result)\n\n# Word cloud.\nwc = WordCloud()\nwc.fit(text)\nresult = wc.generate()\nresult.to_file(\"wc.png\")\n\n# Visualize Markov chains (preliminary).\nmodel = TextModel(state_size=1)\nmodel.fit(\"吾輩は猫である。名前はまだない。\")\nmodel.plot()\nplt.savefig(\"model.png\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftueda%2Fshikaku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftueda%2Fshikaku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftueda%2Fshikaku/lists"}