8000 GitHub - hpcn52/Xictionary: 帮你从英文试卷中统计单词出现的频次,结果保存到txt文件中
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hpcn52/Xictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Xictionary

帮你从英文试卷中统计单词出现的频次,结果保存到txt文件中

  • 目前仅支持txt格式或其他类型的纯文本文件

如何使用

将需要统计的文章和现有的XICT文件移至Xictionary所在目录内,运行

python xictionary.py

根据提示符输入完整的文件名(如abc.txt),现有的XICT文件可以为空,若新的XICT文件取名与旧的相同,则会覆盖

例子

d:\Xictionary>python xictionary.py
please input XICT file name:
no XICT file
please input passage file name:The Old Man And the Sea.txt
successful: load passage file!
successful: passage file --> XICT
please input new xict file name:XICT_20150630.txt
successful: write to new XICT is OK!

XICT_20150630.txt

每行一个单词,数字代表出现频次,下次作为XICT文件导入时,统计量可以累加到新的XICT文件中

the - 2495
and - 1428
he - 915
of - 778
to - 549
a - 526
his - 491
I - 469
in - 465
was - 463
…

About

帮你从英文试卷中统计单词出现的频次,结果保存到txt文件中

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0