{"id":16637467,"url":"https://github.com/chaklim/jyutping-table-parser","last_synced_at":"2025-10-16T09:43:23.060Z","repository":{"id":32320112,"uuid":"132234046","full_name":"chaklim/jyutping-table-parser","owner":"chaklim","description":"just a JPTableFull.pdf parser","archived":false,"fork":false,"pushed_at":"2023-07-12T05:00:52.000Z","size":482,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T14:11:16.515Z","etag":null,"topics":["jptablefull","jyutping","parser"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/chaklim.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}},"created_at":"2018-05-05T09:35:29.000Z","updated_at":"2024-03-16T04:36:06.000Z","dependencies_parsed_at":"2022-08-07T17:15:50.380Z","dependency_job_id":null,"html_url":"https://github.com/chaklim/jyutping-table-parser","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/chaklim/jyutping-table-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaklim%2Fjyutping-table-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaklim%2Fjyutping-table-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaklim%2Fjyutping-table-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaklim%2Fjyutping-table-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaklim","download_url":"https://codeload.github.com/chaklim/jyutping-table-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaklim%2Fjyutping-table-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279174180,"owners_count":26119214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"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":["jptablefull","jyutping","parser"],"created_at":"2024-10-12T06:25:43.493Z","updated_at":"2025-10-16T09:43:23.013Z","avatar_url":"https://github.com/chaklim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jyutping Table Parser\n[![Build Status](https://travis-ci.org/chaklim/jyutping-table-parser.svg?branch=master)](https://travis-ci.org/chaklim/jyutping-table-parser)\n\njust a JPTableFull.pdf parser\n\n[JPTableFull PDF Download](http://www.iso10646hk.net/download/jp/doc/JPTableFull.pdf)\n\n## Installation\n\n  `npm install jyutping-table-parser`\n\n## Usage\n\n    const jyutpingTableParser = require('jyutping-table-parser');\n\n    const characters = jyutpingTableParser.parseJyutpingInput();\n\n  Output (characters) should be\n\n    [\n      {\n        type: TYPE,\n        rg: RG,\n        rad: RAD,\n        ucs2: UCS2,\n        ch: CH,\n        infoArray: [\n          {\n            jyutping: JYUTPING,\n            en: EN,\n            pn: PN,\n            cl: CL,\n            sc: SC,\n            ref: [\n              {\n                ucs2: UCS2,\n                ch: CH,\n              },\n              ...\n            ]\n          },\n          ...\n        ]\n      },\n      ...\n    ]\n\n---\n## Output Value Description\n\n#### TYPE - Character Type.\n- (Optional) Array of string with possible values\n\n      '\u003c', '#', '\u003e', 'S', '$', '*', '**', '***', '****'\n\n#### RG\n- Number with possible values 1, 2 or 3.\n\n#### RAD - Radical.\n- (Optional) Boolean, true if the character is radical\n\n#### UCS2 - UCS-2 encoding value.\n- String. Range between '3400' - 'F7EE'\n\n#### CH - The character.\n- String. Unicode re-mapped to HKSCS_2016 one.\n\n#### JYUTPING - Jyutping values\n- (Optional) Array of String each contains a jyutping value.\n\n#### EN\n  - (Optional) String with possible values 's', 't'\n\n#### PN - Phonetic.\n  - Number starts with 1.\n\n#### CL\n  - (Optional) Boolean.\n\n#### SC\n  - (Optional) String with value '1.x' or '2'\n\nFor more detailed value description, please reference the original PDF section 5.\n\n---\n\n## Output Example\n\n    {\n      \"type\": [\n        \"\u003e\"\n      ],\n      \"rg\": 1,\n      \"ucs2\": \"9673\",\n      \"ch\": \"陳\",\n      \"infoArray\": [\n        {\n          \"jyutping\": [\n            \"can4\"\n          ],\n          \"en\": \"t\",\n          \"pn\": 1\n        },\n        {\n          \"jyutping\": [\n            \"can2\"\n          ],\n          \"en\": \"t\",\n          \"pn\": 2,\n          \"cl\": true,\n          \"sc\": \"2\"\n        },\n        {\n          \"jyutping\": [\n            \"zan6\"\n          ],\n          \"en\": \"t\",\n          \"pn\": 3\n        }\n      ]\n    }\n\n## Tests\n\n  `npm test` or `yarn test`\n\n## Contributing\n\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaklim%2Fjyutping-table-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaklim%2Fjyutping-table-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaklim%2Fjyutping-table-parser/lists"}