{"id":13683284,"url":"https://github.com/polm/cutlet","last_synced_at":"2026-02-01T15:39:12.201Z","repository":{"id":50342237,"uuid":"256231118","full_name":"polm/cutlet","owner":"polm","description":"Japanese to romaji converter in Python","archived":false,"fork":false,"pushed_at":"2025-06-02T05:08:54.000Z","size":534,"stargazers_count":371,"open_issues_count":3,"forks_count":24,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-01-07T17:37:12.131Z","etag":null,"topics":["japanese","nlp","romaji"],"latest_commit_sha":null,"homepage":"https://polm.github.io/cutlet/","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/polm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"polm"}},"created_at":"2020-04-16T14:00:34.000Z","updated_at":"2026-01-04T13:19:05.000Z","dependencies_parsed_at":"2024-01-14T17:05:44.758Z","dependency_job_id":"2ef2a125-4b94-40d9-a117-ecba8f8cedc1","html_url":"https://github.com/polm/cutlet","commit_stats":{"total_commits":96,"total_committers":6,"mean_commits":16.0,"dds":0.08333333333333337,"last_synced_commit":"d03f11c52a7cc7ed29a17d538e9271d693cb1cd0"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/polm/cutlet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polm%2Fcutlet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polm%2Fcutlet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polm%2Fcutlet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polm%2Fcutlet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polm","download_url":"https://codeload.github.com/polm/cutlet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polm%2Fcutlet/sbom","scorecard":{"id":740249,"data":{"date":"2025-08-11","repo":{"name":"github.com/polm/cutlet","commit":"f6726d4c5b994901026af980f707dd3f25e16e5d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Maintained","score":2,"reason":"2 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":1,"reason":"Found 3/30 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/docs.yml:11","Warn: no topLevel permission defined: .github/workflows/linux.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/polm/cutlet/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/polm/cutlet/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/polm/cutlet/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/polm/cutlet/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linux.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/polm/cutlet/linux.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linux.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/polm/cutlet/linux.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/docs.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/docs.yml:25","Warn: pipCommand not pinned by hash: .github/workflows/linux.yml:20","Warn: pipCommand not pinned by hash: .github/workflows/linux.yml:21","Warn: pipCommand not pinned by hash: .github/workflows/linux.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/linux.yml:32","Warn: pipCommand not pinned by hash: .github/workflows/linux.yml:33","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T17:13:30.530Z","repository_id":50342237,"created_at":"2025-08-22T17:13:30.530Z","updated_at":"2025-08-22T17:13:30.530Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28981350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T15:35:50.179Z","status":"ssl_error","status_checked_at":"2026-02-01T15:35:38.075Z","response_time":56,"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":["japanese","nlp","romaji"],"created_at":"2024-08-02T13:02:06.219Z","updated_at":"2026-02-01T15:39:12.188Z","avatar_url":"https://github.com/polm.png","language":"Python","funding_links":["https://github.com/sponsors/polm"],"categories":["Python"],"sub_categories":[],"readme":"[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://polm-cutlet-demo-demo-0tur8v.streamlit.app/)\n[![Current PyPI packages](https://badge.fury.io/py/cutlet.svg)](https://pypi.org/project/cutlet/)\n\n# cutlet\n\n\u003cimg src=\"https://github.com/polm/cutlet/raw/main/cutlet.png\" width=125 height=125 alt=\"cutlet by Irasutoya\" /\u003e\n\nCutlet is a tool to convert Japanese to romaji. Check out the [interactive demo][demo]! Also see the [docs](https://polm.github.io/cutlet/cutlet.html) and the [original blog post](https://www.dampfkraft.com/nlp/cutlet-python-romaji-converter.html). \n\n[demo]: https://polm-cutlet-demo-demo-0tur8v.streamlit.app/\n\n**issueを英語で書く必要はありません。**\n\nFeatures:\n\n- support for [Modified Hepburn](https://en.wikipedia.org/wiki/Hepburn_romanization), [Kunreisiki](https://en.wikipedia.org/wiki/Kunrei-shiki_romanization), [Nihonsiki](https://en.wikipedia.org/wiki/Nihon-shiki_romanization) systems\n- custom overrides for individual mappings\n- custom overrides for specific words\n- built in exceptions list (Tokyo, Osaka, etc.)\n- uses foreign spelling when available in UniDic\n- proper nouns are capitalized\n- slug mode for url generation\n\nThings not supported:\n\n- traditional Hepburn n-to-m: Shimbashi\n- macrons or circumflexes: Tōkyō, Tôkyô\n- passport Hepburn: Satoh (but you can use an exception)\n- hyphenating words\n- Traditional Hepburn in general is not supported\n\nInternally, cutlet uses [fugashi](https://github.com/polm/fugashi), so you can\nuse the same dictionary you use for normal tokenization.\n\n## Installation\n\nCutlet can be installed through pip as usual.\n\n    pip install cutlet\n\nNote that if you don't have a MeCab dictionary installed you'll also have to\ninstall one. If you're just getting started\n[unidic-lite](https://github.com/polm/unidic-lite) is a good choice.\n\n    pip install unidic-lite\n\n## Usage\n\nA command-line script is included for quick testing. Just use `cutlet` and each\nline of stdin will be treated as a sentence. You can specify the system to use\n(`hepburn`, `kunrei`, `nippon`, or `nihon`) as the first argument.\n\n    $ cutlet\n    ローマ字変換プログラム作ってみた。\n    Roma ji henkan program tsukutte mita.\n\nIn code:\n\n```python\nimport cutlet\nkatsu = cutlet.Cutlet()\nkatsu.romaji(\"カツカレーは美味しい\")\n# =\u003e 'Cutlet curry wa oishii'\n\n# you can print a slug suitable for urls\nkatsu.slug(\"カツカレーは美味しい\")\n# =\u003e 'cutlet-curry-wa-oishii'\n\n# You can disable using foreign spelling too\nkatsu.use_foreign_spelling = False\nkatsu.romaji(\"カツカレーは美味しい\")\n# =\u003e 'Katsu karee wa oishii'\n\n# kunreisiki, nihonsiki work too\nkatu = cutlet.Cutlet('kunrei')\nkatu.romaji(\"富士山\")\n# =\u003e 'Huzi yama'\n\n# comparison\nnkatu = cutlet.Cutlet('nihon')\n\nsent = \"彼女は王への手紙を読み上げた。\"\nkatsu.romaji(sent)\n# =\u003e 'Kanojo wa ou e no tegami wo yomiageta.'\nkatu.romaji(sent)\n# =\u003e 'Kanozyo wa ou e no tegami o yomiageta.'\nnkatu.romaji(sent)\n# =\u003e 'Kanozyo ha ou he no tegami wo yomiageta.'\n```\n\n## Alternatives\n\n- [kakasi](http://kakasi.namazu.org/index.html.ja): Historically important, but not updated since 2014. \n- [pykakasi](https://codeberg.org/miurahr/pykakasi): self contained, it does segmentation on its own and uses its own dictionary.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolm%2Fcutlet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolm%2Fcutlet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolm%2Fcutlet/lists"}