{"id":50410930,"url":"https://github.com/knu/imedic-tools","last_synced_at":"2026-05-31T03:30:59.138Z","repository":{"id":359376358,"uuid":"1245895567","full_name":"knu/imedic-tools","owner":"knu","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-21T17:08:45.000Z","size":9,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-22T00:25:57.077Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knu.png","metadata":{"files":{"readme":"README.md","changelog":null,"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},"funding":{"github":"knu"}},"created_at":"2026-05-21T17:01:29.000Z","updated_at":"2026-05-21T17:07:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/knu/imedic-tools","commit_stats":null,"previous_names":["knu/imedic-tools"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/knu/imedic-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fimedic-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fimedic-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fimedic-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fimedic-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knu","download_url":"https://codeload.github.com/knu/imedic-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fimedic-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33718446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2026-05-31T03:30:56.770Z","updated_at":"2026-05-31T03:30:59.131Z","avatar_url":"https://github.com/knu.png","language":"Ruby","funding_links":["https://github.com/sponsors/knu"],"categories":[],"sub_categories":[],"readme":"# imedic-tools\n\nThis gem provides command-line tools for converting Japanese input dictionary word-list files between common formats.\n\n## Features\n\n- **ATOK support**: Reads and writes ATOK word-list text files\n- **MS-IME support**: Reads and writes modern Microsoft IME word-list files with a Unicode header, UTF-16LE BOM, and CRLF line endings\n- **Kotoeri output**: Generates UTF-8 CSV files for Kotoeri-compatible import workflows\n- **Comment preservation**: Converts comments between ATOK and MS-IME comment syntax\n- **Multiple input files**: Accepts one or more input files and writes a combined dictionary to standard output\n\n## Installation\n\nInstall the gem from RubyGems:\n\n```sh\ngem install imedic-tools\n```\n\nThe scripts under `exe/` can also be used standalone without installing the gem.\n\n## Usage\n\nThis gem includes three tools:\n\n- `atok2msime`: Converts ATOK word-list files to Microsoft IME format\n- `msime2atok`: Converts Microsoft IME word-list files to ATOK format\n- `atok2kotoeri`: Converts ATOK word-list files to Kotoeri CSV format\n- `atok2atok`: Normalizes ATOK word-list files to UTF-16LE with a BOM and CRLF line endings\n\nUsage is common to all tools:\n\n```sh\natok2msime \u003c input.atok.txt \u003e output.msime.txt\natok2msime input1.atok.txt input2.atok.txt \u003e output.msime.txt\n```\n\nEach tool accepts one or more input files, or standard input when no file is given, and writes the converted word list to standard output.\n\n## ATOK Input Format\n\nInput files are expected to be ATOK word-list text files:\n\n```text\n!!ATOK_TANGO_TEXT_HEADER_1\n!! Optional comment\n\nよみ\t単語\t名詞*\n```\n\nThe tools read UTF-8 files and UTF-8/UTF-16 files with a BOM.\n\n## License\n\nThis project is distributed under the 2-clause BSD license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fimedic-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknu%2Fimedic-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fimedic-tools/lists"}