support.levenshtein
包含实现编辑距离算法的函数。
whoosh.support.levenshtein.
relative
返回两个字符串之间的相对距离,范围为[0-1],其中1表示完全相等。
distance
返回Damerau Levenshtein编辑两个字符串之间的距离。
support.charset 模块
support.charset
util 模块
util