Multiple String Comparison in XSLT with tan:collate()

Joel Kalvesmaki
{"title":"Multiple String Comparison in XSLT with tan:collate()","authors":"Joel Kalvesmaki","doi":"10.4242/balisagevol27.kalvesmaki01","DOIUrl":null,"url":null,"abstract":"In this article I introduce tan:collate(), an XSLT function for comparing three or more strings. Collated multiple string comparison is a difficult problem that merits experimentation with alternative methods. tan:collate() approaches the task in three different ways. Two of those methods involve a sequence of pairwise comparisons, with each comparison grafted into a guide tree. The third method applies the staggered-sample approach of tan:diff() to multiple strings, to detect a common superskeleton, before attempting to refine results. This paper situates the problem of multiple string comparison in the context of textual criticism, proposes a general output format and test suite, and presents measured results for the quality and performance of tan:collate() against an example test suite. Released as part of an open-source function library, tan:collate() enables developers to incorporate robust text comparison directly into XSLT applications.","PeriodicalId":89326,"journal":{"name":"Balisage series on markup technologies","volume":"1 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Balisage series on markup technologies","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4242/balisagevol27.kalvesmaki01","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In this article I introduce tan:collate(), an XSLT function for comparing three or more strings. Collated multiple string comparison is a difficult problem that merits experimentation with alternative methods. tan:collate() approaches the task in three different ways. Two of those methods involve a sequence of pairwise comparisons, with each comparison grafted into a guide tree. The third method applies the staggered-sample approach of tan:diff() to multiple strings, to detect a common superskeleton, before attempting to refine results. This paper situates the problem of multiple string comparison in the context of textual criticism, proposes a general output format and test suite, and presents measured results for the quality and performance of tan:collate() against an example test suite. Released as part of an open-source function library, tan:collate() enables developers to incorporate robust text comparison directly into XSLT applications.
使用tan进行XSLT中的多字符串比较:collate()
在本文中,我将介绍tan:collate(),这是一个用于比较三个或多个字符串的XSLT函数。排序多字符串比较是一个困难的问题,值得尝试其他方法。Tan:collate()以三种不同的方式完成任务。其中两种方法涉及一系列成对比较,每个比较都嫁接到导树中。第三种方法将tan:diff()的交错样本方法应用于多个字符串,在尝试改进结果之前检测一个共同的超骨架。本文将多字符串比较问题置于文本批评的背景下,提出了一种通用的输出格式和测试套件,并针对示例测试套件给出了tan:collate()的质量和性能的测量结果。tan:collate()作为开源函数库的一部分发布,使开发人员能够将健壮的文本比较直接合并到XSLT应用程序中。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书