https://github.com/hollowman6/english-word-frequency-statistics-program
English Word Frequency Statistics Program realized by C. (英文词频统计程序)
https://github.com/hollowman6/english-word-frequency-statistics-program
c word-frequency
Last synced: 8 months ago
JSON representation
English Word Frequency Statistics Program realized by C. (英文词频统计程序)
- Host: GitHub
- URL: https://github.com/hollowman6/english-word-frequency-statistics-program
- Owner: HollowMan6
- License: gpl-3.0
- Created: 2019-01-01T16:44:49.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T15:53:31.000Z (over 5 years ago)
- Last Synced: 2025-03-25T17:22:33.565Z (9 months ago)
- Topics: c, word-frequency
- Language: C
- Homepage:
- Size: 512 KB
- Stars: 8
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 英文词频统计程序
[](../../graphs/commit-activity)
[](../../releases)

[](https://github.com/HollowMan6?tab=followers)
[](../../watchers)
[](../../stargazers)
[](../../network/members)
[](https://hollowman6.github.io/fund.html)
[](https://opensource.org/licenses/GPL-3.0/)
[](../../archive/master.zip)
使用C语言实现。
## 原理:
使用改进的二叉查找树储存单词及其出现的次数(具体见[源代码](英文词频统计程序.c))
## 测试:
使用莎士比亚戏剧文章进行了测试,这里附上[测试样例](test/shakespeare.txt)以及[测试结果](test/count.txt)
# English Word Frequency Statistics Program
English Word Frequency Statistics Program realized by C
## Principle:
Use the improved two fork search tree to store words and the number of times they appear ([see source code](英文词频统计程序.c) for details).
## Test:
Test using Shakespeare's drama. Here are the [sample](test/shakespeare.txt) and [test result](test/count.txt).