Text Compare and Grouping Program using Dynamic Programming Algorithm

Auttanit Wongjak
{"title":"Text Compare and Grouping Program using Dynamic Programming Algorithm","authors":"Auttanit Wongjak","doi":"10.1109/RI2C51727.2021.9559779","DOIUrl":null,"url":null,"abstract":"Programming classes are now commonly found at both the high school and university levels. However, when learning this field, the copying program code problem is always a big issue. As a result, the author comes up with the idea of developing software that can compare the similarity of text as a group to determine the program code's similarity. A dynamic programming (DP) approach can solve the text comparison problem, which is also known as the Longest Common Subsequence (LCS) problem. To decrease the number of comparison characters, a grouping algorithm was introduced, and a token table was employed. The program can function as intended after the development is completed. Which can be used to compare and group file. With the grouping method presented, the number of comparisons was decreased. The number of the text to be compared was reduced by an average of 33.58 percent, making the program more efficient.","PeriodicalId":422981,"journal":{"name":"2021 Research, Invention, and Innovation Congress: Innovation Electricals and Electronics (RI2C)","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 Research, Invention, and Innovation Congress: Innovation Electricals and Electronics (RI2C)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RI2C51727.2021.9559779","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Programming classes are now commonly found at both the high school and university levels. However, when learning this field, the copying program code problem is always a big issue. As a result, the author comes up with the idea of developing software that can compare the similarity of text as a group to determine the program code's similarity. A dynamic programming (DP) approach can solve the text comparison problem, which is also known as the Longest Common Subsequence (LCS) problem. To decrease the number of comparison characters, a grouping algorithm was introduced, and a token table was employed. The program can function as intended after the development is completed. Which can be used to compare and group file. With the grouping method presented, the number of comparisons was decreased. The number of the text to be compared was reduced by an average of 33.58 percent, making the program more efficient.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于动态规划算法的文本比较与分组程序
编程课现在在高中和大学都很常见。然而,在学习这一领域时,复制程序代码的问题一直是一个大问题。因此,作者提出了开发一种软件,可以将文本的相似度作为一组进行比较,以确定程序代码的相似度。动态规划(DP)方法可以解决文本比较问题,也称为最长公共子序列问题。为了减少比较字符的数量,引入了分组算法,并采用了标记表。在开发完成后,程序可以按预期功能运行。可以用来对文件进行比较和分组。采用分组方法,减少了比较次数。要比较的文本数量平均减少了33.58%,使程序更加高效。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Mobile Warehouse Management and Transportation Planning System for Wheat Flour Design Guidelines of Passive Balancing Circuit for Li-Ion Battery for Bleeding Current Adjustment Using PWM Technique A Genetic Algorithm for Split Delivery Open Vehicle Routing Problem with Physical Workload Consideration Transfer of a scientific concept in the field of renewable energy with a creative group work Circularly Polarized Elliptical Patch Array Antennas for GPS
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1