{"id":16683866,"url":"https://github.com/meniny/tokenizer","last_synced_at":"2025-06-16T22:06:24.007Z","repository":{"id":56924388,"uuid":"115492624","full_name":"Meniny/Tokenizer","owner":"Meniny","description":"🧜🏻‍♂️ A tiny human language tokenizer framework in Swift.","archived":false,"fork":false,"pushed_at":"2019-04-06T06:52:47.000Z","size":185,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T12:39:00.277Z","etag":null,"topics":["cocoa","ios","swift","tokenizer"],"latest_commit_sha":null,"homepage":"https://meniny.cn/","language":"Swift","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/Meniny.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":"2017-12-27T07:07:52.000Z","updated_at":"2019-04-08T13:38:37.000Z","dependencies_parsed_at":"2022-08-21T05:20:51.402Z","dependency_job_id":null,"html_url":"https://github.com/Meniny/Tokenizer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Meniny/Tokenizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FTokenizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FTokenizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FTokenizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FTokenizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Meniny","download_url":"https://codeload.github.com/Meniny/Tokenizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FTokenizer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260249958,"owners_count":22980764,"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":["cocoa","ios","swift","tokenizer"],"created_at":"2024-10-12T14:26:59.320Z","updated_at":"2025-06-16T22:06:23.498Z","avatar_url":"https://github.com/Meniny.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003c!-- \u003cimg src=\"\" alt=\"Tokenizer\"\u003e --\u003e\n  \u003cbr/\u003e\u003ca href=\"https://cocoapods.org/pods/Tokenizer\"\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/badge/version-1.1.1-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Author\" src=\"https://img.shields.io/badge/author-Meniny-blue.svg\"\u003e\n  \u003cimg alt=\"Build Passing\" src=\"https://img.shields.io/badge/build-passing-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Swift\" src=\"https://img.shields.io/badge/swift-4.0%2B-orange.svg\"\u003e\n  \u003cbr/\u003e\n  \u003cimg alt=\"Platforms\" src=\"https://img.shields.io/badge/platform-macOS%20%7C%20iOS%20%7C%20watchOS%20%7C%20tvOS-lightgrey.svg\"\u003e\n  \u003cimg alt=\"MIT\" src=\"https://img.shields.io/badge/license-MIT-blue.svg\"\u003e\n  \u003cbr/\u003e\n  \u003cimg alt=\"Cocoapods\" src=\"https://img.shields.io/badge/cocoapods-compatible-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Carthage\" src=\"https://img.shields.io/badge/carthage-working%20on-red.svg\"\u003e\n  \u003cimg alt=\"SPM\" src=\"https://img.shields.io/badge/swift%20package%20manager-working%20on-red.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# Introduction\n\n## What's this?\n\n`Tokenizer` is a tiny human language tokenizer framework in Swift..\n\n## Preview\n\n![Preview](https://i.loli.net/2017/12/27/5a434ea59f2bc.jpg)\n\n## Installation\n\n#### CocoaPods\n\n```ruby\npod 'Tokenizer'\n```\n\n## Contribution\n\nYou are welcome to fork and submit pull requests.\n\n## License\n\n`Tokenizer` is open-sourced software, licensed under the `MIT` license.\n\n## Usage\n\n```swift\nimport Tokenizer\n\nlet stackoverflow = \"Stack Overflow is the largest, most trusted online community for developers to learn, share their programming knowledge, and build their careers.\"\nlet baidu = \"全球最大的中文搜索引擎、最大的中文网站。1999年底,身在美国硅谷的李彦宏看到了中国互联网及中文搜索引擎服务的巨大发展潜力，抱着技术改变世界的梦想，他毅然辞掉硅谷的高薪工作，携搜索引擎专利技术，于 2000年1月1日在中关村创建了百度公司。\"\n\ndump(stackoverflow.tokenize())\ndump(Tokenizer.tokenize(text: baidu))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeniny%2Ftokenizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeniny%2Ftokenizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeniny%2Ftokenizer/lists"}