登录
首页 » 算法 » 词频统计C++

词频统计C++

于 2023-04-02 发布 文件大小:3.54 MB
0 189
下载积分: 2 下载次数: 1

代码说明:

给定一篇英文文本,要求提取其中所有的单词并计算其一元词频(某个单词出现的次数)和二元词频(两个连续单词出现的次数) 举例:I have an apple . And you have an apple , too . 输出: i--1,have--2,an--2,apple--2,and--2,you--1,too--1 an apple--2   

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • sha-1 算法
    /* 100%免费公共域算法实现的长沙-1 由赖歇尔 Dominik < dominik.reichl@t-online.de > Web: http://www.dominik-reichl.de/ 版本 1.8-2008年-03-16 -转换为 Visual Studio 2008 格式的项目文件。 -添加 Unicode 支持 HashFile 实用程序方法。 -添加对哈希文件使用 HashFile 方法的支持,是 大于 2 GB。 -HashFile 现在返回一个错误代码,而不是复制错误 到输出缓冲区中的消息。 -GetHash 现在返回一个错误代码,并通过验证的输入的参数。 -添加 ReportHashStl STL 实用程序方法。
    2022-01-26 07:50:53下载
    积分:1
  • rotation matrix algorithm
    旋转矩阵的实现算法-rotation matrix algorithm
    2022-03-10 02:23:35下载
    积分:1
  • FCM matlab
    遗传算法,可应用于图像处理等领域,英文名称为Genetic Algorithm,是一种非常经典的方法,该matlab程序为原创程序,简易清晰明了,标注得当,采用文件包,内含代码以及遗传算法的报告说明及几个论文,供学习交流。
    2022-05-31 06:26:52下载
    积分:1
  • 获得最大并行度的哲学家问题解法
    获得最大并行度的哲学家问题解法-maximum degree of parallelism philosopher Solutions
    2022-03-06 17:35:00下载
    积分:1
  • 信息论LD编码解码
    信息论LD编码解码-LD codec information theory
    2023-06-18 19:15:03下载
    积分:1
  • android first home screen
    android first home screen
    2022-03-01 22:36:30下载
    积分:1
  • stm32 MPU6050例子
    资源描述stm32 MPU6050例子 陀螺仪进行姿态解算,涉及到信号采集,姿态解算。卡尔曼滤波等多种算法,,,
    2022-03-25 06:10:47下载
    积分:1
  • elliptic partial differential equation algorithm applied to solving rectangular...
    二阶椭圆偏微分方程的差分算法,适用于求解矩形区域,任意边界条件。-elliptic partial differential equation algorithm applied to solving rectangular region, arbitrary boundary conditions.
    2022-04-25 13:57:58下载
    积分:1
  • 本代码是《计算机常用数值计算算法与程序 C++版》一书的配套数值拟合与逼近代码,这些C++程序已经在Virsual C++ 6.0环境下通过。注意,在VC++...
    本代码是《计算机常用数值计算算法与程序 C++版》一书的配套数值拟合与逼近代码,这些C++程序已经在Virsual C++ 6.0环境下通过。注意,在VC++ 6.0中设置好路径,特别是include目录(文件夹)的路径,否则在编译时会出现找不到头文件的错误,使编译无法正常进行。-the code is "commonly used computer numerical algorithms and procedures C version," a book supporting numerical approximation fitted with the code, these procedures have been in C C 6.0 Virsual environment through. The attention of the VC 6.0 installed path, in particular include directory (folder) path, otherwise there will be compiled header files could not find the mistakes and the compiler not normal.
    2022-06-27 07:38:27下载
    积分:1
  • 人工蜂群算法
    资源描述人工蜂群算法ABC 函数优化 原始算法MATLAB   程序
    2023-04-22 17:15:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载