文件名称:CountWord
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- Al***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个Java应用程序,使用RandomAccessFile流统计Hello.txt中的单词,要求如下:
(1)计算全文中共出现了多少个单词(重复的单词只计算一次);
(2)统计出有多少个单词只出现了一次;
(3)统计并显示出每个单词出现的频率,并将这些单词按出现频率高低顺序显示在一个TextArea中
-Write a Java application, using the RandomAccessFile stream statistics Hello.txt the word requirements are as follows: (1) Calculate the full text of Chinese words appeared in the number of (repeated word only once) (2) the statistics of the number of words only appeared once (3) Statistics and shows the frequency of each word, and these words appear in the order of frequency of appearance in a TextArea in the
(1)计算全文中共出现了多少个单词(重复的单词只计算一次);
(2)统计出有多少个单词只出现了一次;
(3)统计并显示出每个单词出现的频率,并将这些单词按出现频率高低顺序显示在一个TextArea中
-Write a Java application, using the RandomAccessFile stream statistics Hello.txt the word requirements are as follows: (1) Calculate the full text of Chinese words appeared in the number of (repeated word only once) (2) the statistics of the number of words only appeared once (3) Statistics and shows the frequency of each word, and these words appear in the order of frequency of appearance in a TextArea in the
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CountWord.java