登录
首页 » 算法 » 拼写校正

拼写校正

于 2022-12-10 发布 文件大小:906.38 kB
0 84
下载积分: 2 下载次数: 1

代码说明:

应用背景使用最小编辑距离算法检查拼写校正 ;关键技术C源代码检查拼写校正的最小编辑距离和显示正确的单词在字典。

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

发表评论

0 个回复

  • 蚁群解决TSP旅游商问题
    function [R_best,L_best,L_ave,Shortest_Route,Shortest_Length]=ACATSP(C,NC_max,m,Alpha,Beta,Rho,Q)%%-------------------------------------------------------------------------%% 主要符号说明%% C n个城市的坐标,n×2的矩阵%% NC_max 最大迭代次数%% m 蚂蚁个数%% Alpha 表征信息素重要程度的参数%% Beta 表征启发式因子重要程度的参数%% Rho 信息素蒸发系数%% Q 信息素增加强度系数%% R_best 各代最佳路线%% L_best 各代最佳路线的长度%%========================================================================= %%第一步:变量初始化n=size(C,1);%n表示问题的规模(城市个数)D=zeros(n,n);%D表示完全图的赋权邻接矩阵for i=1:nfor j=1:nif i~=jD(i,j)=((C(i,1)-C(j,1))^2+(C(i,2)-C(j,2))^2)^0.5;elseD(i,j)=eps;      %i=j时不计算,应该为0,但后面的启发因子要取倒数,用eps(浮点相对精度)表示endD(j,i)=D(i,j);   %对称矩阵endend%{1.C就是城市坐标             x         y城市1    0
    2022-08-25 13:59:52下载
    积分:1
  • antcolony 蚁群觅食模拟
    antcolony 蚁群觅食模拟-antcolony ant foraging simulation
    2022-04-13 04:16:35下载
    积分:1
  • iir滤波实现线性相位
    linkwitz滤波器简单容易实现,且通带内频率幅度变化比较平坦,相位非常接近线性相位,对音频保质处理是非常有用的,而且该数字滤波器是可以实时实现的,也就是实时改变频率,实时数字滤波。并附带了LINKWITZ数字滤波器设计原理文档。
    2023-04-15 12:55:03下载
    积分:1
  • 简单的马尔科夫,Markov链数据提供了有当前状态决定,而又独立于当前状态的序列,此处是将给定的文本串生成新的随机文本...
    简单的马尔科夫算法,Markov链数据提供了有当前状态决定,而又独立于当前状态的序列,此处算法是将给定的文本串生成新的随机文本- Simple Sample of a Markov Chain Algorithm:A markov chain is a sequence of random variables in which the future variable is determined by the present variable but is independent of the way in which the present state arose from its predecessors. The code is a simple example of a markov chain that generates somewhat random text output from a given text input.
    2022-04-07 11:22:32下载
    积分:1
  • calculator,used for computing
    calculator,used for computing
    2022-03-29 18:06:45下载
    积分:1
  • 经典混沌系统Lorenz系统的Lyapunov指数计C程序
    经典混沌系统Lorenz系统的Lyapunov指数计算C程序-Classical chaotic systems Lorenz system Lyapunov index calculation procedure C
    2022-02-01 10:39:25下载
    积分:1
  • Using NLJ random search method to identify a method that the state of the nonlin...
    采用NLJ随机搜索的方法辨识一个以状态方法表示的非线性系统。选其初值 a1(0) =50 , a2(0) =100 , a3(0) =100 , a4(0) =50 , a5(0) =10 , 选范围为 r(1)(i)=0.5 a(0)(i) , 取数据长度 L =40, t =0.005 , 性能指标 J= 。迭代计算结果得 a 的估计值 1=17.6043243, 1=17.5977, 2=72.9573, 3=51.3014, 4=22.9889, 5=5.99965, J = 0.000000916 。-Using NLJ random search method to identify a method that the state of the nonlinear system. Election of its initial value a1 (0) = 50, a2 (0) = 100, a3 (0) = 100, a4 (0) = 50, a5 (0) = 10, choose the range of r (1) (i) = 0.5 a (0) (i), check data length L = 40, t = 0.005, performance index J =. Iterative calculation results have a estimated value of 1 = 17.6043243, 1 = 17.5977, 2 = 72.9573, 3 = 51.3014, 4 = 22.9889, 5 = 5.99965, J = 0.000000916.
    2022-02-01 23:07:23下载
    积分:1
  • Statistics module C++ Source can be used to calculate the statistics.
    统计模块的 C++源程序 ,可以用来计算统计数据. -Statistics module C++ Source can be used to calculate the statistics.
    2023-04-13 04:10:03下载
    积分:1
  • 从操作的教师,实现HDB3码为01码,以及美国..
    源于老师的作业,实现将01代码转化成HDB3码,另外还有用VHDL语言编的,不过我这没有-teachers from the operations, achieving 01 HDB3 code into the code, as well as using VHDL series, but I am not
    2022-02-06 02:22:43下载
    积分:1
  • 表格线打印C语言源程序
    表格线打印算法C语言源程序-form lines Print algorithm C language source
    2022-08-06 16:58:02下载
    积分:1
  • 696519资源总数
  • 104213会员总数
  • 20今日下载