-
java统计单词
资源描述
本java程序实现:统计文章中单词出现的次数,并显示出现过的行号。
程序功能实现方式如下:
1.输入一行,对行号计数(也可一次输入全部文本,对行号计数)
2.为一行里的单词建立一个临时的数组,遍历每一个单词:若在单词表中没有,添加进入单词表(word + count +line); 若存在,个数加一(对应word的count++,line加上当前行号)。
3.输出单词表。
属性列名,word:单词;
count:出现次数;
line:出现行数
- 2022-05-10 19:24:32下载
- 积分:1
-
BIG5和GB码转换
Big5和GB码相互转换-Big5 and GB code conversion
- 2022-07-10 12:18:02下载
- 积分:1
-
一个用Basic实现的B
一个用Basic实现的B-Tree算法- The B-Tree algorithm which realizes with Basic
- 2022-01-23 11:15:55下载
- 积分:1
-
一个用来计算矩阵运算的函数库,希望对大家有用
一个用来计算矩阵运算的函数库,希望对大家有用-One used to calculate the matrix operations of the library and hope for all of us
- 2023-06-13 21:55:05下载
- 积分:1
-
VB numerical integration algorithm set. Quadrature including the trapezoidal met...
用VB实现数值积分的算法集。包括梯形求积法,反常积分,三重积分,龙贝格方法,辛卜生方法等6种方法。-VB numerical integration algorithm set. Quadrature including the trapezoidal method, abnormal integral triple integral, Romberg, Oracle Health means six ways.
- 2022-06-03 03:01:45下载
- 积分:1
-
维特比译码
维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码维特比译码
- 2022-11-20 20:40:03下载
- 积分:1
-
交易算法函数
Floyed算法void floyed(void)// a[i][j]表示结点i到结点j的最短路径长度,初始时值为的权值。{for(int k=1;k
- 2022-07-03 01:13:01下载
- 积分:1
-
最尺度法的C++算法程序,计算速度较快较精确
最尺度法的C++算法程序,计算速度较快较精确-The most scales of the C++ algorithm program to calculate a more accurate speed
- 2022-06-15 15:26:40下载
- 积分:1
-
SHA-1c 语言实现
它是一种哈希算法。它用于产生数字签名和指纹图谱的文件或邮件...它采取任意长度的消息和固定长度的摘要 (160) 的生产。
- 2022-08-04 00:29:01下载
- 积分:1
-
功能强大的计算器,采用仿C语言表达式语法 并且给出表达式的逆波兰表达式,支持二十余种函数运算,程序经测试成功...
功能强大的计算器,采用仿C语言表达式语法 并且给出表达式的逆波兰表达式,支持二十余种函数运算,程序经测试成功-powerful calculator, using fake C language syntax expression and expression is the inverse Poland expression, I support 20 species of Operational functions, procedures have been tested successfully
- 2023-07-20 20:55:04下载
- 积分:1