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

词频统计C++

于 2023-04-02 发布 文件大小:3.54 MB
0 195
下载积分: 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 个回复

  • 基于BSP 和L
    基于BSP 和L-system 植物的随机生成和模拟的研究-Based on BSP and L-plant system of random generation and simulation research
    2022-02-05 02:51:43下载
    积分:1
  • 四人过河求时间最短问题
    四人过河求时间最短问题-four for the shortest river issues
    2022-02-25 19:45:22下载
    积分:1
  • 这个固件免费提供的TRF7960
    this the firmware provided freely for the trf7960
    2022-06-21 15:45:54下载
    积分:1
  • mainly for high
    主要用于高层建筑的减振设计,根据线性振动理论,用matlab高级语言编写而成,由一个主程序和四个子程序组成-mainly for high-rise building design of the vibration, linear vibration theory, use the advanced language Matlab has been prepared by a main program and four subroutine composition
    2022-12-26 11:50:03下载
    积分:1
  • 弦截法求解非线性方程,已在TC2.0环境中编译通过
    弦截法求解非线性方程,已在TC2.0环境中编译通过-xianjie method for solving nonlinear equations, in the environment WITH TC 2.0 compiler through
    2022-01-26 05:18:18下载
    积分:1
  • 数字罗盘HMC5883L的LPC1769
    该项目展示了如何使用HMC5883L磁力作为数字罗盘,并打印出值度在控制台上显示,其中磁力面临的方向。范围是0-359度,其中0表示北,90是东,180是南部和270是北方。但是,不包括倾斜补偿。h和.c文件包含随主程序。I2C用于磁力和数字罗盘之间的通信。我提到http://bildr.org/2012/02/hmc5883l_arduino/的代码,改变以适合LPC1769。你可以找到更多的信息有关引脚连接。就个人而言,我用4.7K欧姆上拉电阻。
    2023-05-30 15:45:03下载
    积分:1
  • 追赶法求解三对角矩阵是数值算法中重要的一种,这个利用了求借热传导方程...
    追赶法求解三对角矩阵是数值算法中重要的一种,这个利用了求借热传导方程-chased solve three-diagonal matrix numerical algorithm is an important, the use of the demand by heat conduction equation
    2022-08-18 21:43:36下载
    积分:1
  • Mathematical Modeling of experiences, the preparation team and have team members...
    数学建模的经验之谈,对准备参赛及已经参赛的队员有一定的指导意义。对参加工作的科研人员也有一定借鉴作用。-Mathematical Modeling of experiences, the preparation team and have team members have a certain significance. For participating in the work of researchers also have some reference.
    2022-12-17 13:20:03下载
    积分:1
  • 求sinx 用级数展开的式子 可以通过输入n确定所求精度
    求sinx 用级数展开的式子 可以通过输入n确定所求精度-Sinx series expansion for the formula used by the importation of n order to determine the accuracy of
    2022-02-01 10:01:35下载
    积分:1
  • random number generator source code for C and Notes with a test case.
    随机数生成源代码,提供C++类和注释与一个测试例子。-random number generator source code for C and Notes with a test case.
    2022-01-26 07:51:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载