登录
首页 » java » java实现莱文斯坦算法

java实现莱文斯坦算法

于 2022-02-07 发布 文件大小:1.12 kB
0 60
下载积分: 2 下载次数: 1

代码说明:

java实现莱文斯坦算法,计算相似度.莱文斯坦距离(LD)用于衡量两个字符串之间的相似度。 以下我们称这两个字符串分别为 s (原字符串) 和 t (目标字符串)。莱文斯坦距离被定义为 将字符串 s 变换为字符串 t 所需的删除、插入、替换操作的次数 。

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

发表评论

0 个回复

  • jsp 的实例代码
    jsp 的实例代码-jsp code examples
    2022-05-30 08:46:38下载
    积分:1
  • oa_test
    该项目为一个OA系统的例子,采用jquery,struts2,spring,hibernate,供大家学习参考。(The project is an example of the OA system, using jquery struts2, spring, hibernate, for a reference.)
    2012-07-03 20:26:52下载
    积分:1
  • android联系人带字母检索源码
    android联系人带字母检索源码/** * 联系人列表适配器。 * * @author guolin */public class ContactAdapter extends ArrayAdapter { /** * 需要渲染的item布局文件 */ private int resource; /** * 字母表分组工具 */ private SectionIndexer mIndexer; public ContactAdapter(Context context, int textViewResourceId, List objects) { super(context, textViewResourceId, objects); resource = textViewResourceId; } @Override public View getView(int position, View convertView, ViewGroup parent) { Contact contact = getItem(position); LinearLayout layout = null; if (convertView == null) { layout = (LinearLayout) LayoutInflater.from(getContext()).inflate(resource, null); } else { layout = (LinearLayout) convertView; } TextView name = (TextView) layout.findViewById(R.id.name); LinearLayout sortKeyLayout = (LinearLayout) layout.findViewById(R.id.sort_key_layout); TextView sortKey = (TextView) layout.findViewById(R.id.sort_key); name.setText(contact.getName()); int section = mIndexer.getSectionForPosition(position); if (position == mIndexer.getPositionForSection(section)) { sortKey.setText(contact.getSortKey()); sortKeyLayout.setVisibility(View.VISIBLE); } else { sortKeyLayout.setVisibility(View.GONE); } return layout; } /** * 给当前适配器传入一个分组工具。 * * @param indexer */ public void setIndexer(SectionIndexer indexer) { mIndexer = indexer; }}
    2014-04-13下载
    积分:1
  • jsp网络编程~~~用于大家学习~~~ 希望大家 能资源共享
    jsp网络编程~~~用于大家学习~~~ 希望大家 能资源共享-jsp Network Programming ~ ~ ~ for everyone to learn ~ ~ ~ hope that we can share resources
    2022-07-16 02:54:17下载
    积分:1
  • 邮件过滤器
    java实现的 基于朴素贝叶斯的 垃圾邮件过滤器
    2022-01-28 02:36:48下载
    积分:1
  • cjcoHOSHcjco
    站长,不好意思... 我将我的信箱写错了... 写成:ddccbbaa@sina.cn了... 前面我传输的文件是:“qibaoshanplan.doc”这个文件,并且,是我的一篇论文底稿,我还想您提出了建议“增加创意文案的文件上载”的类型。 我的名字叫:褚江。 这篇文建,我又重新上传了一下... 我会为我的错误买单,马上我再传一篇论文,是我在《云计算》的课堂上书写的... 希望站长,能够将弟我,重新添加到PUDN的大家庭中。(Master, I am sorry ... I was wrong ... in my mailbox written: ddccbbaa@sina.cn up ... in front of my files transferred are: " qibaoshanplan.doc" the file, and it is my a thesis papers, I would like your recommendations " to increase creative copy of the file upload" type. My name is: Chu River. This CCA, I re-uploaded it ... I' ll pay for my mistake, I immediately re-transmission of a thesis, I was in the " cloud computing" classroom writing ... hope that the station can be The brother I re-added to PUDN the family.)
    2013-07-12 02:15:04下载
    积分:1
  • hashmapTest-master
    A test of java hash map
    2017-09-25 12:51:44下载
    积分:1
  • 8339006777StudentCourse
    新闻发布系统,基于J2EE架构。推荐使用MyEclipse+MySQL+apache开发(Press Release System, based on the J2EE architecture. Recommended MyEclipse+ MySQL+ Apache development.)
    2010-06-07 17:56:31下载
    积分:1
  • java-paike.rar
    基于java的自动排课系统设计与实现,开发文档。(paike )
    2020-12-25 17:39:04下载
    积分:1
  • 超市进销存系统 car-type-spider-master
    我这我自己开发的超市进销存系统,包含销售员的管理,商品的管理(I developed my own supermarket purchase, sale and storage system)
    2020-06-19 00:20:02下载
    积分:1
  • 696518资源总数
  • 105908会员总数
  • 30今日下载