-
java统计单词
资源描述
本java程序实现:统计文章中单词出现的次数,并显示出现过的行号。
程序功能实现方式如下:
1.输入一行,对行号计数(也可一次输入全部文本,对行号计数)
2.为一行里的单词建立一个临时的数组,遍历每一个单词:若在单词表中没有,添加进入单词表(word + count +line); 若存在,个数加一(对应word的count++,line加上当前行号)。
3.输出单词表。
属性列名,word:单词;
count:出现次数;
line:出现行数
- 2022-05-10 19:24:32下载
- 积分:1
-
人脸表情识别实现
采用图片库,在检测阶段,首先对图片进行灰度化处理,光照补偿,然后进行去噪,进行图片边缘化处理,在进行归一化,使得图片一致,在特征提取过程中用PCA主成分分析法,对图片特征进行提取,然后投影在向量空间中,最后对测试图片进行最近距离的计算,从而选定最符合的表情模型。
- 2023-06-22 10:20:05下载
- 积分:1
-
program of simple
共享simple程序, 用于数值传热计算欢迎大家下载-program of simple
- 2022-02-09 14:30:13下载
- 积分:1
-
taxable procedures. Income can be calculated weekly, recently income from the be...
计税程序。可以计算每周收入、最近收入、从年初到目前的所得税、扣除的联邦收入税以及帐目检查等。
This program computes weekly payroll, current earnings, year to date earnings FICA tax, federal Income Tax Withheld, and check Amount.-taxable procedures. Income can be calculated weekly, recently income from the beginning of the current income tax, the deduction of federal income taxes as well as accounts of inspection. This program computes weekly payroll, current earnings, year to date earnings FICA tax, federal Income Tax Withheld, and check Amount.
- 2022-08-20 10:08:10下载
- 积分:1
-
计算序列的DFT的快速算法
计算序列的DFT的快速算法-DFT calculated sequence of the fast algorithm
- 2022-02-26 10:35:27下载
- 积分:1
-
数值计算经典算法
这些是数值计算方法的经典算法
- 2022-09-28 10:25:03下载
- 积分:1
-
C语言写的C++词法分析器
词法分析程序可以分析在C语言中:标识符(以字母或下划线,后面可以是字母数字字符或下划线)说明:(1)[]中的分隔符,没有给出,在这里? :sizeof运算也没给出11种分隔符32种关键字使用转换表的设计,运算速度的程序,我还可以识别每个符号的数量。这一方案与VS2010 MFC的设计,欢迎大家下载分享
- 2022-11-29 07:35:04下载
- 积分:1
-
Vondrak算法:主要用于未知函数测量数据滤波
Vondrak算法:主要用于未知函数测量数据滤波-Vondrak algorithm: being used in the filtering of measuring data whose function is unknown.
- 2022-02-07 20:14:03下载
- 积分:1
-
迭代加深八数码
#include
#include
using namespace std;//变量声明
class EiNum;
#define MAX 20//MAX为最大的迭代深度
int depth;//当前树的最大深度
EiNum * root[MAX + 1];//重复当前的路径
//交换两个数
void Swap(int &a,int &b) {
int temp;
temp = a;
a = b;
b
- 2022-08-10 21:09:51下载
- 积分:1
-
这里有不少搞过ACM程序设计大赛的达人吧,这篇文章是从网上偶然得到,指出了ACM竞赛赛题的某些发展方向。挺值得一看。...
这里有不少搞过ACM程序设计大赛的达人吧,这篇文章是从网上偶然得到,指出了ACM竞赛赛题的某些发展方向。挺值得一看。-Here has been engaged in a number of ACM programming contest it Tatsu people, this article was obtained from the Internet by accident, pointing out that the ACM contest the title match certain direction of development. Quite worth a visit.
- 2022-05-17 13:30:56下载
- 积分:1