Skip to content

English Word Frequency Statistics Program realized by C. (英文词频统计程序)

License

Notifications You must be signed in to change notification settings

HollowMan6/English-Word-Frequency-Statistics-Program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

英文词频统计程序

last-commit release-date C/C++ CI

Followers watchers stars forks

Open Source Love GPL Licence Repo-Size

使用C语言实现。

原理:

使用改进的二叉查找树储存单词及其出现的次数(具体见源代码

测试:

使用莎士比亚戏剧文章进行了测试,这里附上测试样例以及测试结果

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 for details).

Test:

Test using Shakespeare's drama. Here are the sample and test result.