CompareList
/ howToFindDifferences.nav.tutorials
教程

如何查找两个列表之间的差异

使用精确和 AI 驱动方法,识别任意两个列表之间不同之处和相同之处的实用指南。

查找差异的两种方法

精确匹配

免费

逐字符比较条目。只有完全相同的条目才会匹配(可选择不区分大小写)。快速且确定性高。

howToFindDifferences.methods.bestFor 邮箱、ID、产品代码、精确字符串

AI 模糊匹配

1 个积分

使用 Levenshtein 距离和基于令牌的相似度查找近似匹配。可以捕获拼写错误、词语重排和精确匹配遗漏的相似条目。

howToFindDifferences.methods.bestFor 姓名(“John Smith”与“Smith, John”)、地址、带拼写错误的关键词

理解结果

howToFindDifferences.terms.0.name

存在于列表 A 但在列表 B 中未找到的条目。

howToFindDifferences.terms.1.name

存在于列表 B 但在列表 A 中未找到的条目。

howToFindDifferences.terms.2.name

同时存在于列表 A 和列表 B 中的条目。

howToFindDifferences.terms.3.name

两个列表中所有唯一条目的合集。

howToFindDifferences.terms.4.name

存在于任一列表但不同时存在于两个列表的条目(仅在 A 中 + 仅在 B 中)。

实际示例

howToFindDifferences.example.listALabel

alice@gmail.com

bob@yahoo.com

charlie@hotmail.com

david@company.com

howToFindDifferences.example.listBLabel

bob@yahoo.com

charlie@hotmail.com

emma@outlook.com

frank@gmail.com

howToFindDifferences.example.onlyInA.title

alice@gmail.com, david@company.com

howToFindDifferences.example.onlyInA.note

howToFindDifferences.example.onlyInB.title

emma@outlook.com, frank@gmail.com

howToFindDifferences.example.onlyInB.note

howToFindDifferences.example.inBoth.title

bob@yahoo.com, charlie@hotmail.com

howToFindDifferences.example.inBoth.note

立即查找差异

粘贴您的列表即可获取即时结果——免费且隐私保护。

开始比较