2 个仓库
Engines capable of comparing any two sequences of tokens based on user-provided rules.
Distinct from Tokenizers: Candidates focus on security tokens [f10_mt3] or design tokens [f10_mt4], not sequence diffing.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Customizable Sequence Differs. Refine with filters or upvote what's useful.
jsdiff is a JavaScript text diffing library and comparison engine used to compute differences between strings or arrays. It identifies additions and removals between blocks of text and provides a system for generating and applying formatted Unix-style patches. The toolkit functions as a customizable token differ, allowing for the comparison of arbitrary token sequences using user-defined equality and tokenization rules. This enables the creation of specialized comparison tools for non-standard text or data formats. Comparison capabilities are available at the character, word, and line levels
Functions as a logic engine that compares two sequences of arbitrary tokens using user-defined rules.
这是一个 Python 模糊字符串匹配库,用于计算字符串相似度和编辑距离。它作为字符串距离算法、序列比对工具和近似字符串搜索引擎的集合,用于衡量文本相似度。 该库提供了广泛的指标来量化字符串接近度,包括 Levenshtein、Jaro-Winkler、Hamming 和 Damerau-Levenshtein 距离。它通过最长公共子序列计算、基于令牌的比较和加权评分来支持相似度分析,以考虑内容和词序的差异。 除了基本的距离指标外,该项目还涵盖了用于从集合中提取最佳匹配项和执行成对距离计算的搜索和索引功能。它包括用于序列差异分析的工具,这些工具生成编辑操作以将一个字符串转换为另一个字符串,以及用于字符串清洗和标准化的文本预处理工具。
Identifies the specific sequence of insertions, deletions, and substitutions required to transform one string into another.