{"id":16418507,"url":"https://github.com/nitely/nim-segmentation","last_synced_at":"2026-04-03T03:34:18.184Z","repository":{"id":147558545,"uuid":"240717849","full_name":"nitely/nim-segmentation","owner":"nitely","description":"Unicode text segmentation (tr29)","archived":false,"fork":false,"pushed_at":"2024-09-19T00:39:29.000Z","size":41,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T18:37:26.971Z","etag":null,"topics":["nim","text-segmentation","unicode","word-break"],"latest_commit_sha":null,"homepage":"https://nitely.github.io/nim-segmentation/","language":"Nim","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/nitely.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}},"created_at":"2020-02-15T13:31:56.000Z","updated_at":"2024-09-19T00:39:32.000Z","dependencies_parsed_at":"2024-11-10T06:41:51.026Z","dependency_job_id":"ef80d743-dbd5-4729-b957-c885ebc67261","html_url":"https://github.com/nitely/nim-segmentation","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitely%2Fnim-segmentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitely%2Fnim-segmentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitely%2Fnim-segmentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitely%2Fnim-segmentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitely","download_url":"https://codeload.github.com/nitely/nim-segmentation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065281,"owners_count":21041872,"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":["nim","text-segmentation","unicode","word-break"],"created_at":"2024-10-11T07:14:18.693Z","updated_at":"2026-04-03T03:34:18.140Z","avatar_url":"https://github.com/nitely.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Segmentation\n\n[![licence](https://img.shields.io/github/license/nitely/nim-segmentation.svg?style=flat-square)](https://raw.githubusercontent.com/nitely/nim-segmentation/master/LICENSE)\n\nAn implementation of [Unicode Text Segmentation](https://unicode.org/reports/tr29/) (tr29). The splitting is made through a fast DFA.\n\n\u003e See [nim-graphemes](https://github.com/nitely/nim-graphemes) for grapheme cluster segmentation\n\n## Install\n\n```\nnimble install segmentation\n```\n\n# Compatibility\n\nNim 0.19, 0.20, +1.0.4\n\n## Usage\n\n```nim\nimport sequtils\nimport segmentation\n\nassert toSeq(\"The (“brown”) fox can’t jump 32.3 feet, right?\".words) ==\n  @[\"The\", \" \", \"(\", \"“\", \"brown\", \"”\", \")\", \" \", \"fox\", \" \",\n    \"can’t\", \" \", \"jump\", \" \", \"32.3\", \" \", \"feet\", \",\", \" \",\n    \"right\", \"?\"]\n```\n\n## Docs\n\n[Read the docs](https://nitely.github.io/nim-segmentation/)\n\n## Tests\n\n```\nnimble test\n```\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitely%2Fnim-segmentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitely%2Fnim-segmentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitely%2Fnim-segmentation/lists"}