{"id":13589173,"url":"https://github.com/seanghay/khmersegment","last_synced_at":"2025-03-16T07:42:05.251Z","repository":{"id":241135513,"uuid":"804449037","full_name":"seanghay/khmersegment","owner":"seanghay","description":"A Khmer word segmentation tool built for NIPTICT (now CADT) Khmer Word Segmentation CRF model.","archived":false,"fork":false,"pushed_at":"2024-05-22T16:30:08.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-22T16:32:18.870Z","etag":null,"topics":["cambodia","crf","crfpp","khmer","word-segmentation"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/khmersegment/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seanghay.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}},"created_at":"2024-05-22T15:56:17.000Z","updated_at":"2024-05-22T16:32:21.353Z","dependencies_parsed_at":"2024-05-22T16:32:20.968Z","dependency_job_id":"93dbdde4-06e1-49e6-a2fe-62e8b9a2a38a","html_url":"https://github.com/seanghay/khmersegment","commit_stats":null,"previous_names":["seanghay/khmersegment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fkhmersegment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fkhmersegment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fkhmersegment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fkhmersegment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanghay","download_url":"https://codeload.github.com/seanghay/khmersegment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243663593,"owners_count":20327306,"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","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":["cambodia","crf","crfpp","khmer","word-segmentation"],"created_at":"2024-08-01T16:00:24.560Z","updated_at":"2025-03-16T07:42:05.224Z","avatar_url":"https://github.com/seanghay.png","language":"Python","funding_links":[],"categories":["Projects","Awesome Khmer Language"],"sub_categories":["Khmer AI Projects","2. Toolkit"],"readme":"## Khmer Segment\n\nA Khmer word segmentation tool built for NIPTICT (now CADT) Khmer Word Segmentation CRF model.\n\n\u003e [!IMPORTANT]  \n\u003e `km-5tag-seg-model` is required for this script to work. This library doesn't provide the model file.\n\n### Usage\n\n```\npip install khmersegment\n```\n\n```python\nfrom khmersegment import Segmenter\n\nsegmenter = Segmenter(\"-m km-5tag-seg-model\")\n\nprint(segmenter(\"Hello មិនដឹងប្រាប់អ្នកណាទេ?\", deep=False))\n# =\u003e ['Hello', ' ', 'មិន', 'ដឹង', 'ប្រាប់', 'អ្នកណា', 'ទេ', '?']\n\nprint(segmenter(\"Hello មិនដឹងប្រាប់អ្នកណាទេ?\", deep=True))\n# =\u003e ['Hello', ' ', 'មិន', 'ដឹង', 'ប្រាប់', 'អ្នក', 'ណា', 'ទេ', '?']\n\n```\n\n### License\n\n`Apache-2.0`\n\n\n### Related\n\n- [pycrfpp](https://github.com/seanghay/pycrfpp) Python binding for CRF++\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanghay%2Fkhmersegment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanghay%2Fkhmersegment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanghay%2Fkhmersegment/lists"}