{"id":24530712,"url":"https://github.com/garthtb/wordfreqcounter","last_synced_at":"2025-04-14T18:08:32.794Z","repository":{"id":244709417,"uuid":"816025772","full_name":"GarthTB/WordFreqCounter","owner":"GarthTB","description":"盲分词的中文语料词频统计器","archived":false,"fork":false,"pushed_at":"2025-01-26T18:28:40.000Z","size":161,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T18:08:24.427Z","etag":null,"topics":["counter","csharp","nlp","windows","wordfrequency"],"latest_commit_sha":null,"homepage":"","language":"C#","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/GarthTB.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-06-16T21:17:32.000Z","updated_at":"2025-03-14T04:17:11.000Z","dependencies_parsed_at":"2024-12-03T08:35:31.861Z","dependency_job_id":null,"html_url":"https://github.com/GarthTB/WordFreqCounter","commit_stats":null,"previous_names":["garthtb/wordfreqcounter"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GarthTB%2FWordFreqCounter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GarthTB%2FWordFreqCounter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GarthTB%2FWordFreqCounter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GarthTB%2FWordFreqCounter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GarthTB","download_url":"https://codeload.github.com/GarthTB/WordFreqCounter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248933338,"owners_count":21185460,"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":["counter","csharp","nlp","windows","wordfrequency"],"created_at":"2025-01-22T08:17:25.836Z","updated_at":"2025-04-14T18:08:32.787Z","avatar_url":"https://github.com/GarthTB.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 中文盲分词词频统计器\n\n在我的个人电脑上，约10亿字的中文互联网语料，统计2字词，不加标点符号，大约1分15秒出结果。\n\n语料文件须为UTF-8编码。默认中文范围为4e00-9fff（16进制）。\n\n## 环境依赖\n\n- [.NET 9.0运行时](https://dotnet.microsoft.com/zh-cn/download/dotnet/9.0)\n\n## 统计原理：\n\n每次进行两轮统计。假设要统计n字词：\n\n- 第一轮：统计所有相邻的n个汉字组合出现的次数。\n- 第二轮：每(2n-1)个相邻的字为一个滑动窗口，每个窗口中有n个词，滑动步长为n。根据第一轮统计的结果，统计窗口中词频最高的那一个词（最可能是词）。\n\n## 更新日志\n\n### v0.5.1 - 20250127\n\n- 优化：不使用StringBuilder，直接切片字符串\n\n### v0.5.0 - 20241203\n\n- 优化：升级为.NET 9框架\n\n### v0.4.0 - 20240831\n\n- 优化：经过跑分测试，改用性能最好的StringBuilder\n- 优化：去除不必要的逻辑，去除命令行传参\n\n### v0.3.2 - 20240824\n\n- 修复：一处类型错误\n- 优化：精简代码\n- 优化：整理项目结构\n\n### v0.3.0 - 20240619\n\n- 并行计算，大幅提升性能\n\n### v0.2.2 - 20240617\n\n- 提升性能，漏洞修复\n\n### v0.1.0 - 20240617\n\n- 发布！\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarthtb%2Fwordfreqcounter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarthtb%2Fwordfreqcounter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarthtb%2Fwordfreqcounter/lists"}