# wordCount **Repository Path**: sxm910/word-count ## Basic Information - **Project Name**: wordCount - **Description**: No description available - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-05-11 - **Last Updated**: 2022-06-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # wordCount - 用于统计文本中的字符个数和单词的个数 - 使用方法 - 打开终端 - 进入out/production/wordCount目录下 - 运行java wordCount -c test.txt可以统计当前目录下test.txt文件中的字符个数,包括换行符 - 运行java wordCount -w test.txt可以统计当前目录下test.txt文件中的单词个数 - 如果不在当前目录下则可以输入文件路径,例如/Users/sxm/Desktop/test.txt