我有两个语料库(以句子列表的形式);一个是“原始”版本,另一个是它的一个版本,有一些细微的变化(例如,扩展了缩写):
s1 = ['He's a real stupid', 'There's no need to worry', 'All right, my friends']
s2 = ['He is a real stupid', 'There is no need to worry', 'All right, my friends']
我想获得相应句子对的一些渲染,其中句子之间存在一些差异。有什么优雅的解决方案吗?