资 源 简 介
编写一个文本文件分析程序,读入一个英文文本文件,统计其中单词、数字、标点符号等元素出现的次数,并记录单词总数。 提示:对文件的分析可以使用StreamTokenizer类-prepared a text file analysis program, read an English text files, statistics words, numbers, punctuation and other elements of the number and the total number of recorded words. Tip : the analysis of the document can be used StreamTokenizer category