Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我很难理解如何在 agrepl 函数中计算编辑距离。我正在尝试输出 agrepl 计算的两个字符串之间的距离。我使用了“adist”和“stringdist”函数,但它给出了插入/删除的总数等,而不是进入 agrepl 函数的加权距离。